sf-svg
Namespaces | Macros | Enumerations | Functions
Nanosvgrastr.cpp File Reference

Nanosvg++ rasterizer implementation. More...

#include "nanosvgrastr.hpp"
Include dependency graph for Nanosvgrastr.cpp:

Namespaces

 nsvg
 Nanosvg++ namespace.
 
 nsvg::cstyle
 Completly or partially C-styled code.
 

Macros

#define NSVG_PI   (3.14159265358979323846264338327f)
 

Enumerations

enum  NSVGpointFlags { NSVG_PT_CORNER = 0x01, NSVG_PT_BEVEL = 0x02, NSVG_PT_LEFT = 0x04 }
 

Functions

RasterizerStruct * nsvg::cstyle::createRasterizer ()
 
void nsvg::cstyle::deleteRasterizer (RasterizerStruct *r)
 
void nsvg::cstyle::rasterize (RasterizerStruct *r, ImageStruct *image, float tx, float ty, float scale, unsigned char *dst, int w, int h, int stride)
 

Detailed Description

Nanosvg++ rasterizer implementation.