Skip to main content

Transformations and Clipping

  • Chapter
Modula-2 Applied

Part of the book series: Macmillan Computer Science Series ((COMPSS))

  • 23 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Reference

  1. J.D. Foley & A. Van Dam Fundamentals of Interactive Computer Graphics Addison-Wesley, 1983

    Google Scholar 

  2. Ian O. Angell High-resolution Computer Graphics Using C Macmillan Education 1990

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

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)

Publish with us

Policies and ethics