#include "CanvasExamples.h"#include "../../Config.h"#include <terralib/geometry.h>#include <terralib/dataaccess.h>#include <terralib/qt/widgets/canvas/Canvas.h>#include <iostream>#include <exception>#include <QApplication>Go to the source code of this file.
Functions | |
| void | DrawPNG () |
| It retrieves data from a Shape-file and prints it to a png graphics file. More... | |
| void DrawPNG | ( | ) |
It retrieves data from a Shape-file and prints it to a png graphics file.
Definition at line 16 of file DrawPNG.cpp.
References te::qt::widgets::Canvas::calcAspectRatio(), te::qt::widgets::Canvas::draw(), dt, te::dt::GEOMETRY_TYPE, te::da::GetFirstGeomProperty(), te::da::GetFirstPropertyPos(), te::gm::GeometryProperty::getGeometryType(), te::da::DataSourceFactory::make(), te::gm::MultiLineStringType, te::gm::MultiPolygonType, te::map::PNG, te::gm::PolygonType, te::qt::widgets::Canvas::save(), te::qt::widgets::Canvas::setLineColor(), te::qt::widgets::Canvas::setPointColor(), te::qt::widgets::Canvas::setPolygonContourColor(), te::qt::widgets::Canvas::setPolygonFillColor(), and te::qt::widgets::Canvas::setWindow().
Referenced by main().