Comprehensive Notes on Vector Graphics
Fundamentals of Vector Graphics
A vector graphic is an image constructed from objects, points, and lines.
Rather than saving pixel grids, vector graphics store information about each component object as a list of attributes.
The foundational structure of a vector graphic can be defined by the relationship:
Object Attributes and Point Geometry
Attributes define the specific geometric and visual properties of an object.
Primary examples of attributes include:
Height: The vertical measurement of the object.
Width: The horizontal measurement of the object.
X and Y coordinates: The exact positional coordinates of points within a coordinate space.
Outline colour: The designated colour applied to the outer edge or perimeter of the object.
Line width: The exact thickness of the border or path line.
Fill colour: The internal colour contained inside the boundaries of the object.
The geometric shape of an object is stored mathematically as a designated set of points connected by straight or curved lines.
Corner coordinate example: A triangle is mathematically represented and stored using the specific spatial coordinates of its three vertices or corners: , , and .
Editing, Layering, and Scalability
Independent Object Editing: Every object within a vector graphic remains distinct and can be selected and modified individually without altering adjacent elements. Modifiable individual parameters include:
Size
Position
Colour
Line width
Layering Mechanism: Objects can be arranged in sequential depth layers (e.g., Layer 1, Layer 2, Layer 3) to construct intricate and detailed composite pictures.
Image Scalability:
Vector graphics possess natural scalability, meaning they can be enlarged or reduced to any scale without experiencing loss of visual crispness or image quality.
Mathematical expression of scalability:
File Size Efficiency and File Formats
Storage Mechanics: Vector graphics typically exhibit significantly smaller file sizes compared to raster formats because the computer only records mathematical attributes and formulas required to render the image, rather than storing state data for every individual pixel.
Format Comparison:
Vector Graphics: Yield small file sizes.
Bitmap Graphics: Yield large file sizes due to per-pixel data storage.
Key Vector File Formats:
.svg: Scalable Vector Graphics.eps: Encapsulated PostScript
Practical Applications
Due to their ability to scale indefinitely while maintaining sharp rendering and clarity, vector graphics serve as the standard format for:
Logos
Icons
Diagrams
Illustrations