OpenClonk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
ZoomDataStackItem Struct Reference

#include <C4Draw.h>

Inheritance diagram for ZoomDataStackItem:
[legend]
Collaboration diagram for ZoomDataStackItem:
[legend]

Public Member Functions

 ZoomDataStackItem (float newzoom)
 
 ZoomDataStackItem (float X, float Y, float newzoom)
 
 ~ZoomDataStackItem ()
 

Public Attributes

float Zoom
 
float X
 
float Y
 

Detailed Description

Definition at line 218 of file C4Draw.h.

Constructor & Destructor Documentation

ZoomDataStackItem::ZoomDataStackItem ( float  newzoom)
inline

Definition at line 220 of file C4Draw.h.

References C4Draw::GetZoom(), C4Draw::SetZoom(), ZoomData::X, and ZoomData::Y.

220 { pDraw->GetZoom(this); pDraw->SetZoom(X, Y, newzoom); }
float Y
Definition: C4Draw.h:71
C4Draw * pDraw
Definition: C4Draw.cpp:45
void GetZoom(ZoomData *r)
Definition: C4Draw.h:197
float X
Definition: C4Draw.h:71
void SetZoom(float X, float Y, float Zoom)
Definition: C4Draw.cpp:782

Here is the call graph for this function:

ZoomDataStackItem::ZoomDataStackItem ( float  X,
float  Y,
float  newzoom 
)
inline

Definition at line 221 of file C4Draw.h.

References C4Draw::GetZoom(), and C4Draw::SetZoom().

221 { pDraw->GetZoom(this); pDraw->SetZoom(X, Y, newzoom); }
float Y
Definition: C4Draw.h:71
C4Draw * pDraw
Definition: C4Draw.cpp:45
void GetZoom(ZoomData *r)
Definition: C4Draw.h:197
float X
Definition: C4Draw.h:71
void SetZoom(float X, float Y, float Zoom)
Definition: C4Draw.cpp:782

Here is the call graph for this function:

ZoomDataStackItem::~ZoomDataStackItem ( )
inline

Definition at line 222 of file C4Draw.h.

References C4Draw::SetZoom().

222 { pDraw->SetZoom(*this); }
C4Draw * pDraw
Definition: C4Draw.cpp:45
void SetZoom(float X, float Y, float Zoom)
Definition: C4Draw.cpp:782

Here is the call graph for this function:

Member Data Documentation

float ZoomData::X
inherited

Definition at line 71 of file C4Draw.h.

Referenced by C4Viewport::Draw(), C4Draw::GetZoom(), C4Draw::SetZoom(), and ZoomDataStackItem().

float ZoomData::Y
inherited

Definition at line 71 of file C4Draw.h.

Referenced by C4Viewport::Draw(), C4Draw::GetZoom(), C4Draw::SetZoom(), and ZoomDataStackItem().

float ZoomData::Zoom
inherited

The documentation for this struct was generated from the following file: