AUI Framework
develop
Cross-platform base for C++ UI apps
|
Class-loader of abstract images that can be displayed on the screen.
#include <AUI/Image/IImageLoader.h>
Public Member Functions# | |
virtual bool | matches (AByteBufferView buffer)=0 |
virtual _< IImageFactory > | getImageFactory (AByteBufferView buffer) |
The drawable (vector) image loader implementation. | |
virtual _< AImage > | getRasterImage (AByteBufferView buffer)=0 |
The image loader implementation (raster). | |
|
inlinevirtual |
matches
returned true. nullptr
if getRasterImage
implemented. Reimplemented in GifImageLoader, SvgImageLoader, and WebpImageLoader.
|
pure virtual |
matches
returned true. nullptr
if getDrawable
implemented. Implemented in GifImageLoader, StbImageLoader, SvgImageLoader, and WebpImageLoader.
|
pure virtual |
buffer | buffer with the raw image file contents. |
Implemented in BmpImageLoader, GifImageLoader, JpgImageLoader, PngImageLoader, SvgImageLoader, and WebpImageLoader.