Set the pen width
#include <gf/gf.h>
unsigned gf_context_set_penwidth( gf_context_t context,
                                  unsigned  w );
- context
  
 
- The draw context to set the pen width for.
  
 
- w
  
 
- The width of the line, in pixels.  Set to 0 to reset the pen width to the default rendering of thin primitives.
 
gf
This function replaces the pixel width of lines for draw primitives such as lines and points.
  | 
- Currently pen width applies only to polylines on hardware that has accelerated thick line support.
    
 
- The maximum pen width is determined by the hardware.  No drawing occurs if the pen width is set to a value that exceeds the maximum.  See the Hardware Capabilities appendix for your hardware target's limitations.
 
  | 
 
The previous pen width.
QNX Graphics Framework
| Safety: |  | 
| Interrupt handler | 
    No | 
| Signal handler | 
    No | 
| Thread | 
    Yes | 
gf_draw_polyline()
Hardware Capabilities appendix