⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 graph.h

📁 影像融合与融合精度评价源码影像融合与融合精度评价源码
💻 H
字号:
#define WINDOW_HEIGHT 640
typedef struct tEdge
{
	    int ymax;
	    float x,dx;
	    struct tEdge *next;
}Edge;
class CGraph:public CClientDC
{
    public:
	    void Ellipse1(int x0, int y0, int a, int b,COLORREF color);
	    void FillEllipse(int x1, int y1, int x2, int y2, COLORREF color,COLORREF fillcolor);
	    void Ellipse0(int x0, int y0, int a, int b,COLORREF color,  COLORREF fillcolor);
	    void DrawEllipse(int x1, int y1, int x2, int y2, COLORREF color);
	    void Circle0(int x0,int y0,int r,COLORREF color,COLORREF fillcolor);
	    void FillCircle(int x0, int y0, int x1, int y1,COLORREF color,  COLORREF fillcolor);
	    void FillRect(int x0, int y0, int x1, int y1, COLORREF fillcolor);
	    void drawrect(int x0,int y0,int x1,int y1);
		CGraph(CWnd *);
		void DDALine(int x1,int y1,int x2,int y2,COLORREF color,int width);
		void MidPointCircle(int xc,int yc,int r,COLORREF color);
		void WholeCircle(int xc,int yc,int x,int y,COLORREF color);
		void InsertEdge(Edge * list,Edge * edge);
		int yNext(int k,int cnt,POINT * pts);
		void MakeEdgeRec(POINT lower,POINT upper,int yComp,Edge * edge,Edge * edges[]);
		void BuildEdgeList(int cnt,POINT * pts,Edge * edges[]);
		void BuildActiveList(int scan,Edge * active,Edge * edges[]);
		void FillScan(int scan,Edge * active,COLORREF color);
		void DeleteAfter(Edge *q);
		void UpdateActiveList(int scan,Edge * active);
		void ResortActiveList(Edge * active);
		void AreaFill(int cnt,POINT *pts,COLORREF color);
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -