Bitmap Drawing Functions
Detailed Description
These functions allow you to draw a bitmap.
Each function will draw the bitmap in a specific way regarding stretching
|
Functions |
void | dglDrawBitmap (TextureObject *texObject, const Point2I &in_rAt, const U32 in_flip=GFlip_None) |
| Draws a bitmap, starting from the lower left corner, going up and right.
|
void | dglDrawBitmapStretch (TextureObject *texObject, const RectI &in_rStretch, const U32 in_flip=GFlip_None, F32 fSpin=0.0f, bool bSilhouette=false) |
| Draws a bitmap that is stretched.
|
void | dglDrawBitmapSR (TextureObject *texObject, const Point2I &in_rAt, const RectI &in_rSubRegion, const U32 in_flip=GFlip_None) |
| Draws a sub region of a texture.
|
void | dglDrawBitmapStretchSR (TextureObject *texObject, const RectI &in_rStretch, const RectI &in_rSubRegion, const U32 in_flip=GFlip_None, F32 fSpin=0.0f, bool bSilhouette=false) |
| Draws a stretched sub region of a texture.
|
Function Documentation
Draws a bitmap, starting from the lower left corner, going up and right.
- Parameters:
-
| texObject | texture object to be drawn |
| in_rAt | where to draw the texture in 2d coordinates |
| in_flip | enumerated constant representing any flipping to be done about the x and/or y axis |
Draws a bitmap that is stretched.
- Parameters:
-
| texObject | texture object to be drawn |
| in_rStretch | rectangle where the texture will be drawn in 2d coordinates |
| in_flip | enumerated constant representing any flipping to be done about the x and/or y axis |
Draws a sub region of a texture.
- Parameters:
-
| texObject | texture object to be drawn |
| in_rAt | point where the texture is to be drawn |
| in_rSubRegion | portion of the texture to be drawn |
| in_flip | enumerated constant representing any flipping to be done about the x and/or y axis |
Draws a stretched sub region of a texture.
- Parameters:
-
| texObject | texture object to be drawn |
| in_rStretch | rectangle where the texture object will be drawn |
| in_rSubRegion | sub region of the texture that will be applied over the stretch region of the screen |
| in_flip | enumerated constant representing any flipping to be done about the x and/or y axis |
|