Picasso API
2.2
|
Functions | |
PEXPORT void PICAPI | ps_clip (ps_context *ctx) |
Clipping the current path, using the current fill rule. After called, the current path will be cleared from the context. | |
PEXPORT void PICAPI | ps_clip_path (ps_context *ctx, const ps_path *path, ps_fill_rule rule) |
Clipping specified path, using the given fill rule. | |
PEXPORT void PICAPI | ps_clip_rect (ps_context *ctx, const ps_rect *rect) |
Clipping specified rectangle. | |
PEXPORT void PICAPI | ps_clip_device_rect (ps_context *ctx, const ps_rect *rect) |
The fast way to clipping specified rectangle, the clip rect can not be rotated by world matrix. (Deprecated) | |
PEXPORT void PICAPI | ps_clip_rects (ps_context *ctx, const ps_rect *rects, unsigned int num_rects) |
Clipping specified area defined by an array of rectangles. | |
PEXPORT void PICAPI | ps_reset_clip (ps_context *ctx) |
Clear the clipping area from the context. |
void ps_clip | ( | ps_context * | ctx | ) |
Clipping the current path, using the current fill rule. After called, the current path will be cleared from the context.
ctx | Pointer to an existing context object. |
void ps_clip_device_rect | ( | ps_context * | ctx, |
const ps_rect * | rect | ||
) |
The fast way to clipping specified rectangle, the clip rect can not be rotated by world matrix. (Deprecated)
ctx | Pointer to an existing context object. |
rect | The rectangle which will be clipped. |
void ps_clip_path | ( | ps_context * | ctx, |
const ps_path * | path, | ||
ps_fill_rule | rule | ||
) |
Clipping specified path, using the given fill rule.
ctx | Pointer to an existing context object. |
path | The path which will be clipped. |
rule | The rule of the path. |
void ps_clip_rect | ( | ps_context * | ctx, |
const ps_rect * | rect | ||
) |
Clipping specified rectangle.
ctx | Pointer to an existing context object. |
rect | The rectangle which will be clipped. |
void ps_clip_rects | ( | ps_context * | ctx, |
const ps_rect * | rects, | ||
unsigned int | num_rects | ||
) |
Clipping specified area defined by an array of rectangles.
ctx | Pointer to an existing context object. |
rects | The array of rectangles which will be clipped. |
num_rects | The number of array entries. |
void ps_reset_clip | ( | ps_context * | ctx | ) |
Clear the clipping area from the context.
ctx | Pointer to an existing context object. |