MIDIPoet - Composer - Drawing styles

Drawing styles are the different ways the visual elements (images and text) are drawn on the screen. These styles can be applied to the whole screen, using the screen drawing events, or to individual images, by modifying the image area's "style" attribute. Some of these styles can give different results when combined with changes in the screen's background colors. Please experiment.

The drawing styles are:

BLACKNESS Fills the drawing area with black color.

DSTINVERT Inverts the drawing area's colors.

MERGECOPY Combines the source (visual elements) and destination (drawing area) colors using the logical AND operator.

MERGEPAINT Combines the source (visual elements) and destination (drawing area) colors using the logical OR operator.

NOTSRCCOPY Inverts the original colors of the visual elements.

NOTSRCERASE Combines and inverts the source (visual elements) and destination (drawing area) colors using the logical OR operator.

SRCAND Combines the source (visual elements) and destination (drawing area) colors using the logical AND operator.

SRCCOPY Copies the visual elements to the drawing area without transforming them. This is the default value.

SRCERASE Combines the source colors (visual elements) and the inverted destination colors (drawing area) using the logical AND operator.

SRCINVERT Combines the source (visual elements) and destination (drawing area) colors using the logical XOR operator.

SRCPAINT Combines the source (visual elements) and destination (drawing area) colors using the logical OR operator.

WHITENESS Fills the drawing area with white color.


SRCCOPY (original)

MERGECOPY

MERGEPAINT

<--