libosmscout 0.1
Loading...
Searching...
No Matches
MapPainterCairo.cpp File Reference

Namespaces

namespace  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.
 
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.
 
static void osmscout::TransformPathOntoPath (cairo_path_t *srcPath, cairo_path_t *dstPath, double *pathSegmentLengths, double xOffset, double yOffset)
 Project a path using a function.