A grid pattern
PtWidget → PtBasic → PtGraphic → PtGrid
For more information, see the diagram of the widget hierarchy.
<photon/PtGrid.h>
PtGrid draws a grid pattern via PgDrawGrid() (see the Photon Library Reference).
Resource | C type | Pt type | Default |
---|---|---|---|
Pt_ARG_GRID_VERTICAL | short | Scalar | 4 |
Pt_ARG_GRID_HORIZONTAL | short | Scalar | 4 |
C type | Pt type | Default |
---|---|---|
short | Scalar | 4 |
The number of horizontal lines in the grid.
C type | Pt type | Default |
---|---|---|
short | Scalar | 4 |
The number of vertical lines in the grid.
If the widget modifies an inherited resource, the “Default override” column indicates the new value. This modification affects any subclasses of the widget.