![]() |
![]() |
![]() |
CCD Reference Manual | ![]() |
---|---|---|---|---|
void ccd_style_draw_gap (ccd_style_t const *self, cairo_t *cr, int32_t x, int32_t y, int32_t width, int32_t height, GtkPositionType gap_side, int32_t gap_x, int32_t gap_width); void ccd_style_draw_polygon (ccd_style_t const *self, cairo_t *cr, GdkPoint *points, int32_t n_points, bool fill);
void ccd_style_draw_gap (ccd_style_t const *self, cairo_t *cr, int32_t x, int32_t y, int32_t width, int32_t height, GtkPositionType gap_side, int32_t gap_x, int32_t gap_width);
Draw a rectangle with gap using this style instance.
|
a ccd_style_t. |
|
the target to draw onto. |
|
the starting x coordinate. |
|
the starting y coordinate. |
|
width of the outline to draw. |
|
height of the outline to draw. |
|
side in which to leave the gap. |
|
|
|
width of the gap. |
void ccd_style_draw_polygon (ccd_style_t const *self, cairo_t *cr, GdkPoint *points, int32_t n_points, bool fill);
Draw a rectangle with gap using this style instance.
|
a ccd_style_t. |
|
the target to draw onto. |
|
an array of GdkPoints. |
|
length of points .
|
|
true if the polygon should be filled.
|