Point to 0,0, then construct a line to 0,100, then a line to 100,100, a line to 100, 0Īnd finally a line back to 0,0. A lower level implementation using only primitives would first move the current This contrstructs a rectangle with the bottom leftĬorner at 0,0 whcih is 100 units wide by 100 units high, and fills it with the currentĬolor. Primitives are quite low level graphics operations as an example consider the PDF Library to render the primitive to the final raster. The device decides whether to handle the primitive itself, or call upon the graphics Or PXL) is handled by an appropriate interpreter, the intepreter processes the inputĪnd produces from it a sequence of drawing 'primitives' whcih are handed to the device. Same general fashion as all Ghostscript devices. Include pdfwrite, ps2write, eps2write, txtwrite, xpswrite, pxlmono and pxlcolor.Īlthough these devices produce output which is not a raster, they still work in the In general they produce 'vector' as opposed to bitmap output. High level devices are Ghostscript output devices which do not render to a raster, High Level Ouptut Devices High Level Output Devices Table of contentsįor other information, see the Ghostscript overview.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |