## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreDrawBits Parameter - flOptions

flOptions (ULONG) - input Specified treatment of eliminated lines and columns. Option flags:

BBO_OR Stretch and compress, as necessary, ORing any eliminated rows and columns. Used for White on Black.

BBO_AND Stretch and compress, as necessary, ANDing any eliminated rows and columns. Used for Black on White.

BBO_IGNORE Stretch and compress, as necessary, IGNORing any eliminated rows and columns. Used for color.

BBO_TARGWORLD The target rectangle is defined in world coordinates in the target PS. When this option is specified, the target rectangle is transformed to device coordinates. Where any shear or rotation has occurred , the target rectangle must be converted to an upright rectangle that bounds the transformed figure. This rectangle is then used as the target for the operation. No inversion of the image takes place.

BBO_COLORS The source color map is defined in terms of indexes into the destination color map instead of RGB values.

BBO_PAL_COLORS The color values in BITMAPINFOHEADER2 are not colors; they are indexes into the currently realized palette.

BBO_NO_COLOR_INFO No color information is associated with the source. The source bit map should be copied directly to the destination without translating the pels. This option must be supported if the device supports palette management.

BBO_DITHER Use an enhanced stretching algorithm when stretching a bit map.

BLTMODE_SRC_BITMAP hdcSrc is a bit map handle. The bit map must not be currently selected into a device context. If this flag is not set, hdcSrc is a DC handle.

BLTMODE_ATTRS_PRES If set, the pBattrs parameter is present. This option can be ORed with any of the options above.

Note: Flags 15-31 are not used by the system; they are reserved for use by the presentation driver.