All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::layout::Utils Class Reference

#include <Utils.h>

Public Member Functions

virtual te::gm::LinearRingaddCoordsInX (te::gm::Envelope box, double gap)
 
virtual te::gm::LinearRingaddCoordsInY (te::gm::Envelope box, double gap)
 
virtual void configCanvas (te::gm::Envelope box, bool resize=true)
 
virtual void configGeoCanvas (te::gm::Envelope boxgeo, te::gm::Envelope boxmm, bool resize=true)
 
virtual void configGeoCanvasFromGeo (te::gm::Envelope boxgeo, te::gm::Envelope boxmm, bool resize=true)
 
virtual te::gm::LinearRingcreateSimpleLine (te::gm::Envelope box)
 
virtual void drawLineW (te::gm::LinearRing *line)
 
virtual void drawRectW (te::gm::Envelope box)
 
virtual te::color::RGBAColor ** getImageW (te::gm::Envelope boxmm)
 
virtual int mm2pixel (double mm)
 
virtual void textBoundingBox (double &w, double &h, std::string txt)
 
 Utils ()
 
virtual te::gm::Envelope viewportBox (te::gm::Envelope box)
 
virtual te::gm::Envelope viewportBoxFromGeo (te::gm::Envelope boxgeo, te::gm::Envelope boxmm)
 
virtual ~Utils ()
 

Protected Member Functions

virtual void changeCanvas (te::gm::Envelope viewport, te::gm::Envelope world, bool resize=true)
 
virtual te::gm::Envelope transformToViewport (te::map::WorldDeviceTransformer transf, te::gm::Envelope box)
 
virtual te::gm::Envelope viewportBoxFromMM (te::gm::Envelope box)
 

Detailed Description

Definition at line 42 of file Utils.h.

Constructor & Destructor Documentation

Utils::Utils ( )

Definition at line 39 of file Utils.cpp.

Utils::~Utils ( )
virtual

Definition at line 44 of file Utils.cpp.

Member Function Documentation

void Utils::configGeoCanvas ( te::gm::Envelope  boxgeo,
te::gm::Envelope  boxmm,
bool  resize = true 
)
virtual

Definition at line 130 of file Utils.cpp.

Referenced by te::layout::MapGridModel::drawGrid().

void Utils::configGeoCanvasFromGeo ( te::gm::Envelope  boxgeo,
te::gm::Envelope  boxmm,
bool  resize = true 
)
virtual

Definition at line 136 of file Utils.cpp.

int Utils::mm2pixel ( double  mm)
virtual
void Utils::textBoundingBox ( double &  w,
double &  h,
std::string  txt 
)
virtual

The documentation for this class was generated from the following files: