Picasso API 2.5
|
Typedefs | |
typedef enum _ps_composite | ps_composite |
Compositing operations for graphics context. | |
typedef enum _ps_filter | ps_filter |
Graphics quality for rendering an image. | |
typedef enum _ps_fill_rule | ps_fill_rule |
Fill rules for graphics. |
Functions | |
PEXPORT ps_composite PICAPI | ps_set_composite_operator (ps_context *ctx, ps_composite composite) |
Set composites opertaions for graphics context. | |
PEXPORT ps_filter PICAPI | ps_set_filter (ps_context *ctx, ps_filter filter) |
Set interpolation filter for graphic context. | |
PEXPORT ps_fill_rule PICAPI | ps_set_fill_rule (ps_context *ctx, ps_fill_rule rule) |
Set fill rule for graphic context. | |
PEXPORT float PICAPI | ps_set_alpha (ps_context *ctx, float alpha) |
Set the opacity level for objects drawn in graphic context. | |
PEXPORT float PICAPI | ps_set_gamma (ps_context *ctx, float gamma) |
Set the gamma value for the graphic context. | |
PEXPORT void PICAPI | ps_set_antialias (ps_context *ctx, ps_bool antialias) |
Set whether the Anti-aliasing should be turn on. | |
PEXPORT float PICAPI | ps_set_blur (ps_context *ctx, float blur) |
Set the blur level for the graphic context. |
enum _ps_composite |
Compositing operations for graphics context.
enum _ps_fill_rule |
enum _ps_filter |
Graphics quality for rendering an image.
PEXPORT float PICAPI ps_set_alpha | ( | ps_context * | ctx, |
float | alpha ) |
Set the opacity level for objects drawn in graphic context.
ctx | Pointer to an existing context object. |
alpha | A value that specifies the opacity level from transparent to opaque(0 ~ 1). Default level is opaque (1). |
PEXPORT void PICAPI ps_set_antialias | ( | ps_context * | ctx, |
ps_bool | antialias ) |
Set whether the Anti-aliasing should be turn on.
ctx | Pointer to an existing context object. |
antialias | Boolean value whether the anti-aliasing is turn on. (True default) |
PEXPORT float PICAPI ps_set_blur | ( | ps_context * | ctx, |
float | blur ) |
Set the blur level for the graphic context.
ctx | Pointer to an existing context object. |
blur | A value that specifies the blur level (0 ~ 1). Default value is none blur (0). |
PEXPORT ps_composite PICAPI ps_set_composite_operator | ( | ps_context * | ctx, |
ps_composite | composite ) |
Set composites opertaions for graphics context.
ctx | Pointer to an existing context object. |
composite | The Composite operation to be set. |
PEXPORT ps_fill_rule PICAPI ps_set_fill_rule | ( | ps_context * | ctx, |
ps_fill_rule | rule ) |
Set fill rule for graphic context.
ctx | Pointer to an existing context object. |
rule | The fill rule to be set. |
PEXPORT ps_filter PICAPI ps_set_filter | ( | ps_context * | ctx, |
ps_filter | filter ) |
Set interpolation filter for graphic context.
ctx | Pointer to an existing context object. |
filter | The interpolation filter to be set. |
PEXPORT float PICAPI ps_set_gamma | ( | ps_context * | ctx, |
float | gamma ) |
Set the gamma value for the graphic context.
ctx | Pointer to an existing context object. |
gamma | A value that specifies the gamma (0 ~ 3). Default value is 1. |