Skip to main content

Basic Principles of Two-Dimensional Graphics

  • Chapter
Introduction to Computer Graphics

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

  • 4222 Accesses

Abstract

Basic geometric 2D-objects like points, lines, rectangles, polygons, circles and ellipses are introduced and geometric transformations for positioning, transforming and animating these geometric objects are explained. The concept of homogeneous coordinates, crucial for carrying out geometric transformations efficiently in computer graphics, is defined for two-dimensional geometry. Interpolators are a general technique for animation in computer graphics and various examples for interpolators are illustrated in this Chapter. A brief introduction to Java 2D is given and example programs and implementations help one to better understand the concepts and methods from a practical point of view.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Cathode Ray Tube.

  2. 2.

    Abstract Windowing Toolkit.

  3. 3.

    Arc2D is the only exception where angles are specified in the unit degrees. Otherwise angles in Java 2D and Java 3D must be specified in radians.

  4. 4.

    The figure is drawn in the usual representation and not in the standard Java 2D window coordinate representation where the y-axis would point downwards.

  5. 5.

    Vectors in the mathematical sense, not as the class Vector in Java.

References

  1. Hardy, V.J.: Java 2D API Graphics. Prentice Hall, Upper Saddle River, NJ (2000)

    Google Scholar 

  2. Knudsen, J.: Java 2D Graphics. O’Reilly, Beijing (1999)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2012 Springer-Verlag London Limited

About this chapter

Cite this chapter

Klawonn, F. (2012). Basic Principles of Two-Dimensional Graphics. In: Introduction to Computer Graphics. Undergraduate Topics in Computer Science. Springer, London. https://doi.org/10.1007/978-1-4471-2733-8_2

Download citation

  • DOI: https://doi.org/10.1007/978-1-4471-2733-8_2

  • Publisher Name: Springer, London

  • Print ISBN: 978-1-4471-2732-1

  • Online ISBN: 978-1-4471-2733-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics