2 Star 5 Fork 1

guee / GueeRecorder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
painterrgb.h 481 Bytes
一键复制 编辑 原始数据 按行查看 历史
#ifndef PAINTERRGB_H
#define PAINTERRGB_H
#include <QImage>
class PainterRGB
{
public:
PainterRGB(QImage& img);
void fillRGB(uint8_t r, uint8_t g, uint8_t b);
QImage scaleTo(int32_t w, int32_t h);
private:
QImage& m_rgbImg;
struct ScalePos
{
int32_t i0;
int32_t i1;
int32_t v0;
int32_t v1;
};
void makeScale(ScalePos* pos, int32_t s, int32_t d, int32_t mulit = 1);
};
void testPainterRGB();
#endif // PAINTERRGB_H
C++
1
https://gitee.com/guee/GueeRecorder.git
git@gitee.com:guee/GueeRecorder.git
guee
GueeRecorder
GueeRecorder
master

搜索帮助