microui  1.0.3
microui
Macros | Functions
LLDW_PAINTER_impl.c File Reference

This file implements all "Drawing" (MicroUI extended library) drawing native functions. More...

#include "LLDW_PAINTER_impl.h"
#include "dw_drawing.h"
#include "LLUI_DISPLAY.h"

Go to the source code of this file.

Macros

#define LOG_DRAW_START(fn)   LLUI_DISPLAY_logDrawingStart(CONCAT_DEFINES(LOG_DRAW_, fn))
 
#define LOG_DRAW_END(fn)   LLUI_DISPLAY_logDrawingEnd(CONCAT_DEFINES(LOG_DRAW_, fn))
 
#define DRAWING_PAINTER_NATIVE_NAME(fn)   (CONCAT_DEFINES(DRAWING_PAINTER_NATIVE_PREFIX, fn))
 
#define LOG_DRAW_drawThickFadedPoint   100
 
#define LOG_DRAW_drawThickFadedLine   101
 
#define LOG_DRAW_drawThickFadedCircle   102
 
#define LOG_DRAW_drawThickFadedCircleArc   103
 
#define LOG_DRAW_drawThickFadedEllipse   104
 
#define LOG_DRAW_drawThickLine   105
 
#define LOG_DRAW_drawThickCircle   106
 
#define LOG_DRAW_drawThickEllipse   107
 
#define LOG_DRAW_drawThickCircleArc   108
 
#define LOG_DRAW_drawFlippedImage   200
 
#define LOG_DRAW_drawRotatedImageNearestNeighbor   201
 
#define LOG_DRAW_drawRotatedImageBilinear   202
 
#define LOG_DRAW_drawScaledImageNearestNeighbor   203
 
#define LOG_DRAW_drawScaledImageBilinear   204
 

Functions

void DRAWING_PAINTER_NATIVE (drawThickFadedPoint, MICROUI_GraphicsContext *gc, jint x, jint y, jint thickness, jint fade)
 
void DRAWING_PAINTER_NATIVE (drawThickFadedLine, MICROUI_GraphicsContext *gc, jint startX, jint startY, jint endX, jint endY, jint thickness, jint fade, DRAWING_Cap startCap, DRAWING_Cap endCap)
 
void DRAWING_PAINTER_NATIVE (drawThickFadedCircle, MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jint thickness, jint fade)
 
void DRAWING_PAINTER_NATIVE (drawThickFadedCircleArc, MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jfloat startAngle, jfloat arcAngle, jint thickness, jint fade, DRAWING_Cap start, DRAWING_Cap end)
 
void DRAWING_PAINTER_NATIVE (drawThickFadedEllipse, MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height, jint thickness, jint fade)
 
void DRAWING_PAINTER_NATIVE (drawThickLine, MICROUI_GraphicsContext *gc, jint startX, jint startY, jint endX, jint endY, jint thickness)
 
void DRAWING_PAINTER_NATIVE (drawThickCircle, MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jint thickness)
 
void DRAWING_PAINTER_NATIVE (drawThickEllipse, MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height, jint thickness)
 
void DRAWING_PAINTER_NATIVE (drawThickCircleArc, MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jfloat startAngle, jfloat arcAngle, jint thickness)
 
void DRAWING_PAINTER_NATIVE (drawFlippedImage, MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint regionX, jint regionY, jint width, jint height, jint x, jint y, DRAWING_Flip transformation, jint alpha)
 
void DRAWING_PAINTER_NATIVE (drawRotatedImageNearestNeighbor, MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint x, jint y, jint rotationX, jint rotationY, jfloat angle, jint alpha)
 
void DRAWING_PAINTER_NATIVE (drawRotatedImageBilinear, MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint x, jint y, jint rotationX, jint rotationY, jfloat angle, jint alpha)
 
void DRAWING_PAINTER_NATIVE (drawScaledImageNearestNeighbor, MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint x, jint y, jfloat factorX, jfloat factorY, jint alpha)
 
void DRAWING_PAINTER_NATIVE (drawScaledImageBilinear, MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint x, jint y, jfloat factorX, jfloat factorY, jint alpha)
 

Detailed Description

This file implements all "Drawing" (MicroUI extended library) drawing native functions.

See also
LLGRAPHICS_EXT_impl.h file comment
Author
MicroEJ Developer Team
Version
1.0.3
Date
8 December 2020

Definition in file LLDW_PAINTER_impl.c.