6 #if !defined VG_DRAWING_H
26 #include <LLVG_PAINTER_impl.h>
28 #include "ui_drawing.h"
72 DRAWING_Status
VG_DRAWING_drawPath(MICROUI_GraphicsContext *gc, jbyte *path, jfloat *matrix, jint fillRule, jint blend,
90 jint alpha, jint blend, jint *gradient, jfloat *gradientMatrix);
111 jfloat size, jfloat *matrix, jint alpha, jint blend, jfloat letterSpacing);
131 jfloat size, jfloat *matrix, jint alpha, jint blend, jfloat letterSpacing,
132 jint *gradientData, jfloat *gradientMatrix);
152 jfloat size, jfloat *matrix, jint alpha, jint blend, jfloat letterSpacing,
153 jfloat radius, jint direction);
175 jint faceHandle, jfloat size, jfloat *matrix, jint alpha,
176 jint blend, jfloat letterSpacing, jfloat radius, jint direction,
177 jint *gradientData, jfloat *gradientMatrix);
192 DRAWING_Status
VG_DRAWING_drawImage(MICROUI_GraphicsContext *gc,
void *image, jfloat *matrix, jint alpha, jlong elapsed,
193 const float color_matrix[], jint *errno);
DRAWING_Status VG_DRAWING_drawStringOnCircleGradient(MICROUI_GraphicsContext *gc, jchar *text, jint length, jint faceHandle, jfloat size, jfloat *matrix, jint alpha, jint blend, jfloat letterSpacing, jfloat radius, jint direction, jint *gradientData, jfloat *gradientMatrix)
Draws a string along a circle, with a linear gradient.
void VG_DRAWING_get_image_size(const MICROVG_Image *image, float *width, float *height)
Gets the image size. The image structure format is VEE Port specific.
bool VG_DRAWING_image_is_closed(const MICROVG_Image *image)
Tells if the image is closed (closed just before calling the native function).
DRAWING_Status VG_DRAWING_drawString(MICROUI_GraphicsContext *gc, jchar *text, jint length, jint faceHandle, jfloat size, jfloat *matrix, jint alpha, jint blend, jfloat letterSpacing)
Draws a string with the color of the Graphics Context.
void VG_DRAWING_initialize(void)
Called when initializing MicroVG.
DRAWING_Status VG_DRAWING_drawImage(MICROUI_GraphicsContext *gc, void *image, jfloat *matrix, jint alpha, jlong elapsed, const float color_matrix[], jint *errno)
Draws an image with transformation and opacity. Optionally apply an animation and / or a color filter...
DRAWING_Status VG_DRAWING_drawPath(MICROUI_GraphicsContext *gc, jbyte *path, jfloat *matrix, jint fillRule, jint blend, jint color)
Draws a path filled with the specified color (not the one of the Graphics Context).
DRAWING_Status VG_DRAWING_drawStringOnCircle(MICROUI_GraphicsContext *gc, jchar *text, jint length, jint faceHandle, jfloat size, jfloat *matrix, jint alpha, jint blend, jfloat letterSpacing, jfloat radius, jint direction)
Draws a string along a circle, with the color of the Graphics Context.
DRAWING_Status VG_DRAWING_drawGradient(MICROUI_GraphicsContext *gc, jbyte *path, jfloat *matrix, jint fillRule, jint alpha, jint blend, jint *gradient, jfloat *gradientMatrix)
Draws a path filled with a linear gradient.
DRAWING_Status VG_DRAWING_drawStringGradient(MICROUI_GraphicsContext *gc, jchar *text, jint length, jint faceHandle, jfloat size, jfloat *matrix, jint alpha, jint blend, jfloat letterSpacing, jint *gradientData, jfloat *gradientMatrix)
Draws a string with a linear gradient.