Graphisoft®

GX ModuleVersion: 16

GXInitDefaultPattern

Initializes a pattern to a predefined one.

    void GXInitDefaultPattern (
      GSPattern*      pat,
      unsigned short  transpar
    );

Parameters

pat
Pattern to be initialized.
transpar
Identifier of a pre-defined pattern.
0
Solid fill (100%).
1
75% fill with slanted lines.
2
50% fill with slanted lines.
3
25% fill with slanted lines.
4
Empty fill (0%).
5
Very fancy fill. Used for dashed lines on Macintosh.
6
25% fill, with even alignment. Gives lighter appearance as type 3.
7
25% fill with horizontal lines.
8
25% fill with vertical lines.
9
75% fill with horizontal lines.
10
75% fill with vertical lines.
11
62,5% fill with curved lines.

Remarks

If you don't want to use patterns, initialize your pattern to solid.

Requirements

Version:
GX 10 or later
Header:
Graphics2D.h
Import Library:
GXImp.lib
Module:
GX.dll [WIN], GX.framework [MAC]

See Also

Graphics functions