22#include <kiwano/core/Time.h>
23#include <kiwano/render/Texture.h>
60 uint32_t GetWidthInPixels()
const;
64 uint32_t GetHeightInPixels()
const;
72 uint32_t GetFramesCount()
const;
100 Frame GetFrame(uint32_t index);
103 bool GetGlobalMetadata();
106 uint32_t frames_count_;
112inline GifImage::Frame::Frame()
113 : disposal_type(DisposalType::Unknown)
119 return size_in_pixels_.x;
124 return size_in_pixels_.y;
129 return size_in_pixels_;
134 return frames_count_;
GIF图像
Definition: GifImage.h:38
uint32_t GetFramesCount() const
获取帧数量
Definition: GifImage.h:132
PixelSize GetSizeInPixels() const
获取像素大小
Definition: GifImage.h:127
uint32_t GetWidthInPixels() const
获取像素宽度
Definition: GifImage.h:117
DisposalType
GIF帧的处置方式
Definition: GifImage.h:78
uint32_t GetHeightInPixels() const
获取像素高度
Definition: GifImage.h:122
含有本地指针的对象
Definition: NativeObject.hpp:32
引用计数智能指针
Definition: RefBasePtr.hpp:35
资源
Definition: Resource.h:41
时间段
Definition: Duration.h:48
GIF帧
Definition: GifImage.h:88
DisposalType disposal_type
处置方式
Definition: GifImage.h:92
Duration delay
帧延迟
Definition: GifImage.h:89
Rect rect
绘制区域
Definition: GifImage.h:91
RefPtr< Texture > texture
帧图像
Definition: GifImage.h:90