Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

gf_context_set_capstyle()

Set the thick line cap style

Synopsis:

#include <gf/gf.h>

void gf_context_set_capstyle( gf_context_t context,
                              int cap_style );

Arguments:

context
The draw context to set the cap style for.
cap_style
The cap style for thick lines. Can be one of:

Library:

gf

Description:

This function replaces the line cap style for the specified draw context. The cap style determines how the caps at the end of polylines are rendered. This figure illustrates the cap styles:


Line cap styles


Line Cap Styles

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_context_set_linejoin()