Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_context_set_capstyle.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_context_set_capstyle.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_context_set_capstyle.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_context_set_capstyle.html on line 8

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()


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/gf/dev_guide/api/gf_context_set_capstyle.html on line 121

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/gf/dev_guide/api/gf_context_set_capstyle.html on line 121