sd & d vector graphics

13

Upload: forrester-high-school

Post on 14-Apr-2017

471 views

Category:

Education


0 download

TRANSCRIPT

Page 1: SD & D Vector Graphics
Page 2: SD & D Vector Graphics

Vector GraphicsVector graphics store an image using geometrical objects like points, curves and polygons. Each object is saved as a set of attributes - a description of how it is to be drawn.

Page 3: SD & D Vector Graphics

Vector GraphicsVector graphics store an image using geometrical objects like points, curves and polygons. Each object is saved as a set of attributes - a description of how it is to be drawn.

image_no, shape_type, startx, starty, length, height, line, fill

or

1, rectangle, 20, 30, 400, 80, 3, 26

Page 4: SD & D Vector Graphics

Vector GraphicsVector graphics store an image using geometrical objects like points, curves and polygons. Each object is saved as a set of attributes - a description of how it is to be drawn.

Page 5: SD & D Vector Graphics

Vector GraphicsVector graphics store an image using geometrical objects like points, curves and polygons. Each object is saved as a set of attributes - a description of how it is to be drawn.

image_no, shape, centrex, centrey, radius, line, fill

or

2, oval, 250, 520, 80, 6, 92

Page 6: SD & D Vector Graphics

Vector GraphicsThe computer changes the information in the set of attributes if...

...an object is moved to a new position on the screen.

Page 7: SD & D Vector Graphics

Vector GraphicsThe computer changes the information in the set of attributes if...

...an object is resized.

Page 8: SD & D Vector Graphics

Vector GraphicsThe computer changes the information in the set of attributes if...

...the fill pattern of the object is changed.

Page 9: SD & D Vector Graphics

Vector GraphicsThe computer changes the information in the set of attributes if...

...the line thickness of the object is changed.

Page 10: SD & D Vector Graphics

Vector Graphics

• change the colour of part of the object

• delete part of the object

It is not possible to:

Page 11: SD & D Vector Graphics

Advantages of Vector Graphics

• Small file size

• Actual objects are created which can be moved and re-sized

• The file is resolution independent. If it is sent to a printer which has a higher resolution then it is printed at that higher resolution

600 dpi

300 dpi

Page 12: SD & D Vector Graphics

Disadvantages of Vector Graphics

• The file size increases rapidly as more shapes are added to the graphic

• Cannot edit part of an object

Page 13: SD & D Vector Graphics

CreditsHigher Computing – Data Representation – Vector Graphics

Produced by P. Greene and adapted by R. G. Simpson for the City of Edinburgh Council 2004

Adapted by M. Cunningham 2010

All images licenced under Creative Commons 3.0• flikr1609 by flikr / Kelbv (flickr)• flikr2001 by flikr / Kelbv (flickr)