microvg  2.1.0
microvg
Functions
LLVG_PATH_stub.c File Reference

MicroVG library low level API: implementation of path. More...

#include "microvg_configuration.h"
#include <LLVG_PATH_impl.h>
#include <LLVG_PATH_PAINTER_impl.h>

Go to the source code of this file.

Functions

jint LLVG_PATH_IMPL_initializePath (jbyte *jpath, jint length)
 
jint LLVG_PATH_IMPL_appendPathCommand1 (jbyte *jpath, jint length, jint cmd, jfloat x, jfloat y)
 
jint LLVG_PATH_IMPL_appendPathCommand2 (jbyte *jpath, jint length, jint cmd, jfloat x1, jfloat y1, jfloat x2, jfloat y2)
 
jint LLVG_PATH_IMPL_appendPathCommand3 (jbyte *jpath, jint length, jint cmd, jfloat x1, jfloat y1, jfloat x2, jfloat y2, jfloat x3, jfloat y3)
 
void LLVG_PATH_IMPL_reopenPath (jbyte *jpath)
 
jint LLVG_PATH_PAINTER_IMPL_drawPath (MICROUI_GraphicsContext *gc, jbyte *pathData, jint x, jint y, jfloat *matrix, jint fillRule, jint blend, jint color)
 
jint LLVG_PATH_PAINTER_IMPL_drawGradient (MICROUI_GraphicsContext *gc, jbyte *pathData, jint x, jint y, jfloat *matrix, jint fillRule, jint blend, jint *gradientData, jfloat *gradientMatrix, jint alpha)
 

Detailed Description

MicroVG library low level API: implementation of path.

This implementation uses a 32-bit "integer" value to store a path command and a 32-bit "float" value to store each command parameter.

The encoding can be overrided, see "[optional]: weak functions" in "microvg_path.h"

Author
MicroEJ Developer Team
Version
2.1.0

Definition in file LLVG_PATH_stub.c.