Guiliani  Version 2.6 revision 7293 (documentation build 12)
CGUIImageDecoderSVG Class Reference

#include <GUIImageDecoderSVG.h>

Inheritance diagram for CGUIImageDecoderSVG:

Public Member Functions

 CGUIImageDecoderSVG ()
 
 ~CGUIImageDecoderSVG ()
 
virtual eC_Bool LoadImg (CGUIImageData &rkImageData, eC_File *pkImageFile)
 
- Public Member Functions inherited from CGUIImageDecoder
virtual ~CGUIImageDecoder ()
 
eC_TListDoubleLinked< eC_String > & GetSupportedFileExtensions ()
 
virtual eC_Bool LoadImg (CGUIImageData &rkImageData, eC_File *pkImageFile)=0
 

Additional Inherited Members

- Protected Member Functions inherited from CGUIImageDecoder
 CGUIImageDecoder ()
 
void WriteConvertedColor (const eC_UInt &uiInputColor, const CGUICommonEnums::ImageType_t &eInputFormat, const CGUICommonEnums::ImageType_t &eOutputFormat, eC_UByte *pubData, eC_UInt &uiDataIndex, const eC_UByte &ubAdvance, const eC_UInt &uiCount=1)
 
- Protected Attributes inherited from CGUIImageDecoder
eC_TListDoubleLinked< eC_String > m_kSupportedFileExtensions
 list of supported file-extensions
 
SupportedImageTypes_t m_kSupportedImageTypes [cuiNumOfImageTypes]
 Array of supported image types.
 

Detailed Description

Reads a SVG-file with NanoSVG and transforms it into a std::vector<CSVGShape> thas is also the representation as CGUIImageData.

Constructor & Destructor Documentation

◆ CGUIImageDecoderSVG()

CGUIImageDecoderSVG::CGUIImageDecoderSVG ( )

Constructor

◆ ~CGUIImageDecoderSVG()

CGUIImageDecoderSVG::~CGUIImageDecoderSVG ( )

Destructor

Member Function Documentation

◆ LoadImg()

virtual eC_Bool CGUIImageDecoderSVG::LoadImg ( CGUIImageData rkImageData,
eC_File *  pkImageFile 
)
virtual

Must be implemented in each derived class to decode an image.

Parameters
rkImageDataThe decoded image has to be stored here by each derived implementation.
pkImageFilePointer to image file to load.
Returns
Implementations must return True if the image was decoded successfully, False if anything went wrong and the contents of kImageData are invalid.

Implements CGUIImageDecoder.


The documentation for this class was generated from the following file: