Search⌘ K
AI Features

Learning Objectives

Explore various Pycairo surfaces and their uses in drawing and output formats. Understand how to create image, SVG, PDF, and PostScript files using appropriate surfaces. This lesson prepares you to select and use the right surface for your graphics projects effectively.

We'll cover the following...

Upcoming topics

Pycairo draws its output to a surface. There are separate surface types for different types of output, each derived from the abstract base type Surface. Normally, we create a surface of the required type, and then we obtain a Context to do the drawing.

There are ...