#include <image.h>
Collaboration diagram for hoa_video::private_video::ImageElement:

Public Member Functions | |
| ImageElement (Image *image_, float x_offset_, float y_offset_, float u1_, float v1_, float u2_, float v2_, float width_, float height_) | |
| Constructor defaulting the element to have white vertices and disables blending. | |
| ImageElement (Image *image_, float x_offset_, float y_offset_, float u1_, float v1_, float u2_, float v2_, float width_, float height_, Color color_[4]) | |
| Constructor specifying a specific image element. Multiple elements can be stacked to form one compound image. | |
Public Attributes | |
| bool | blend |
| A true value indicates to perform blending with this element. | |
| Color | color [4] |
| The colors of the four image vertices. | |
| float | height |
| The height of the image in the stack, in coordinate system units. | |
| Image * | image |
| The image that is being referenced by this object. | |
| bool | one_color |
| True if all of the vertices are the same color. | |
| float | u1 |
| The texture coordinates for the image. u1, v1 describes the upper-left corner while u2, v2 describes the bottom-right. | |
| float | u2 |
| float | v1 |
| float | v2 |
| bool | white |
| Set to true if the vertices are all white. | |
| float | width |
| The width of the image in the stack, in coordinate system units. | |
| float | x_offset |
| The x offset in the image stack. | |
| float | y_offset |
| The y offset in the image stack. | |
Friends | |
| class | AnimatedImage |
****************************************************************************
Definition at line 157 of file image.h.
| hoa_video::private_video::ImageElement::ImageElement | ( | Image * | image_, | |
| float | x_offset_, | |||
| float | y_offset_, | |||
| float | u1_, | |||
| float | v1_, | |||
| float | u2_, | |||
| float | v2_, | |||
| float | width_, | |||
| float | height_ | |||
| ) |
friend class AnimatedImage [friend] |
A true value indicates to perform blending with this element.
Definition at line 184 of file image.h.
Referenced by hoa_video::GameVideo::_DrawElement(), and ImageElement().
The colors of the four image vertices.
Definition at line 181 of file image.h.
Referenced by ImageElement().
The image that is being referenced by this object.
Definition at line 161 of file image.h.
Referenced by hoa_video::GameVideo::_DrawElement().
True if all of the vertices are the same color.
Definition at line 187 of file image.h.
Referenced by hoa_video::GameVideo::_DrawElement(), and ImageElement().
The texture coordinates for the image. u1, v1 describes the upper-left corner while u2, v2 describes the bottom-right.
Definition at line 172 of file image.h.
Referenced by hoa_video::GameVideo::_DrawElement().
Set to true if the vertices are all white.
Definition at line 190 of file image.h.
Referenced by ImageElement().
1.5.1