libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::MapPainterOpenGL Class Reference

#include <MapPainterOpenGL.h>

Public Member Functions

void DrawMap ()
osmscout::GeoCoord GetCenter ()
bool IsVisibleArea (const Projection &projection, const GeoBox &boundingBox, double pixelOffset)
void LoadData (const osmscout::MapData &data, const osmscout::MapParameter &parameter, const osmscout::Projection &projection, const osmscout::StyleConfigRef &styleConfig)
 MapPainterOpenGL (int width, int height, double dpi, int screenWidth, int screenHeight)
void OnTranslation (int startPointX, int startPointY, int endPointX, int endPointY)
void OnZoom (float zoomDirection)
bool PixelToGeo (double x, double y, double &lon, double &lat)
void SwapData ()
 ~MapPainterOpenGL ()

Constructor & Destructor Documentation

osmscout::MapPainterOpenGL::MapPainterOpenGL ( int  width,
int  height,
double  dpi,
int  screenWidth,
int  screenHeight 
osmscout::MapPainterOpenGL::~MapPainterOpenGL ( )

Member Function Documentation

void osmscout::MapPainterOpenGL::DrawMap ( )
osmscout::GeoCoord osmscout::MapPainterOpenGL::GetCenter ( )
bool osmscout::MapPainterOpenGL::IsVisibleArea ( const Projection projection,
const GeoBox &  boundingBox,
double  pixelOffset 
void osmscout::MapPainterOpenGL::LoadData ( const osmscout::MapData &  data,
const osmscout::MapParameter parameter,
const osmscout::Projection projection,
const osmscout::StyleConfigRef styleConfig 
void osmscout::MapPainterOpenGL::OnTranslation ( int  startPointX,
int  startPointY,
int  endPointX,
int  endPointY 
void osmscout::MapPainterOpenGL::OnZoom ( float  zoomDirection)
bool osmscout::MapPainterOpenGL::PixelToGeo ( double  x,
double  y,
double &  lon,
double &  lat 
void osmscout::MapPainterOpenGL::SwapData ( )

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