|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Set the pen width
#include <gf/gf.h> unsigned gf_context_set_penwidth( gf_context_t context, unsigned w );
- The draw context to set the pen width for.
- The width of the line, in pixels. Set to 0 to reset the pen width to the default rendering of thin primitives.
This function replaces the pixel width of lines for draw primitives such as lines and points.
The previous pen width.
QNX Graphics Framework
Hardware Capabilities appendix