debian man page for dtk_create_cross

Query: dtk_create_cross

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

DTK_CREATE_CROSS(3)						Draw Toolkit manual					       DTK_CREATE_CROSS(3)

NAME
dtk_create_cross - Create and modify cross shape
SYNOPSIS
#include <drawtk.h> dtk_hshape dtk_create_cross(dtk_hshape shp, float cx, float cy, float width, const float *color);
DESCRIPTION
dtk_create_cross() creates a cross whose centered is located at (cx,cy) with a length of width. shp and color have the same usage and meaning as for other shape creation function: * shp can be used to modify a previously created shape. If it is non-null, the handle will be used to modify the shape referenced by shp: no new shape is created and the returned value is ensured to be shp in case of success, NULL otherwise. If shp is NULL, the function will attempt to create a new shape. * color should point to a 4 float array containing a normalized RGBA value (i.e. each component is between 0.0 and 1.0).
RETURN VALUE
In case of success these functions return the handle to the newly created or modified shape. If the shp argument is non-null, the handle returned is the same value. In case of error, NULL is returned.
SEE ALSO
dtk_destroy_shape(3)
EPFL
2011 DTK_CREATE_CROSS(3)
Related Man Pages
dtk_create_arrow(3) - debian
dtk_create_circle_str(3) - debian
dtk_create_complex_shape(3) - debian
dtk_create_shape(3) - debian
dtk_move_shape(3) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
How can I do this in VI editor?
Introduction
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections