Styles of merging text or lines with background (sys.DrawTextMode)ΒΆ

sys.DrawTextMode,,i4

Combining text or line graphics with background

This variable defines the way in which text or a line graphic produced by a Sculptor draw function is combined with the existing background. The two possible values are defined in $SCULPTOR/include/draw.h:

TRANSPARENT

The line graphic or text is drawn on top of the existing background, ignoring the background colour and style defined for the brush. For example, if a rectangle is drawn, the inside retains the existing background.

OPAQUE

The background colour and style defined for the current brush are used. For example, if a rectangle is drawn the inside is filled according to the current brush. This is the default value.

The SetBrushColor() and SetBrushType() functions are used to set the brush colours and style.


RELATED TOPICS

Draw operations