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

📄 regions.hh

📁 pixil 最新的嵌入linux 應用程序集,別的地方很難下載
💻 HH
字号:
/*********************************************************************  postscript/regions.hh  purpose:    Draw segmented regions.    Takes a bitmap a input that has a region id assigned to each    element. The visualizer class will then draw the borders between    adjacent regions.  notes:  to do:  author(s):   - Dirk Farin, farin@ti.uni-mannheim.de     University Mannheim, Dept. Circuitry and Simulation     B 6,26 EG, room 0.10 / D-68131 Mannheim / Germany  modifications:    23/Jul/99 - Dirk Farin - speedup and output file size reduction      by combining adjacent line segments into a single line.    21/Jul/99 - Dirk Farin - first implementation *********************************************************************/#ifndef LIBVIDEOGFX_POSTSCRIPT_REGIONS_HH#define LIBVIDEOGFX_POSTSCRIPT_REGIONS_HH#include "libvideogfx/graphics/basic/bitmap.hh"#include "libvideogfx/postscript/layout.hh"#include <iostream.h>class Regions2Postscript{public:   Regions2Postscript() : d_ostr(NULL) { }  ~Regions2Postscript() { }  void SetOutput(ostream& ostr) { d_ostr=&ostr; }  void SetPrintingArea(const PrintingArea& a) { area=a; }  void DrawRegions(const Bitmap<int>&);private:  PrintingArea area;  ostream* d_ostr;};#endif

⌨️ 快捷键说明

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