29 #ifndef LEGATO_RENDERER_H 30 #define LEGATO_RENDERER_H 42 #include "gfx/driver/gfx_driver.h" 68 void leRenderer_Shutdown(
void);
127 leResult leRenderer_DamageArea(
const leRect* rect, uint32_t layerIdx);
130 void leRenderer_Paint(
void);
147 leBool leRenderer_IsIdle(
void);
164 size_t leRenderer_GetDrawCount(
void);
183 void leRenderer_DisplaySize(
leSize* sz);
202 void leRenderer_GetClipRect(
leRect* rct);
221 void leRenderer_GetFrameRect(
leRect* rct);
272 lePalette* leRenderer_GetGlobalPalette(
void);
308 leColor leRenderer_GlobalPaletteLookup(uint32_t idx);
327 leColor leRenderer_ConvertColor(leColor inColor,
leColorMode inMode);
381 leBool leRenderer_CullDrawXY(int32_t x, int32_t y);
418 void leRenderer_ClipDrawRect(
const leRect* rect,
leRect* res);
437 leColor leRenderer_GetPixel(int32_t x,
460 leResult leRenderer_GetPixel_Safe(int32_t x,
484 leResult leRenderer_PutPixel(int32_t x,
510 leResult leRenderer_BlendPixel(int32_t x,
535 leResult leRenderer_PutPixel_Safe(int32_t x,
561 leResult leRenderer_BlendPixel_Safe(int32_t x,
594 leResult leRenderer_FillArea(int32_t x,
625 leResult leRenderer_HorzLine(int32_t x,
655 leResult leRenderer_VertLine(int32_t x,
687 leResult leRenderer_DrawLine(int32_t x0,
892 leResult leRenderer_ArcLine(int32_t x,
973 leResult leRenderer_EllipseLine(int32_t x,
996 void _leRenderer_DestroyLayerState(
struct leLayerState* st);
1007 #endif // LEGATO_RENDERER_H Common macros and definitions used by Legato.
Palette functions and definitions.
This struct represents a palette asset.
Definition: legato_palette.h:69
An array implementation for storing rectangles for the Legato user interface library.
leResult
This enum represents function call results.
Definition: legato_common.h:123
This struct represents a rectangle.
Definition: legato_common.h:394
Pixel Buffer functions and definitions.
Definition: legato_state.h:68
This structure is used represents the size of an item.
Definition: legato_common.h:370
This struct represents the graphics processor interface.
Definition: gfx_driver.h.ftl:1227
This structure represents a integer Cartesian point.
Definition: legato_common.h:346
Definition: legato_pixelbuffer.h:90
leColorMode
This enum represents the supported RGB color formats.
Definition: legato_color.h:148
leBool
This enum represents booleans.
Definition: legato_common.h:146
This struct represents the display driver interface.
Definition: gfx_driver.h.ftl:1206
Rectangle functions and definitions.
Definition: legato_renderer.h:49