ImpsEngine  1.0.0
A software library collection for end user applications.
IAImage Class Reference

Image class. More...

Inheritance diagram for IAImage:
IAGraphicRect IADrawableRect IADrawable

Public Member Functions

IA_CONSTRUCTOR void IAImage_init (IAImage *, const IAImageAttributes *attributes)
 
IA_CONSTRUCTOR void IAImage_initCopy (IAImage *, const IAImage *imageToCopy)
 
void IAImage_setAlpha (IAImage *, int alpha)
 
void IAImage_setOverlayingColor (IAImage *, IAColor overlayingColor)
 
void IAImage_setSizeWithFixedHeight (IAImage *, float fixedHeight)
 
void IAImage_setSizeWithFixedWidth (IAImage *, float fixedWidth)
 
void IAImage_flipHorizontally (IAImage *)
 
void IAImage_flipVertically (IAImage *)
 
IASize IAImage_getOriginalSize (IAImage *)
 
IATextureIAImage_getTexture (IAImage *)
 
IARect IAImage_getTrimmedRect (IAImage *)
 
void IAImage_deactivateTrimmedRect (IAImage *)
 
IA_DESTRUCTOR void IAImage_deinit (IAImage *)
 
- 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
 
IATexturetexture
 
IAArrayBuffer arrayBuffer
 
IATrimmedRect trimmedRect
 
bool hasTrimmedRect
 
int alpha
 
IAColor overlayingColor
 
IASize originalSize
 
- 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
 

Detailed Description

Image class.

Member Function Documentation

◆ IAImage_init()

IA_CONSTRUCTOR void IAImage_init ( IAImage ,
const IAImageAttributes attributes 
)

◆ IAImage_initCopy()

IA_CONSTRUCTOR void IAImage_initCopy ( IAImage ,
const IAImage imageToCopy 
)

◆ IAImage_setAlpha()

void IAImage_setAlpha ( IAImage ,
int  alpha 
)

◆ IAImage_setOverlayingColor()

void IAImage_setOverlayingColor ( IAImage ,
IAColor  overlayingColor 
)

◆ IAImage_setSizeWithFixedHeight()

void IAImage_setSizeWithFixedHeight ( IAImage ,
float  fixedHeight 
)

◆ IAImage_setSizeWithFixedWidth()

void IAImage_setSizeWithFixedWidth ( IAImage ,
float  fixedWidth 
)

◆ IAImage_flipHorizontally()

void IAImage_flipHorizontally ( IAImage )

◆ IAImage_flipVertically()

void IAImage_flipVertically ( IAImage )

◆ IAImage_getOriginalSize()

IASize IAImage_getOriginalSize ( IAImage )

◆ IAImage_getTexture()

IATexture * IAImage_getTexture ( IAImage )

◆ IAImage_getTrimmedRect()

IARect IAImage_getTrimmedRect ( IAImage )

◆ IAImage_deactivateTrimmedRect()

void IAImage_deactivateTrimmedRect ( IAImage )

◆ IAImage_deinit()

IA_DESTRUCTOR void IAImage_deinit ( IAImage )

Field Documentation

◆ graphicRect

IAGraphicRect IAImage::graphicRect

◆ texture

IATexture* IAImage::texture

◆ arrayBuffer

IAArrayBuffer IAImage::arrayBuffer

◆ trimmedRect

IATrimmedRect IAImage::trimmedRect

◆ hasTrimmedRect

bool IAImage::hasTrimmedRect

◆ alpha

int IAImage::alpha

◆ overlayingColor

IAColor IAImage::overlayingColor

◆ originalSize

IASize IAImage::originalSize

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