sf-svg
Classes | Namespaces | Macros | Functions
nanosvgrastr.hpp File Reference

Nanosvg++ rasterizer declaration. More...

#include "nanosvg.hpp"
Include dependency graph for nanosvgrastr.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nsvg::cstyle::Edge
 
struct  nsvg::cstyle::Point
 
struct  nsvg::cstyle::ActiveEdge
 
struct  nsvg::cstyle::MemPage
 
struct  nsvg::cstyle::CachedPaint
 
struct  nsvg::cstyle::RasterizerStruct
 

Namespaces

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

Macros

#define SUBSAMPLES   5
 
#define FIXSHIFT   10
 
#define FIX   (1 << FIXSHIFT)
 
#define FIXMASK   (FIX-1)
 
#define MEMPAGE_SIZE   1024
 

Functions

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

Detailed Description

Nanosvg++ rasterizer declaration.