gf_context_set_penwidth
![]() |
![]() |
![]() |
![]() |
gf_context_set_penwidth()
Set the pen width
Synopsis:
#include <gf/gf.h>
unsigned gf_context_set_penwidth( gf_context_t context,
unsigned w );
Arguments:
- 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.
Library:
gf
Description:
This function replaces the pixel width of lines for draw primitives such as lines and points.
![]() |
|
Returns:
The previous pen width.
Classification:
QNX Graphics Framework
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
Hardware Capabilities appendix
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)

