# IShRasterLayerUtilities.h File Reference

## Classes
struct | IShRasterLayerUtilities
## Enumerations
enum | EResizeMethod { eResizeMethodSample1, eResizeMethodSample4, eResizeMethodLinear, eResizeMethodBicubic }
enum | EResizedLayerFill { eResizedLayerFillSingle, eResizedLayerFillDisplayGray, eResizedLayerFillExtendBlack, eResizedLayerFillExtendWhite }
## Functions
| MCDEFINE_GUID_H (IID_IShRasterLayerUtilities)

## Enumeration Type Documentation

enum EResizedLayerFill

Enumerator:

  eResizedLayerFillSingle | single channel, not for display
  eResizedLayerFillDisplayGray | single channel, converted into R, G and B
  eResizedLayerFillExtendBlack | displays the R, G or B channel as is and fill others with black
  eResizedLayerFillExtendWhite | or white

enum EResizeMethod

methods for layer resizing (faster to better order)

Enumerator:

  eResizeMethodSample1 | one pixel dst = one pixel src
  eResizeMethodSample4 | one pixel dst = sum(four pixels src) / 4
  eResizeMethodLinear | one pixel dst = average color on a real rect in src
  eResizeMethodBicubic | bicubical interpolation

## Function Documentation

MCDEFINE_GUID_H | ( | IID_IShRasterLayerUtilities |  | ) |