readme

来自「[Game.Programming].Academic - Graphics G」· 代码 · 共 43 行

TXT
43
字号
This directory contains the files necessary to vectorize a 2D shape.vectorize.C        /* main routine             */test.C             /* interface for the prog   */pt2D.h             /* a header                 */pt2D.C             /* a 2D point package       */chainCode.h        /* a header                 */chainCode.C        /* a chain code class       */Makefile           /* the makefile             */bitmap_1           /* a test file              */bitmap_2           /* another test file        */bitmap_3           /* a third test file        */The program is written in C++. I used gcc2.1 to compile it.To run the demo, simply type:>> make>> vectorize some_fileYou can view the bitmap files by typing:>> cat some_filesince the files are encoded in text. The program will display the resultsand save them in '.vec' file. You can get more explanations by simplytyping 'vectorize' without arguments. As you will notice, the file does notuse GraphicsGems.m. This is because the programs needs 2D integer operationsand GraphicsGems.m only provides 2D floating point operations through thePoint2 type.Only the 5 files:vectorize.Cpt2D.hpt2D.CchainCode.hchainCode.Care meant to make it for the book and the disk accompanying it.JFD.

⌨️ 快捷键说明

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