(texdraw)Extending TeXdraw


Next: How TeXdraw merges graphics and text Prev: Errors while using TeXdraw Up: More Details
Enter node , (file) or (file)node

5.2 Extending TeXdraw
=====================

TeXdraw is implemented using a combination of TeX commands and
PostScript code.  This section discusses some of the implementational
issues as they relate to extending TeXdraw.

   TeXdraw as implemented, offers a basic set of drawing features.
These are adequate for certain tasks such as producing block diagrams.
There are different approaches to extending TeXdraw to include other
functions.  In some cases, the desired functionality can be achieved by
writing a TeX macro which builds on top of the existing TeXdraw
commands.  As these extensions become more complex, the limitations of
TeX for computations become increasingly evident.  In other cases,
access to different features of PostScript is desired.  The appropriate
approach would be to write new PostScript procedures which can be
accessed by TeX macros.

   Included with TeXdraw is a set of macros for directly accessing
PostScript functions.  These are described in an appendix (Note:
PostScript Commands).

   TeXdraw also comes with a toolbox of routines for handling much of
the user interface, converting between different coordinate
representations and the like.  The macros for coordinate decoding and
for computations involving coordinates are described in an appendix
(Note: TeXdraw Toolbox.).

Scaling
Resolution
Text placement
Intermediate PostScript file

automatically generated by info2www version 1.2.2.9