DrawFuncs
Object Hierarchy:
Description:
[ CCode ( cname = "hb_draw_funcs_t" , copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , lower_case_cprefix = "hb_gobject_draw_funcs_" , type_id = "hb_gobject_draw_funcs_get_type ()" ) ]
[ Compact ]
[ GIR ( name = "draw_funcs_t" ) ]
[ Version ( since = "4.0.0" ) ]
public class DrawFuncs
Content:
Static methods:
Methods:
- public void close_path (void* draw_data, DrawState st)
Perform a "close-path" draw operation.
- public void cubic_to (void* draw_data, DrawState st, float control1_x, float control1_y, float control2_x, float control2_y, float to_x, float to_y)
Perform a "cubic-to" draw operation.
- public Bool is_immutable ()
Checks whether dfuncs is immutable.
- public void line_to (void* draw_data, DrawState st, float to_x, float to_y)
Perform a "line-to" draw operation.
- public void make_immutable ()
Makes dfuncs object immutable.
- public void move_to (void* draw_data, DrawState st, float to_x, float to_y)
Perform a "move-to" draw operation.
- public void quadratic_to (void* draw_data, DrawState st, float control_x, float control_y, float to_x, float to_y)
Perform a "quadratic-to" draw operation.
- public void set_close_path_func (owned DrawClosePathFunc func)
Sets close-path callback to the draw functions object.
- public void set_cubic_to_func (owned DrawCubicToFunc func)
Sets cubic-to callback to the draw functions object.
- public void set_line_to_func (owned DrawLineToFunc func)
Sets line-to callback to the draw functions object.
- public void set_move_to_func (owned DrawMoveToFunc func)
Sets move-to callback to the draw functions object.
- public void set_quadratic_to_func (owned DrawQuadraticToFunc func)
Sets quadratic-to callback to the draw functions object.