|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
For more information, see the diagram of the widget hierarchy.
A PtRect widget draws a single rectangle whose bounding box is defined by two points. To set these points, use the Pt_ARG_POINTS resource. These points are relative to the widget's Pt_ARG_ORIGIN. For more information, see PtGraphic.
The rectangle can have square or rounded corners. For rounded corners, specify a radius in pixels for the curve at the corners by using the Pt_ARG_RECT_ROUNDNESS resource.
|Resource||C Type||Pt Type||Default|
|C type||Pt type||Default|
Defines the number of pixels used for rounding the corners of the rectangle.
If the widget modifies an inherited resource, the “Default override” column indicates the new value. This modification affects any subclasses of the widget.