AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
SvgImageLoader Class Reference

Public Member Functions#

bool matches (AByteBufferView buffer) override
 
_< AImagegetRasterImage (AByteBufferView buffer) override
 The image loader implementation (raster).
 
_< IImageFactorygetImageFactory (AByteBufferView buffer) override
 The drawable (vector) image loader implementation.
 

Member Function Documentation#

◆ getImageFactory()#

_< IImageFactory > SvgImageLoader::getImageFactory ( AByteBufferView buffer)
overridevirtual
Note
Called if and only if matches returned true.
Returns
image factory. Can be nullptr if getRasterImage implemented.

Reimplemented from IImageLoader.

◆ getRasterImage()#

_< AImage > SvgImageLoader::getRasterImage ( AByteBufferView buffer)
overridevirtual
Note
Called if and only if matches returned true.
Returns
raster image. Can be nullptr if getDrawable implemented.

Implements IImageLoader.

◆ matches()#

bool SvgImageLoader::matches ( AByteBufferView buffer)
overridevirtual
Parameters
bufferbuffer with the raw image file contents.
Returns
true, if this IImageLoader accepts image stored in this buffer

Implements IImageLoader.