GfxSelectHatchBrush
- select hatch style brush

Low-level graphics
(AFL 4.0)


SYNTAX GfxSelectHatchBrush( color, style )
RETURNS NOTHING
FUNCTION The function select hatch brush style for filled areas.

Supported hatch styles:

HS_HORIZONTAL 0 /* ----- */
HS_VERTICAL 1 /* ||||| */
HS_FDIAGONAL 2 /* \\ */
HS_BDIAGONAL 3 /* ///// */
HS_CROSS 4 /* +++++ */
HS_DIAGCROSS 5 /* xxxxx */

Hatch color is specified by color parameter, hatch background is specified by current background color see: GfxSetBkColor()

EXAMPLE GfxSelectPen( colorOrange, 4 );
GfxSetBkColor( colorLightGrey );
GfxSelectHatchBrush( colorBlue, Param("Hatch pattern", 5, 0, 5 ) );
GfxCircle(100, 100, 20 );
SEE ALSO GfxSetBkColor() function

References:

The GfxSelectHatchBrush function is used in the following formulas in AFL on-line library:

More information:

Updated on-line reference