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

#include <AUI/Image/webp/WebpImageFactory.h>

Public Member Functions#

 WebpImageFactory (AByteBufferView buffer)
 
AImage provideImage (const glm::ivec2 &size) override
 
bool isNewImageAvailable () override
 
glm::ivec2 getSizeHint () override
 
bool hasAnimationFinished () override
 Returns true, if last provided frame was last (within one cycle of animation)
 

Detailed Description#

Note
Passed webp must have animation

Member Function Documentation#

◆ getSizeHint()#

glm::ivec2 WebpImageFactory::getSizeHint ( )
overridevirtual
See also
IDrawable::getSizeHint

Reimplemented from IImageFactory.

◆ hasAnimationFinished()#

bool WebpImageFactory::hasAnimationFinished ( )
overridevirtual

Implements IAnimatedImageFactory.

◆ isNewImageAvailable()#

bool WebpImageFactory::isNewImageAvailable ( )
overridevirtual

Reimplemented from IImageFactory.

◆ provideImage()#

AImage WebpImageFactory::provideImage ( const glm::ivec2 & size)
overridevirtual

Implements IImageFactory.