Topic 19 – Graphics Creation (Cambridge International AS & A Level IT 9626)
Objective
Develop the knowledge and practical skills required to create, edit and export vector graphics using Bézier curves, and to understand the complementary basics of raster‑image editing.
Good practical checklist, software options (Illustrator, Inkscape)
Add a “Raster‑editing” sub‑section (Photoshop/GIMP basics)
Vector file formats – SVG, EPS, AI, PDF, key features
Comparison table
Include a quick decision matrix (when to choose each format)
1. Vector vs. Raster Graphics
Why this matters for the exam
AO1 questions often ask you to explain the difference between vector and raster graphics. AO2 questions may require you to choose the appropriate format for a given scenario (e.g., a logo for web vs. a brochure for print). Knowing the key properties helps you earn marks quickly.
Vector graphics are defined by mathematical equations (points, lines, Bézier curves, polygons). They are resolution‑independent; scaling does not degrade quality.
Raster graphics store colour information for each pixel in a fixed grid. They are resolution‑dependent; enlarging creates blocky or blurry results.
The curve passes through (175, 250) when t = 0.5. This demonstrates how the equation is used to compute intermediate points – a skill often required in AO2 tasks.
2.4 Manipulating control points
Moving a control point changes the direction and curvature of the segment without moving the anchor points. Handles (the line segments joining an anchor to its control points) visualise the tangent direction. In most editors you drag a handle to adjust both length (curvature) and angle (direction).
Suggested diagram: Quadratic vs. cubic Bézier curve with control points and handles labelled P₀–P₃.
3. Constructing Basic Shapes with Bézier Curves
3.1 Circle / Ellipse approximation
A perfect circle can be approximated by four cubic Bézier segments. For a circle of radius r centred at the origin, each segment spans 90°. The control‑point offset from an anchor point is
$$
k = \frac{4}{3}\tan\!\left(\frac{\pi}{8}\right) \approx 0.5522847498 \times r
$$
Using this offset the maximum deviation from a true circle is < 0.03 % – invisible in normal use.
First segment control points: (100, k·100) and (k·100, 100) → (100, 55.23) and (55.23, 100).
Repeat for the remaining three quadrants.
3.2 Rounded rectangle
Draw four straight lines for the rectangle sides.
At each corner replace the sharp vertex with a quarter‑circle Bézier arc using the same offset k = 0.552 r, where r is the desired corner radius.
Close the path to obtain a fillable shape.
3.3 Regular polygon & star
Place anchor points at equal angular intervals around a circle (e.g., every 60° for a hexagon).
For a star, alternate between an outer radius R and an inner radius r to create spikes.
To smooth a polygon, convert each sharp vertex into a short Bézier curve by pulling the handles outward from the vertex.
3.4 Alternative “arc” method (exam tip)
Most vector editors also provide an Arc or Ellipse tool that creates a true mathematical arc (no approximation). The Cambridge exam marks this as correct if the resulting shape meets the required accuracy. Use the arc tool when the question explicitly asks for a “perfect circle” or “precise arc”.
3.5 Summary of shape‑construction steps
Define the first anchor point (P₀).
Decide the number of Bézier segments needed.
For each segment, place the required control points (use the offset k for circles/rounded corners).
Close the path (or use the arc tool where permitted).
Apply fill and stroke as required.
4. Raster‑Editing Basics (required by the syllabus)
Resolution & DPI – Raster images are defined by pixel dimensions (e.g., 800 × 600 px). DPI (dots per inch) determines print size; 72 dpi is standard for screen, 300 dpi for high‑quality print.
Colour depth – 8‑bit per channel (24‑bit colour) is typical; higher depths (48‑bit) give smoother gradients but larger files.
Compression
Lossless (PNG, TIFF) – no quality loss, suitable for line art and screenshots.
Lossy (JPEG) – reduces file size at the cost of artefacts; best for photographs.
Common raster editors
Adobe Photoshop – industry standard, supports layers, adjustment layers, masks.
GIMP – free, open‑source alternative with comparable features.
Typical raster workflow
Set the document size and DPI.
Import or create raster elements (photos, textures).
Apply adjustments (levels, curves) and filters as required.
When the final graphic must be vector‑based, trace the raster image or recreate it with Bézier paths.
Both preserve CMYK data; EPS is traditional for print houses.
Collaboration with a designer using Illustrator
.ai
Preserves layers, symbols, and effects specific to Illustrator.
Simple vector graphic to be included in a Word document
.pdf (or .svg if the word processor supports it)
PDF embeds reliably; SVG may lose fidelity in some office suites.
7. Worked Example – Designing a Simple Logo with Cubic Bézier Curves
Open a new document (500 px × 500 px). Set colour mode to RGB for screen use.
Select the Pen tool.
Click at A(100,250) – creates anchor P₀.
Drag outward to set the first handle toward P₁(150,100). Release – the first cubic segment is started.
Click at P₃(250,250) and drag the second handle toward P₂(200,400). This completes the first half of the logo.
Mirror the process on the opposite side:
Click again at P₃′(250,250) (same end point).
Drag toward P₁′(350,100), then place the final anchor at A(100,250) with a handle toward P₂′(400,400).
Close the path by clicking the initial anchor A. The shape is now a closed, symmetrical logo.
Check a point on the first segment (t = 0.5) using the cubic equation from section 2.3 – you should obtain (175, 250), confirming the curve’s geometry.
Apply a solid fill #0066CC and a 2 px stroke #003366.
Save as .svg for web use. Export a .pdf version for print; in the export dialog convert the colour space to CMYK if the final output is printed.
Suggested diagram: Sketch of the logo path showing anchors P₀–P₃ and their control handles.
8. Assessment Checklist (AO1 & AO2)
Can the student clearly define and contrast vector and raster graphics, including typical file extensions and exam‑relevant reasons for the difference?
Does the student correctly write the quadratic and cubic Bézier equations and explain the role of each control point?
Is the student able to calculate a point on a cubic curve (e.g., for t = 0.5) and interpret the result?
Can the student demonstrate the four‑segment circle approximation, quoting the offset k ≈ 0.552 r and, where appropriate, use the built‑in arc tool?
Is the student competent in creating, editing, and joining Bézier paths in Illustrator or Inkscape, including the use of layers, groups, and appropriate colour models (RGB for screen, CMYK for print)?
Does the student understand raster‑editing basics (resolution, DPI, colour depth, compression) and can they choose the correct file format for a given scenario?
Is the student familiar with export settings for SVG, EPS, AI and PDF, and aware of anti‑aliasing considerations when rasterising?
9. Summary
Vector graphics are built from mathematical definitions of points, lines and Bézier curves. Mastery of quadratic and cubic Bézier equations, control‑point manipulation, and the four‑segment circle method enables the creation of accurate, scalable shapes. Complementary knowledge of raster‑image fundamentals (resolution, DPI, colour depth) completes the Cambridge IT 9626 syllabus requirements. Combined with practical competence in industry‑standard software (Illustrator, Inkscape) – including layers, colour spaces, anti‑aliasing, and appropriate export formats – students can produce professional‑quality graphics for both digital and print contexts, meeting all AO1 and AO2 assessment criteria.
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources,
past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.