|
| static cairo_text_extents_t | osmscout::CairoTextExtents (MapPainterCairo::CairoFont font, const std::wstring &text) |
| | Ink extents of a text string drawn with the given font, relative to the baseline start point of the string.
|
| |
| 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 bool | osmscout::IsCairoLabelSpace (wchar_t c) |
| |
| 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.
|
| |
| static std::vector< std::wstring > | osmscout::WrapCairoText (MapPainterCairo::CairoFont font, const std::wstring &text, double proposedWidth) |
| | Greedily wrap the text at word boundaries into lines no wider than proposedWidth (in pixels, measured as the advance of the text).
|
| |