CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::GImageGIF类 参考
+ 类 BUI::GImageGIF 继承关系图:

Public 成员函数

 GImageGIF ()
 
virtual ~GImageGIF ()
 
bool LoadBufferImage (unsigned char *buffer, UINT dwSize) override
 
int LayerCounts () const
 
int Delay (int l) const
 
int GetCurPos () const
 
void AddHost (IGIFHost *host)
 
- Public 成员函数 继承自 BUI::GImage
 GImage ()
 
virtual ~GImage ()
 
virtual bool LoadBufferImage (unsigned char *buffer, UINT dwSize)
 
UBYTEBuffer () const
 
SIZE ImageSize (BOOL isPixelFormat=FALSE) const
 
int WidthPixel () const
 
int HeightPixel () const
 
void AttachOtherMemImage (unsigned char *pixel, int w, int h, int stride, PixelFormatType fmt)
 
void AllocImage (int w, int h, PixelFormatType fmt, BOOL clear)
 
PixelFormatType GetPixelFormat () const
 
void GetClientRectInFrames (RECT *rc, BOOL isHroz, int current, int frameCounts) const
 
void TransformMatrix (Transform2d *mtx, RECT *rc, double angle, double scale_x, double scale_y)
 
UBYTERowPtr (int x, int y)
 
void GetImageDrawInfoInFrames (ImageDrawInfo *info, BOOL isHroz, int current, int frameCounts) const
 
void GetImageDrawInfo (ImageDrawInfo *info) const
 
void GetImageDrawInfoInArea (ImageDrawInfo *info, int x, int y, int w, int h) const
 
int Stride () const
 
int StrideAbs () const
 
UINT PixelBitCounts () const
 
void HistogramEqualize (GImage *source, int color_chanel, uint8_t *p, int len)
 图像均衡化
 
void Destory ()
 
void CopyForm (const unsigned char *data, int w, int h, int bpp)
 
void MakeShaddow (int dx, int dy, int blursize, const GColor &color)
 根据透明度。生成阴影格式。必须是具有alpha通道图像
 
void CloneFrom (const GImage *other)
 
void ToGray (GrayConv conv_type=GrayDesaturation)
 GrayConv组合值
 
void GetImageChanelIndex (int &ir, int &ig, int &ib, int &ia)
 获得图像颜色通道索引
 
void SaveAsImageFile (LPCTSTR file_png_path, LPCTSTR fmt)
 
void RemoveBackColor (uint8_t r, uint8_t g, uint8_t b)
 

Protected 成员函数

void OnTimerGif ()
 

Protected 属性

int m_nLayers
 
int * m_nDelays
 
CTimerTask m_timer_
 
UINT m_nCurpos
 
IGIFHost m_head
 
- Protected 属性 继承自 BUI::GImage
BOOL m_isAttachOther
 
int m_iWidth
 
int m_iHeight
 
UINT m_nBpp
 
int m_nStride
 
unsigned char * m_pBuffer
 
PixelFormatType m_pixelformat
 

额外继承的成员函数

- 静态 Public 成员函数 继承自 BUI::GImage
static BOOL SaveAsJPG (LPCTSTR file_png_path, const unsigned char *data, int w, int h, PixelFormatType fmt, int stride)
 

构造及析构函数说明

◆ GImageGIF()

BUI::GImageGIF::GImageGIF ( )

◆ ~GImageGIF()

virtual BUI::GImageGIF::~GImageGIF ( )
virtual

成员函数说明

◆ AddHost()

void BUI::GImageGIF::AddHost ( IGIFHost host)

◆ Delay()

int BUI::GImageGIF::Delay ( int  l) const

◆ GetCurPos()

int BUI::GImageGIF::GetCurPos ( ) const

◆ LayerCounts()

int BUI::GImageGIF::LayerCounts ( ) const

◆ LoadBufferImage()

bool BUI::GImageGIF::LoadBufferImage ( unsigned char *  buffer,
UINT  dwSize 
)
overridevirtual

重载 BUI::GImage .

◆ OnTimerGif()

void BUI::GImageGIF::OnTimerGif ( )
protected

类成员变量说明

◆ m_head

IGIFHost BUI::GImageGIF::m_head
protected

◆ m_nCurpos

UINT BUI::GImageGIF::m_nCurpos
protected

◆ m_nDelays

int* BUI::GImageGIF::m_nDelays
protected

◆ m_nLayers

int BUI::GImageGIF::m_nLayers
protected

◆ m_timer_

CTimerTask BUI::GImageGIF::m_timer_
protected
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2025 · CBlueStudio 版权所有