This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Paint Vector Graphics
Vector Graphics An alternative scheme for representing images is called “vector graphics” In vector graphics objects are represented explicitly.
This picture might be
square at (1,1) height 3,
width 2 color red
line from (1,2) to (10, 7)
width .1 color blue Vector Graphic Images
Vector Graphic Images Object-oriented or vector graphics treat the image as a collection
of graphic objects such as lines, curves, and figures
of Best rendered on special vector graphics machines Vector graphics are resolution independent and highly scalable Vector graphics are more easily edited and often more compact
in Vector graphic images must often be converted to bitmapped
images for display on bitmapped systems such as a PC
images Vector Graphics
Vector Graphics the image is composed of graphic objects (lines, curves, figures, etc.)
each object is defined by its graphic properties RECTANGLE
LineWidth: 1 these properties may be changed and scaled easily AreaFill: 6 (X-origin, Y-origin) Vector Graphics
Vector Graphics each object occupies a separate layer
layers may be moved, scaled, and arranged in different orders
objects may be deleted and inserted easily Advantages of Vector Graphics
Advantages of Vector Graphics Because the program “knows” there is a square, it can do things like rotate the square, enlarge it, paint it...
View Full Document
This note was uploaded on 03/03/2013 for the course CSCI 0020 taught by Professor Stanford during the Spring '08 term at Brown.
- Spring '08
- Computer Science