libosmscout  0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
MapPainterCairo.cpp File Reference

Namespaces

 osmscout
 Original source: https://github.com/philipperemy/easy-encryption/blob/master/b64.h licensed under terms of MIT license.
 

Functions

static double * osmscout::CalculatePathSegmentLengths (cairo_path_t *path)
 Calculate an array of double for the path, that contains the length of each path segment. More...
 
static double osmscout::CalculatePointDistance (cairo_path_data_t *a, cairo_path_data_t *b)
 
static void osmscout::MapPathOnPath (cairo_t *draw, cairo_path_t *srcPath, cairo_path_t *dstPath, double xOffset, double yOffset)
 
static void osmscout::PathPointTransformer (double &x, double &y, cairo_path_t *path, const double *pathSegmentLengths)
 Project a point X,Y onto a parameterized path. More...
 
static void osmscout::TransformPathOntoPath (cairo_path_t *srcPath, cairo_path_t *dstPath, double *pathSegmentLengths, double xOffset, double yOffset)
 Project a path using a function. More...