#include <context.h>
Collaboration diagram for hoa_video::private_video::Context:

Public Attributes | |
| int8 | blend |
| Flag to indicate whether normal alpha blending is to take place. | |
| CoordSys | coordinate_system |
| The coordinate system being used by this context. | |
| std::string | font |
| The current font being used by this context. | |
| ScreenRect | scissor_rectangle |
| A rectangle to define which portions of the viewport should be cut away when drawing. | |
| bool | scissoring_enabled |
| Used to enable or disable the scissoring rectangle. | |
| Color | text_color |
| The current font color being used by this context. | |
| ScreenRect | viewport |
| Defines the screen subset to draw the graphics into. | |
| int8 | x_align |
| Draw alignment flags to determine where an element is drawn relative to the cursor. | |
| int8 | x_flip |
| Draw flip flags to determine if an element should be drawn flipped across an axis. | |
| int8 | y_align |
| int8 | y_flip |
****************************************************************************
The Context class holds the current state of the video engine. This is used so that the context can be pushed and popped, so that a function which changes a lot of internal settings can easily leave the video engine in the same state that it waswhen it entered in. The graphics context includes properties such as draw flags, axis transformations, and the current coordinate system. The context must be pushed and then popped by any method of the GameVideo class which modifies this context.
Definition at line 44 of file context.h.
Flag to indicate whether normal alpha blending is to take place.
Definition at line 47 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
The coordinate system being used by this context.
Definition at line 56 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
| std::string hoa_video::private_video::Context::font |
The current font being used by this context.
Definition at line 59 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
A rectangle to define which portions of the viewport should be cut away when drawing.
Definition at line 68 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
Used to enable or disable the scissoring rectangle.
Definition at line 71 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
The current font color being used by this context.
Definition at line 62 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
Defines the screen subset to draw the graphics into.
Definition at line 65 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
Draw alignment flags to determine where an element is drawn relative to the cursor.
Definition at line 50 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
Draw flip flags to determine if an element should be drawn flipped across an axis.
Definition at line 53 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
Definition at line 50 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
Definition at line 53 of file context.h.
Referenced by hoa_video::GameVideo::_PopContext(), and hoa_video::GameVideo::_PushContext().
1.5.1