Flipping

Learn how to flip shapes with Pycairo.

What does flipping do?

Flipping, or mirroring, flips the whole user space around a line to reverse shapes.

Flip along the y-axis

In Pycairo, we can play around with different transformations to achieve different tasks. Here is an example of a flip along the y-axis:

The red arrow is formed from the points (100, 200), ...