Home |All Classes |Grouped Classes |Index |Search

Class CL_Pen

Pen description class. More...

Derived from:

None

Derived by:

None

Group:

Display (Display)

#include <ClanLib/display.h>

Class Members:

CL_Pen

Constructs a pen description.

get_point_size

Returns the point size.

get_max_point_size

Returns the maximum point size.

get_min_point_size

Returns the minimum point size.

get_point_fade_treshold_size

Returns the treshold size for alpha fading to kick in (Requires multisampling to be enabled.).

get_point_distance_attenuation

Get the a, b and c function coefficients used in point distance attenuation calculations.

is_point_antialiased

Return true if antialiasing of points is enabled.

get_line_width

get_line_stipple_pattern

Returns the line stipple pattern.

get_line_stipple_repeat_count

Returns the line stipple repeat count.

is_line_stippled

Returns true if line stippling is enabled.

is_line_antialiased

Returns true if line antialiasing is enabled.

is_using_point_sprites

Returns true if points are being drawn as texture point sprites.

is_using_vertex_program_point_sizes

Enables if points sizes is set by the vertex shader.

get_point_sprite_origin

Returns the origin of texture point sprites.

set_point_size

The default value is 1.0.

set_max_point_size

Point size is clamped to the min and max values.

set_min_point_size

Point size is clamped to the min and max values.

set_point_fade_treshold_size

Alpha fade point once minimum size treshold reached. Requires multisampling to be enabled.

set_point_distance_attenuation

Set the a, b and c function coefficients used in point distance attenuation calculations.

enable_point_antialiasing

Setting to true enables point antialiasing.

set_line_width

Set the number of times each bit in the stipple pattern is used.

set_line_stipple_pattern

Set the line stipple pattern.

set_line_stipple_repeat_count

Set the number of times each bit in the stipple pattern is used.

enable_line_stipple

Setting to true enables line Stippling.

enable_line_antialiasing

Setting to true enables line antialiasing.

enable_point_sprite

Enables if points are being drawn as texture point sprites.

enable_vertex_program_point_size

Enables if points sizes is set by the vertex shader.

set_point_sprite_origin

Sets the origin of texture point sprites.