Position of "view" relative to "device". More...
#include <gre/viewpos.h>
Public Member Functions | |
| VIEWPOS () | |
| ~VIEWPOS () | |
| const SPATREF::COORDREFSYS & | GetCenterCRS () const |
| const DPOINT2D & | GetCenterPoint () const |
| double | GetMapScale () const |
| const VIEWPLACE & | GetPlace () const |
| const TRANS2D_AFFINE & | GetTransViewDevice () const |
| const DPOINT2D & | GetZoom () const |
| void | ScaleZoom (double scale) |
| void | SetCenterPoint (const DPOINT2D &CenterPoint) |
| void | SetCenterPoint (const SPATREF::COORDREFSYS &CenterCRS, const DPOINT2D &CenterPoint) |
| void | SetMapScale (double MapScale) |
| void | SetPlace (const VIEWPLACE &ViewPlace) |
| void | SetTransViewDevice (const TRANS2D_AFFINE &TransViewDevice) |
| void | SetZoom (const DPOINT2D &zoom) |
| void | SetZoom (double zoom) |
| void | ValidateZoom (bool AllowDifferXY) |
Position of "view" relative to "device".
| GRE::VIEWPOS::VIEWPOS | ( | ) |
| GRE::VIEWPOS::~VIEWPOS | ( | ) |
| const SPATREF::COORDREFSYS& GRE::VIEWPOS::GetCenterCRS | ( | ) | const [inline] |
Get CRS for center point.
| const DPOINT2D& GRE::VIEWPOS::GetCenterPoint | ( | ) | const [inline] |
Get center point.
| double GRE::VIEWPOS::GetMapScale | ( | ) | const [inline] |
Get map scale.
| const VIEWPLACE& GRE::VIEWPOS::GetPlace | ( | ) | const [inline] |
Get view "place".
| const TRANS2D_AFFINE& GRE::VIEWPOS::GetTransViewDevice | ( | ) | const [inline] |
Get transformation from "view" to rendering "device".
| const DPOINT2D& GRE::VIEWPOS::GetZoom | ( | ) | const [inline] |
Get zoom value (1.0 is full view).
| void GRE::VIEWPOS::ScaleZoom | ( | double | scale | ) | [inline] |
Apply scale to zoom value.
| void GRE::VIEWPOS::SetCenterPoint | ( | const DPOINT2D & | CenterPoint | ) | [inline] |
Set center point.
| void GRE::VIEWPOS::SetCenterPoint | ( | const SPATREF::COORDREFSYS & | CenterCRS, | |
| const DPOINT2D & | CenterPoint | |||
| ) | [inline] |
Set center CRS and point.
| void GRE::VIEWPOS::SetMapScale | ( | double | MapScale | ) | [inline] |
Set map scale.
| void GRE::VIEWPOS::SetPlace | ( | const VIEWPLACE & | ViewPlace | ) | [inline] |
Set view "place".
| void GRE::VIEWPOS::SetTransViewDevice | ( | const TRANS2D_AFFINE & | TransViewDevice | ) | [inline] |
Set tranformation from "view" to rendering "device".
| void GRE::VIEWPOS::SetZoom | ( | const DPOINT2D & | zoom | ) | [inline] |
Set zoom.
| void GRE::VIEWPOS::SetZoom | ( | double | zoom | ) | [inline] |
Set zoom with equal X/Y values.
| void GRE::VIEWPOS::ValidateZoom | ( | bool | AllowDifferXY | ) |
Validate zoom based on whether allowing different X and Y values.
1.6.1