Typedefs | Enumerations | Functions

iup_draw.h File Reference

Simple Draw API. More...

Typedefs

typedef struct _IdrawCanvas IdrawCanvas

Enumerations

enum  { IUP_DRAW_FILL, IUP_DRAW_STROKE, IUP_DRAW_STROKE_DASH }

Functions

IdrawCanvas * iupDrawCreateCanvas (Ihandle *ih)
void iupDrawKillCanvas (IdrawCanvas *dc)
void iupDrawFlush (IdrawCanvas *dc)
void iupDrawUpdateSize (IdrawCanvas *dc)
void iupDrawGetSize (IdrawCanvas *dc, int *w, int *h)
void iupDrawParentBackground (IdrawCanvas *dc)
void iupDrawLine (IdrawCanvas *dc, int x1, int y1, int x2, int y2, unsigned char r, unsigned char g, unsigned char b, int style)
void iupDrawRectangle (IdrawCanvas *dc, int x1, int y1, int x2, int y2, unsigned char r, unsigned char g, unsigned char b, int style)
void iupDrawRectangleInvert (IdrawCanvas *dc, int x1, int y1, int x2, int y2)
void iupDrawArc (IdrawCanvas *dc, int x1, int y1, int x2, int y2, double a1, double a2, unsigned char r, unsigned char g, unsigned char b, int style)
void iupDrawPolygon (IdrawCanvas *dc, int *points, int count, unsigned char r, unsigned char g, unsigned char b, int style)
void iupDrawText (IdrawCanvas *dc, const char *text, int len, int x, int y, unsigned char r, unsigned char g, unsigned char b, const char *font)
void iupDrawImage (IdrawCanvas *dc, const char *name, int make_inactive, int x, int y, int *img_w, int *img_h)
void iupDrawSetClipRect (IdrawCanvas *dc, int x1, int y1, int x2, int y2)
void iupDrawResetClip (IdrawCanvas *dc)

Detailed Description

See Copyright Notice in "iup.h"