ImpsEngine  1.0.0
A software library collection for end user applications.
IAColorRect Class Reference
Inheritance diagram for IAColorRect:
IAGraphicRect IADrawableRect IADrawable

Public Member Functions

IA_CONSTRUCTOR void IAColorRect_init (IAColorRect *, IAColor color)
 
void IAColorRect_setColor (IAColorRect *, IAColor color)
 
void IAColorRect_setRed (IAColorRect *, int red)
 
void IAColorRect_setGreen (IAColorRect *, int green)
 
void IAColorRect_setBlue (IAColorRect *, int blue)
 
void IAColorRect_setAlpha (IAColorRect *, int alpha)
 
IA_DESTRUCTOR void IAColorRect_deinit (IAColorRect *)
 
- Public Member Functions inherited from IAGraphicRect
IA_CONSTRUCTOR void IAGraphicRect_make (IAGraphicRect *, void(*transformRectToRender)(const IAGraphicRect *, IARect *), void(*setupRendering)(const IAGraphicRect *, IARect))
 
IA_CONSTRUCTOR void IAGraphicRect_makeCopy (IAGraphicRect *, const IAGraphicRect *graphicRectToCopy)
 
- Public Member Functions inherited from IADrawableRect
IA_CONSTRUCTOR void IADrawableRect_make (IADrawableRect *, void(*drawFunction)(const IADrawable *), void(*setRect)(IADrawableRect *, IARect), IASize(*getMinSizeNeededNullable)(IADrawableRect *))
 
IA_CONSTRUCTOR void IADrawableRect_makeCopy (IADrawableRect *, const IADrawableRect *drawableRectToCopy)
 
void IADrawableRect_setLeftTopPoint (IADrawableRect *, IAPoint point)
 
void IADrawableRect_setCenterPoint (IADrawableRect *, IAPoint point)
 
void IADrawableRect_setSize (IADrawableRect *, IASize size)
 
void IADrawableRect_setRect (IADrawableRect *, IARect rect)
 
void IADrawableRect_setLeftTopRightBottom (IADrawableRect *, float left, float top, float right, float bottom)
 
IAPoint IADrawableRect_getLeftTopPoint (const IADrawableRect *)
 
IAPoint IADrawableRect_getCenterPoint (const IADrawableRect *)
 
float IADrawableRect_getWidth (const IADrawableRect *)
 
float IADrawableRect_getHeight (const IADrawableRect *)
 
IASize IADrawableRect_getSize (const IADrawableRect *)
 
IARect IADrawableRect_getRect (const IADrawableRect *)
 
IASize IADrawableRect_getMinSizeNeeded (const IADrawableRect *)
 
- Public Member Functions inherited from IADrawable
IA_CONSTRUCTOR void IADrawable_make (IADrawable *, void(*drawFunction)(const IADrawable *))
 
IA_CONSTRUCTOR void IADrawable_makeCopy (IADrawable *, const IADrawable *drawableToCopy)
 
void IADrawable_draw (const IADrawable *)
 
static void IADrawable_setIsVisible (IADrawable *this, bool isVisible)
 
static bool IADrawable_isVisible (const IADrawable *this)
 

Data Fields

IAGraphicRect graphicRect
 
IAArrayBuffer arrayBuffer
 
GLfloat red
 
GLfloat green
 
GLfloat blue
 
GLfloat alpha
 
- Data Fields inherited from IAGraphicRect
IADrawableRect rect
 
IARect transformedRectToRender
 
void(* transformRectToRender )(const IAGraphicRect *, IARect *)
 
void(* setupRendering )(const IAGraphicRect *, IARect)
 
- Data Fields inherited from IADrawableRect
IADrawable drawable
 
void(* setRect )(IADrawableRect *, IARect)
 
IASize(* getMinSizeNeededNullable )(IADrawableRect *)
 
IARect rect
 
- Data Fields inherited from IADrawable
IAObject base
 
void(* drawFunction )(const IADrawable *)
 
bool isVisible
 

Member Function Documentation

◆ IAColorRect_init()

IA_CONSTRUCTOR void IAColorRect_init ( IAColorRect ,
IAColor  color 
)

◆ IAColorRect_setColor()

void IAColorRect_setColor ( IAColorRect ,
IAColor  color 
)

◆ IAColorRect_setRed()

void IAColorRect_setRed ( IAColorRect ,
int  red 
)

◆ IAColorRect_setGreen()

void IAColorRect_setGreen ( IAColorRect ,
int  green 
)

◆ IAColorRect_setBlue()

void IAColorRect_setBlue ( IAColorRect ,
int  blue 
)

◆ IAColorRect_setAlpha()

void IAColorRect_setAlpha ( IAColorRect ,
int  alpha 
)

◆ IAColorRect_deinit()

IA_DESTRUCTOR void IAColorRect_deinit ( IAColorRect )

Field Documentation

◆ graphicRect

IAGraphicRect IAColorRect::graphicRect

◆ arrayBuffer

IAArrayBuffer IAColorRect::arrayBuffer

◆ red

GLfloat IAColorRect::red

◆ green

GLfloat IAColorRect::green

◆ blue

GLfloat IAColorRect::blue

◆ alpha

GLfloat IAColorRect::alpha

The documentation for this class was generated from the following files: