#include "CanvasExamples.h"#include "../../Config.h"#include <terralib/raster.h>#include <terralib/dataaccess.h>#include <terralib/datatype.h>#include <terralib/geometry.h>#include <terralib/qt/widgets/canvas/Canvas.h>#include <QApplication>Go to the source code of this file.
Functions | |
| void | DrawingRasterObject () |
| It retrieves data from a tiff file and prints it to a png graphics file. More... | |
| void DrawingRasterObject | ( | ) |
It retrieves data from a tiff file and prints it to a png graphics file.
Definition at line 14 of file DrawingRasterObject.cpp.
References te::qt::widgets::Canvas::calcAspectRatio(), te::qt::widgets::Canvas::drawImage(), ds, te::da::GetFirstPropertyPos(), te::qt::widgets::Canvas::getHeight(), te::qt::widgets::Canvas::getWidth(), te::gm::Envelope::m_llx, te::gm::Envelope::m_lly, te::gm::Envelope::m_urx, te::gm::Envelope::m_ury, te::da::DataSourceFactory::make(), te::map::PNG, te::dt::RASTER_TYPE, te::qt::widgets::Canvas::save(), and te::qt::widgets::Canvas::setWindow().
Referenced by main().