Driver Draw API. More...
Defines | |
#define | IUP_DRAW_LEFT 0x0000 |
#define | IUP_DRAW_CENTER 0x0001 |
#define | IUP_DRAW_RIGHT 0x0002 |
#define | IUP_DRAW_WRAP 0x0004 |
#define | IUP_DRAW_ELLIPSIS 0x0008 |
#define | IUP_DRAW_CLIP 0x0010 |
#define | IUP_DRAW_LAYOUTCENTER 0x0020 |
Typedefs | |
typedef struct _IdrawCanvas | IdrawCanvas |
Enumerations | |
enum | { IUP_DRAW_FILL, IUP_DRAW_STROKE, IUP_DRAW_STROKE_DASH, IUP_DRAW_STROKE_DOT, IUP_DRAW_STROKE_DASH_DOT, IUP_DRAW_STROKE_DASH_DOT_DOT } |
Functions | |
IUP_SDK_API IdrawCanvas * | iupdrvDrawCreateCanvas (Ihandle *ih) |
IUP_SDK_API void | iupdrvDrawKillCanvas (IdrawCanvas *dc) |
IUP_SDK_API void | iupdrvDrawFlush (IdrawCanvas *dc) |
IUP_SDK_API void | iupdrvDrawUpdateSize (IdrawCanvas *dc) |
IUP_SDK_API void | iupdrvDrawGetSize (IdrawCanvas *dc, int *w, int *h) |
IUP_SDK_API void | iupdrvDrawLine (IdrawCanvas *dc, int x1, int y1, int x2, int y2, long color, int style, int line_width) |
IUP_SDK_API void | iupdrvDrawRectangle (IdrawCanvas *dc, int x1, int y1, int x2, int y2, long color, int style, int line_width) |
IUP_SDK_API void | iupdrvDrawArc (IdrawCanvas *dc, int x1, int y1, int x2, int y2, double a1, double a2, long color, int style, int line_width) |
IUP_SDK_API void | iupdrvDrawPolygon (IdrawCanvas *dc, int *points, int count, long color, int style, int line_width) |
IUP_SDK_API void | iupdrvDrawText (IdrawCanvas *dc, const char *text, int len, int x, int y, int w, int h, long color, const char *font, int flags, double text_orientation) |
IUP_SDK_API void | iupdrvDrawImage (IdrawCanvas *dc, const char *name, int make_inactive, const char *bgcolor, int x, int y, int w, int h) |
IUP_SDK_API void | iupdrvDrawSetClipRect (IdrawCanvas *dc, int x1, int y1, int x2, int y2) |
IUP_SDK_API void | iupdrvDrawResetClip (IdrawCanvas *dc) |
IUP_SDK_API void | iupdrvDrawGetClipRect (IdrawCanvas *dc, int *x1, int *y1, int *x2, int *y2) |
IUP_SDK_API void | iupdrvDrawSelectRect (IdrawCanvas *dc, int x1, int y1, int x2, int y2) |
IUP_SDK_API void | iupdrvDrawFocusRect (IdrawCanvas *dc, int x1, int y1, int x2, int y2) |
See Copyright Notice in "iup.h"