1 Star 0 Fork 0

Yuki/MYSVG-Editor

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
myrect.h 441 Bytes
一键复制 编辑 原始数据 按行查看 历史
Yuki 提交于 28天前 . 优化
#ifndef KOSORECT_H
#define KOSORECT_H
class QPainter;
class QPoint;
#include "myshape.h"
class MyRect : public MyShape
{
public:
MyRect(MyShape *parent = nullptr);
MyRect(const MyRect &copyShape);
~MyRect(){}
MyShape* clone() const override {
return new MyRect(*this);
}
//绘制
void virtual paint(QPainter &painter) override;
MyShapeType virtual getType() override;
};
#endif // KOSORECT_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/ccnuzcl/mysvg-editor.git
git@gitee.com:ccnuzcl/mysvg-editor.git
ccnuzcl
mysvg-editor
MYSVG-Editor
master

搜索帮助