Vector graphics — AQA A-Level Computer Science
Vector graphics represent images mathematically using geometric primitives such as points, lines, curves, and shapes stored with associated drawing lists and attributes. Unlike bitmapped images, vector graphics scale infinitely without pixelation or loss of quality and typically require smaller file sizes for simple diagrams.
Vector graphics explained
Vector graphics store an image not as a grid of pixels but as a list of objects, each defined by mathematical instructions.
Read the full explanation
A typical entry might read: circle, centre (120, 80), radius 40, fill colour blue. The file records the shape type, its position and size as coordinates, and its appearance such as fill and outline. When the image is displayed, the software reads each entry in the list and draws the object at the required size on the current screen or print resolution. Because the stored data describes the shape rather than fixed dots, the image can be scaled up or down without losing sharpness. This explanation should be given in your own words, showing that the image is a set of described objects that are rendered when needed, rather than a bitmap of colour values.
Your focus
- Explain how vector graphics represents images using lists of objects.
Vector graphics exam tips
Topic Overview
Vector graphics represent visual data through mathematical descriptions of geometric shapes rather than grids of individual picture elements. This topic explores how drawing lists, coordinates, and shape attributes allow computers to construct resolution-independent imagery suited for icons, fonts, and computer-aided design.
Understanding vector graphics is fundamental to data representation in AQA A-Level Computer Science. It contrasts directly with bitmapped graphics, illustrating core computational trade-offs between processing overhead, memory consumption, visual scalability, and transmission efficiency across modern networks.
Key Concepts
- →Drawing list: A list of instructions and geometric objects detailing the precise sequence and rules to construct the vector graphic.
- →Primitives: Basic geometric shapes used as building blocks, including points, lines, polylines, circles, ellipses, and Bézier curves.
- →Attributes: Specific values associated with primitives that dictate appearance, such as start/end coordinates, line thickness, stroke colour, and fill colour.
- →Resolution independence: The ability of an image to scale infinitely to any display dimension or DPI without degrading in visual sharpness or showing pixelation.
Marking Points
- Describes the image as a list of separate objects rather than a grid of pixels.
- Explains that each object is stored with a shape type and parameters such as coordinates, size and colour.
- Explains that the software renders each object from its stored description when the image is displayed.
- Links the object-based storage to the ability to resize the image without loss of quality.
Examiner Tips
- 💡Use the phrase 'list of objects' and name at least one example of a stored property to show you understand the structure.
- 💡Explain the rendering step: the software reads each object and draws it at the required resolution.
- 💡Connect the explanation to scalability, which is the main advantage examiners expect you to recognise.
- 💡Use accurate terminology such as 'rasterisation' when describing how a vector graphic is converted into pixels for screen output.
- 💡When comparing vector graphics with bitmaps, construct a balanced argument covering both advantages (scalability, editing flexibility, small file size for simple images) and limitations (unsuitability for photo-realism, high CPU rendering overhead).
Common Mistakes
- Describes vector graphics as a grid of pixels; correct by stating that vector images store objects, not pixel values.
- Says the file stores the colour of every point in the image; correct by explaining that only the parameters of each object are stored.
- Explains scaling without linking it to the mathematical description of each object; correct by stating that shapes are recalculated at the new size.
- Believing vector graphics cannot be displayed on standard monitors without conversion: All modern computer monitors are raster displays composed of physical pixels, which means vector graphics must undergo rasterisation before being displayed.
- Thinking vector graphics have a fixed DPI: Vector files do not possess an inherent DPI or pixel resolution; DPI only becomes relevant when the graphic is rendered or printed onto a physical medium.
Revision Plan
- 1Step 1: Master core definitions, including drawing lists, primitives, attributes, and resolution independence.
- 2Step 2: Construct a comprehensive comparison table contrasting vector graphics and bitmapped images across size, scalability, complexity, and common applications.
- 3Step 3: Practise drafting XML-like SVG descriptions of basic shapes to reinforce how primitives and attributes relate directly to stored data.
- 4Step 4: Complete past AQA exam questions focusing on 4-mark to 6-mark evaluate and compare questions.
Exam Question Types
- 📋Direct definition and description questions: Explaining the components of a vector graphic, such as drawing lists and geometric primitives.
- 📋Comparative analysis: Comparing vector graphics with bitmapped images for a specific real-world scenario (e.g. logos vs photographic portraits).
- 📋Application questions: Identifying necessary properties and attributes needed to store specific primitives like polygons, rectangles, or circles.
Command Word Expectations (AQA)
Set out the mathematical mechanism clearly; for vector graphics, describe how coordinates, primitives, and attributes are used by software to render the image rather than merely stating that it does not blur.
Identify both similarities and differences between vector graphics and bitmaps, covering storage mechanisms, file size scaling, and rendering performance for given contexts.
How Students Lose Marks (Examiner Pitfalls)
Step-by-Step Worked Solutions
Question: Compare the storage requirements and scalability of a company logo saved as an SVG vector graphic versus an uncompressed 24-bit bitmap image when scaled up for display on a large billboard.
- 1.Step 1: Explain scalability behaviour for both formats. The vector graphic recalculates geometric primitives based on mathematical equations when resized, meaning edges remain sharp and crisp with zero pixelation at billboard scale. In contrast, enlarging the bitmap causes pixelation, blurring, or jagged edges because individual pixels are enlarged or interpolated.
- 2.Step 2: Compare file size behaviour when resolution increases. The vector graphic file size remains constant regardless of the display dimensions because only the coordinates, shapes, and attributes are recorded in the drawing list. The bitmap file size must increase proportionally to the resolution (Width x Height x Colour Depth) if high visual fidelity is required at billboard size.
- 3.Step 3: Conclude why the vector format is superior for this specific use case. Vector graphics offer resolution independence and significantly smaller file sizes for logos with distinct shapes and solid colours.
Question: An image format stores a drawing list containing 150 distinct geometric shapes. Explain what is meant by a 'drawing list' and outline two distinct attributes that must be stored for a circle primitive.
- 1.Step 1: Define a drawing list. A drawing list is a collection of commands, shape primitives, and associated properties that dictate the order and method by which an image is rendered on screen.
- 2.Step 2: Identify geometric attributes of a circle primitive. Identify at least two mandatory parameters needed to draw the circle mathematically. Valid parameters include centre point coordinates (x, y) and radius (r).
- 3.Step 3: Identify visual styling attributes. Valid visual properties include stroke colour, fill colour, stroke width, and opacity.