A Bézier curve
PtWidget → PtBasic → PtGraphic → PtBezier
For more information, see the diagram of the widget hierarchy.
<photon/PtBezier.h>
The PtBezier class draws a Bézier curve via PgDrawBezier().
The Pt_ARG_POINTS resource specifies the points in the Bézier curve. These points are relative to the widget's Pt_ARG_ORIGIN. For more information, see PtGraphic.
Resource | C type | Pt type | Default |
---|---|---|---|
Pt_ARG_BEZIER_FLAGS | unsigned short | Flag | 0 |
C type | Pt type | Default |
---|---|---|
unsigned short | Flag | 0 |
Flags that affect the appearance of the curve; any combination of:
If the widget modifies an inherited resource, the “Default override” column indicates the new value. This modification affects any subclasses of the widget.