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

📄 ugkpainter.h

📁 linux下一款GIS程序源码
💻 H
字号:
/* ugkpainter.h */#ifndef UGKPAINTER_H#define UGKPAINTER_H#include <qpainter.h>#include <qpaintdevice.h> #include <qpixmap.h>#include <qcolor.h> #include <qpoint.h>typedef struct{    QPoint leftStart,leftEnd;    QPoint rightStart,rightEnd;}LineBox;class UGKPainter :public QPainter{public:    UGKPainter(const QPaintDevice * pd, bool unclipped = FALSE);        void drawGISLine(const QPointArray & a,int linenum,QRect pRect,QColor cl=black);  private:    void getLineBox(int x1,int y1, int x2, int y2,LineBox &lnBox);    bool lineInPaintRect(int x1,int y1,int x2,int y2,QRect pRect);};#endif

⌨️ 快捷键说明

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