Public Member Functions | |
Transform () | |
Vector | apply (const Vector &v) const |
Public Attributes | |
Vector | translation |
DrawingEffect | drawing_effect |
float | alpha |
Definition at line 137 of file drawing_context.hpp.
DrawingContext::Transform::Transform | ( | ) | [inline] |
Definition at line 144 of file drawing_context.hpp.
00144 : 00145 translation(), 00146 drawing_effect(NO_EFFECT), 00147 alpha(1.0f) 00148 { }
Definition at line 150 of file drawing_context.hpp.
References translation.
Referenced by DrawingContext::draw_filled_rect(), DrawingContext::draw_inverse_ellipse(), DrawingContext::draw_surface(), DrawingContext::draw_surface_part(), DrawingContext::draw_text(), and DrawingContext::get_light().
00151 { 00152 return v - translation; 00153 }
Definition at line 140 of file drawing_context.hpp.
Referenced by apply(), DrawingContext::get_translation(), and DrawingContext::set_translation().
Definition at line 141 of file drawing_context.hpp.
Referenced by DrawingContext::draw_filled_rect(), DrawingContext::draw_gradient(), DrawingContext::draw_inverse_ellipse(), DrawingContext::draw_surface(), DrawingContext::draw_surface_part(), DrawingContext::draw_text(), DrawingContext::get_drawing_effect(), and DrawingContext::set_drawing_effect().
Definition at line 142 of file drawing_context.hpp.
Referenced by DrawingContext::draw_filled_rect(), DrawingContext::draw_gradient(), DrawingContext::draw_inverse_ellipse(), DrawingContext::draw_surface(), DrawingContext::draw_surface_part(), DrawingContext::draw_text(), DrawingContext::get_alpha(), and DrawingContext::set_alpha().