1#ifndef CGUIIMAGEDECODERSVG_H
2#define CGUIIMAGEDECODERSVG_H
7#include "GUIImageDecoder.h"
8#include "GUIImageData.h"
11#include "nanosvgrast.h"
15#include "GUIException.h"
34 NSVGimage* Parse(eC_File* pkFile,
const eC_Char* units, eC_Value dpi);
37 void ParsePaths(NSVGshape
const* pkParserShape,
CSVGShape& kShape);
38 void ParseFill(NSVGshape
const* pkParserShape,
CSVGShape& kShape);
39 void ParseStroke(NSVGshape
const* pkParserShape,
CSVGShape& kShape);
40 void ParseGradients(
const NSVGgradient& kParserGradient,
CSVGGradient& kGradient);
43 eC_UInt TranslateColor(eC_UInt c, eC_UByte opacity);
48 void XTransform(
CSVGShape* pkSvgShapes,
const eC_UInt& uiShapeCount);
51 NSVGrasterizer* m_pkRaster;
Contains information about an image loaded by CGUIImageLoader.
Definition: GUIImageData.h:29
Base class for the image decoders.
Definition: GUIImageDecoder.h:25
Definition: GUIImageDecoderSVG.h:23
virtual eC_Bool LoadImg(CGUIImageData &rkImageData, eC_File *pkImageFile)
Definition: SVGShape.h:62