22 #include <LLUI_DISPLAY.h>
25 #include "ui_font_drawing.h"
31 static inline DRAWING_Status not_implemented(MICROUI_GraphicsContext *gc) {
32 LLUI_DISPLAY_reportError(gc, DRAWING_LOG_NOT_IMPLEMENTED);
45 return not_implemented(gc);
55 return not_implemented(gc);
64 return not_implemented(gc);
73 return not_implemented(gc);
83 return not_implemented(gc);
93 return not_implemented(gc);
98 jint height, jint cornerEllipseWidth, jint cornerEllipseHeight) {
104 (void)cornerEllipseWidth;
105 (void)cornerEllipseHeight;
106 return not_implemented(gc);
111 jint height, jint cornerEllipseWidth, jint cornerEllipseHeight) {
117 (void)cornerEllipseWidth;
118 (void)cornerEllipseHeight;
119 return not_implemented(gc);
124 jfloat startAngle, jfloat arcAngle) {
131 return not_implemented(gc);
136 jfloat startAngle, jfloat arcAngle) {
144 return not_implemented(gc);
149 jfloat startAngle, jfloat arcAngle) {
156 return not_implemented(gc);
161 jfloat startAngle, jfloat arcAngle) {
169 return not_implemented(gc);
179 return not_implemented(gc);
189 return not_implemented(gc);
198 return not_implemented(gc);
207 return not_implemented(gc);
219 return not_implemented(gc);
232 MICROUI_RenderableString *renderableString) {
233 (void)renderableString;
234 return UI_FONT_DRAWING_stringWidth(chars, length, font);
239 MICROUI_Font *font, jint width,
240 MICROUI_RenderableString *renderableString, jint x, jint y) {
242 (void)renderableString;
243 return UI_FONT_DRAWING_drawString(gc, chars, length, font, x, y);
248 jint width, jint height, jint x, jint y, jint alpha) {
258 return not_implemented(gc);
263 jint width, jint height, jint x, jint y) {
272 return not_implemented(gc);
277 jint height, jint x, jint y, jint alpha) {
286 return not_implemented(gc);
297 return not_implemented(gc);
302 jint endY, jint thickness, jint fade, DRAWING_Cap startCap,
303 DRAWING_Cap endCap) {
313 return not_implemented(gc);
318 jint thickness, jint fade) {
325 return not_implemented(gc);
330 jfloat startAngle, jfloat arcAngle, jint thickness, jint fade,
331 DRAWING_Cap start, DRAWING_Cap end) {
342 return not_implemented(gc);
347 jint height, jint thickness, jint fade) {
355 return not_implemented(gc);
360 jint endY, jint thickness) {
367 return not_implemented(gc);
378 return not_implemented(gc);
390 return not_implemented(gc);
395 jfloat startAngle, jfloat arcAngle, jint thickness) {
403 return not_implemented(gc);
408 jint regionY, jint width, jint height, jint x, jint y,
409 DRAWING_Flip transformation, jint alpha) {
418 (void)transformation;
420 return not_implemented(gc);
425 jint y, jint rotationX, jint rotationY, jfloat angle,
435 return not_implemented(gc);
440 jint rotationX, jint rotationY, jfloat angle, jint alpha) {
449 return not_implemented(gc);
454 jint y, jfloat factorX, jfloat factorY, jint alpha) {
462 return not_implemented(gc);
467 jfloat factorX, jfloat factorY, jint alpha) {
475 return not_implemented(gc);
480 MICROUI_Font *font, jint x, jint y, jfloat xRatio,
490 return not_implemented(gc);
495 jint length, MICROUI_Font *font, jint width,
496 MICROUI_RenderableString *renderableString, jint x,
497 jint y, jfloat xRatio, jfloat yRatio) {
499 (void)renderableString;
500 return UI_FONT_DRAWING_drawScaledStringBilinear(gc, chars, length, font, x, y, xRatio, yRatio);
505 jint x, jint y, jint xRotation, jint yRotation,
506 jfloat angle, jint alpha) {
516 return not_implemented(gc);
521 MICROUI_Font *font, jint x, jint y, jint xRotation,
522 jint yRotation, jfloat angle, jint alpha) {
532 return not_implemented(gc);
Implementation of all drawing functions of ui_drawing.h (MicroUI and Drawing libraries)....
DRAWING_Status UI_DRAWING_STUB_drawRenderableString(MICROUI_GraphicsContext *gc, jchar *chars, jint length, MICROUI_Font *font, jint width, MICROUI_RenderableString *renderableString, jint x, jint y)
Stub implementation of drawRenderableString. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickCircle(MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jint thickness)
Stubbed implementation of drawThickCircle. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawScaledImageBilinear(MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint x, jint y, jfloat factorX, jfloat factorY, jint alpha)
Stubbed implementation of drawScaledImageBilinear. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawEllipseArc(MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height, jfloat startAngle, jfloat arcAngle)
Stubbed implementation of drawEllipseArc. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawFlippedImage(MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint regionX, jint regionY, jint width, jint height, jint x, jint y, DRAWING_Flip transformation, jint alpha)
Stubbed implementation of drawFlippedImage. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickLine(MICROUI_GraphicsContext *gc, jint startX, jint startY, jint endX, jint endY, jint thickness)
Stubbed implementation of drawThickLine. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_writePixel(MICROUI_GraphicsContext *gc, jint x, jint y)
Stubbed implementation of writePixel. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_fillEllipse(MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height)
Stubbed implementation of fillEllipse. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawScaledStringBilinear(MICROUI_GraphicsContext *gc, jchar *chars, jint length, MICROUI_Font *font, jint x, jint y, jfloat xRatio, jfloat yRatio)
Stubbed implementation of drawScaledStringBilinear. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawCircleArc(MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jfloat startAngle, jfloat arcAngle)
Stubbed implementation of drawCircleArc. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawEllipse(MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height)
Stubbed implementation of drawEllipse. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawString(MICROUI_GraphicsContext *gc, jchar *chars, jint length, MICROUI_Font *font, jint x, jint y)
Stub implementation of drawString. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickEllipse(MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height, jint thickness)
Stubbed implementation of drawThickEllipse. See ui_drawing.h.
jint UI_DRAWING_STUB_stringWidth(jchar *chars, jint length, MICROUI_Font *font)
Stub implementation of stringWidth. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_fillEllipseArc(MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height, jfloat startAngle, jfloat arcAngle)
Stubbed implementation of fillEllipseArc. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickFadedPoint(MICROUI_GraphicsContext *gc, jint x, jint y, jint thickness, jint fade)
Stubbed implementation of drawThickFadedPoint. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawLine(MICROUI_GraphicsContext *gc, jint startX, jint startY, jint endX, jint endY)
Stubbed implementation of drawLine. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickCircleArc(MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jfloat startAngle, jfloat arcAngle, jint thickness)
Stubbed implementation of drawThickCircleArc. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_fillCircle(MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter)
Stubbed implementation of fillCircle. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawRegion(MICROUI_GraphicsContext *gc, jint regionX, jint regionY, jint width, jint height, jint x, jint y, jint alpha)
Stubbed implementation of drawRegion. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_fillRectangle(MICROUI_GraphicsContext *gc, jint x1, jint y1, jint x2, jint y2)
Stubbed implementation of fillRectangle. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawImage(MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint regionX, jint regionY, jint width, jint height, jint x, jint y, jint alpha)
Stubbed implementation of drawImage. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawHorizontalLine(MICROUI_GraphicsContext *gc, jint x1, jint x2, jint y)
Stubbed implementation of drawHorizontalLine. See ui_drawing.h.
jint UI_DRAWING_STUB_initializeRenderableStringSNIContext(jchar *chars, jint length, MICROUI_Font *font, MICROUI_RenderableString *renderableString)
Stub implementation of initializeRenderableStringSNIContext. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawVerticalLine(MICROUI_GraphicsContext *gc, jint x, jint y1, jint y2)
Stubbed implementation of drawVerticalLine. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickFadedCircleArc(MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jfloat startAngle, jfloat arcAngle, jint thickness, jint fade, DRAWING_Cap start, DRAWING_Cap end)
Stubbed implementation of drawThickFadedCircleArc. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawCircle(MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter)
Stubbed implementation of drawCircle. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_fillCircleArc(MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jfloat startAngle, jfloat arcAngle)
Stubbed implementation of fillCircleArc. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_copyImage(MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint regionX, jint regionY, jint width, jint height, jint x, jint y)
Stubbed implementation of copyImage. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawRotatedImageBilinear(MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint x, jint y, jint rotationX, jint rotationY, jfloat angle, jint alpha)
Stubbed implementation of drawRotatedImageBilinear. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawCharWithRotationBilinear(MICROUI_GraphicsContext *gc, jchar c, MICROUI_Font *font, jint x, jint y, jint xRotation, jint yRotation, jfloat angle, jint alpha)
Stubbed implementation of drawCharWithRotationBilinear. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawRotatedImageNearestNeighbor(MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint x, jint y, jint rotationX, jint rotationY, jfloat angle, jint alpha)
Stubbed implementation of drawRotatedImageNearestNeighbor. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickFadedLine(MICROUI_GraphicsContext *gc, jint startX, jint startY, jint endX, jint endY, jint thickness, jint fade, DRAWING_Cap startCap, DRAWING_Cap endCap)
Stubbed implementation of drawThickFadedLine. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawRoundedRectangle(MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height, jint cornerEllipseWidth, jint cornerEllipseHeight)
Stubbed implementation of drawRoundedRectangle. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawScaledRenderableStringBilinear(MICROUI_GraphicsContext *gc, jchar *chars, jint length, MICROUI_Font *font, jint width, MICROUI_RenderableString *renderableString, jint x, jint y, jfloat xRatio, jfloat yRatio)
Stubbed implementation of drawScaledRenderableStringBilinear. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_fillRoundedRectangle(MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height, jint cornerEllipseWidth, jint cornerEllipseHeight)
Stubbed implementation of fillRoundedRectangle. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawRectangle(MICROUI_GraphicsContext *gc, jint x1, jint y1, jint x2, jint y2)
Stubbed implementation of drawRectangle. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickFadedEllipse(MICROUI_GraphicsContext *gc, jint x, jint y, jint width, jint height, jint thickness, jint fade)
Stubbed implementation of drawThickFadedEllipse. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawCharWithRotationNearestNeighbor(MICROUI_GraphicsContext *gc, jchar c, MICROUI_Font *font, jint x, jint y, jint xRotation, jint yRotation, jfloat angle, jint alpha)
Stubbed implementation of drawCharWithRotationNearestNeighbor. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawScaledImageNearestNeighbor(MICROUI_GraphicsContext *gc, MICROUI_Image *img, jint x, jint y, jfloat factorX, jfloat factorY, jint alpha)
Stubbed implementation of drawScaledImageNearestNeighbor. See ui_drawing.h.
DRAWING_Status UI_DRAWING_STUB_drawThickFadedCircle(MICROUI_GraphicsContext *gc, jint x, jint y, jint diameter, jint thickness, jint fade)
Stubbed implementation of drawThickFadedCircle. See ui_drawing.h.