遗漏的部分

This commit is contained in:
qing committed 2026-08-02 21:21:03 +08:00
1 parent 84fb370da8
commit 0493383ee8
63 files changed
+28237 -4

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
/*
* Area是某个形状上的一个区域,它没有自己的帧缓冲区
*
*
*/
#pragma once
#include "Drawable.h"
namespace qing {
class Area: public Drawable {
public:
/* Phase Plotting Method 相图法 */
Area(Drawable *d, int w, int h, int x, int y, int rotate, int fontsize);
Color _get(int x, int y) override; /* 实现接口 */
void _p(int x, int y, Color &clr) override;
virtual void flush(Drawable *n, bool border = false) override;
virtual void move(int x, int y);
protected:
Drawable *d; /* 持有的绘制主体 */
};
}