Abstract
The diagram package allows the user to enter a diagram interactively. A diagram consists of standard items, such as lines and circles, and other shapes defined by the user, called usershapes, which can be made up of the standard items and other usershapes. An item can be entered anywhere in the diagram, hence it must be possible to position a usershape at any position, size or rotation. If a usershape which contains another shape drawn at 45 degrees, is itself drawn at 90 degrees, then the ‘inner’ shape must be drawn at 135 degrees. This is best acheived using transformation matrices, which are the first topic of the chapter.
Preview
Unable to display preview. Download preview PDF.
Reference
J.D. Foley & A. Van Dam Fundamentals of Interactive Computer Graphics Addison-Wesley, 1983
Ian O. Angell High-resolution Computer Graphics Using C Macmillan Education 1990
Author information
Authors and Affiliations
Copyright information
© 1991 R. J. Mitchell
About this chapter
Cite this chapter
Mitchell, R.J. (1991). Transformations and Clipping. In: Modula-2 Applied. Macmillan Computer Science Series. Palgrave, London. https://doi.org/10.1007/978-1-349-12439-8_7
Download citation
DOI: https://doi.org/10.1007/978-1-349-12439-8_7
Publisher Name: Palgrave, London
Print ISBN: 978-0-333-55453-1
Online ISBN: 978-1-349-12439-8
eBook Packages: EngineeringEngineering (R0)