formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Graphics

fzrt_source_mode_enum

Description

Source transfer modes. Constants to set the text and copybits transfer modes

enum fzrt_source_mode_enum {

FZRT_SRCCOPY,

FZRT_SRCOR,

FZRT_SRCXOR,

FZRT_SRCBIC,

FZRT_NOTSRCCOPY,

FZRT_NOTSRCOR,

FZRT_NOTSRCXOR,

FZRT_NOTSRCBIC,

FZRT_GRAYISHTEXTOR };

Members

FZRT_SRCCOPY

For basic graphics ports, force the destination pixel black where the source pixel is black; where the source pixel is white, force the destination pixel white. For color graphics ports, determines how close the color of the source pixel is to black, and assigns this relative amount of foreground color to the destination pixel. Determines how close the color of the source pixel is to white, and assigns this relative amount of background color to the destination pixel.

FZRT_SRCOR

For basic graphics ports, forces the destination pixel black if the source pixel is black; where the source pixel is white, leaves the destination pixel unaltered. For color graphics ports, determines how close the color of the source pixel is to black, and assigns this relative amount of foreground color to the destination pixel.

FZRT_SRCXOR

For basic and color graphics ports, inverts destination pixel where the source pixel is black. For a basic graphics port, where the source pixel is white, leaves the destination pixel unaltered. For a color graphics port, for a colored destination pixel, uses the complement of its color if the pixel is direct, or inverts its index if the pixel is indexed.

FZRT_SRCBIC

For a basic graphics port, forces destination pixel white where source pixel is black; where source pixel is white, leaves the destination pixel unaltered. For a color graphics port, determines how close the color of the source pixel is to black, and assigns this relative amount of background color to the destination pixel.

FZRT_NOTSRCCOPY

For a basic graphics port, forces the destination pixel white where the source pixel is black; where the source pixel is white, forces the destination pixel black. For a color graphics port, determines how close the color of the source pixel is to black, and assigns this relative amount of background color to the destination pixel. Determines how close the color of the source pixel is to white, and assigns this relative amount of foreground color to the destination pixel.

FZRT_NOTSRCOR

For a basic graphics port, leaves the destination pixel unaltered where the source pixel is black; where the source pixel is white, forces the destination pixel black. For a color graphics port, determines how close the color of the source pixel is to white, and assigns this relative amount of foreground color to the destination pixel.

FZRT_NOTSRCXOR

For basic and color graphics ports, where the source pixel is white, inverts the destination pixel. For a basic graphics port, where the source pixel is black, leaves the destination pixel unaltered. For a color graphics port, for a colored destination pixel, uses the complement of its color if the pixel is direct, or inverts its index if the pixel is indexed.

FZRT_NOTSRCBIC

For a basic graphics port, where the source pixel is black, leaves the destination pixel unaltered; where the source pixel is white, forces the destination pixel white. For a color graphics port, determines how close the color of the source pixel is to white, and assigns this relative amount of background color to the destination pixel.

FZRT_GRAYISHTEXTOR

Text drawn with the pen is drawn in a dimmed state

Availability

5.0.0.0

See Also

fzrt_text_mode,

Defined in

fzrt_api_type.h