28 #ifndef __TERRALIB_LAYOUT_INTERNAL_UTILS_H
29 #define __TERRALIB_LAYOUT_INTERNAL_UTILS_H
32 #include "../../../geometry/Envelope.h"
33 #include "../../../geometry/LinearRing.h"
34 #include "../../../color/RGBAColor.h"
35 #include "../../../maptools/Canvas.h"
36 #include "../../../maptools/WorldDeviceTransformer.h"
85 #endif // __TERRALIB_LAYOUT_INTERNAL_LAYOUT_UTILS_H
virtual te::gm::Envelope viewportBoxFromMM(te::gm::Envelope box)
virtual void textBoundingBox(double &w, double &h, std::string txt)
virtual void drawRectW(te::gm::Envelope box)
virtual void configCanvas(te::gm::Envelope box, bool resize=true)
virtual void configGeoCanvasFromGeo(te::gm::Envelope boxgeo, te::gm::Envelope boxmm, bool resize=true)
virtual te::gm::LinearRing * createSimpleLine(te::gm::Envelope box)
virtual te::gm::LinearRing * addCoordsInX(te::gm::Envelope box, double gap)
A LinearRing is a LineString that is both closed and simple.
virtual int mm2pixel(double mm)
An Envelope defines a 2D rectangular region.
virtual te::gm::LinearRing * addCoordsInY(te::gm::Envelope box, double gap)
virtual void drawLineW(te::gm::LinearRing *line)
virtual te::gm::Envelope viewportBox(te::gm::Envelope box)
virtual te::gm::Envelope viewportBoxFromGeo(te::gm::Envelope boxgeo, te::gm::Envelope boxmm)
virtual te::gm::Envelope transformToViewport(te::map::WorldDeviceTransformer transf, te::gm::Envelope box)
virtual te::color::RGBAColor ** getImageW(te::gm::Envelope boxmm)
A helper class for 32-bit RGBA (Red-Green-Blue-Alpha channel) color.
virtual void changeCanvas(te::gm::Envelope viewport, te::gm::Envelope world, bool resize=true)
virtual void configGeoCanvas(te::gm::Envelope boxgeo, te::gm::Envelope boxmm, bool resize=true)