Transparency and blend modes
Half-transparent fills that overlap and mix, and one orange square laid over a blue bar in four different ways of mixing colours.
A field of stripes shown through two cut-outs: a disc from the nonzero rule, and a frame from the even-odd rule over two nested rectangles.
A cut-out is a window: what is drawn afterwards shows only where the window is open. The same field of stripes is shown here through two of them — a disc, and a frame made of two nested rectangles where only the ring between them lets the stripes through.
The two use the two filling rules the format defines, which is what makes the ring possible at all. Each panel puts its drawing settings aside, states its shape, marks it as the cut-out, fills the stripes, and puts the settings back, so the cut-out lasts no longer than the panel that asked for it.
The same document is written twice, once in each language. Both files are shown in full, with the code coloured on the server, and can be copied in one click.
The same document is written in each of these languages. Open the one you want to look at.
| Before | 107,155 bytes |
|---|---|
| Now | 36,391 bytes |
| Saved | 66.0 % |
Not one mark on the page changed. See every document measured.
Half-transparent fills that overlap and mix, and one orange square laid over a blue bar in four different ways of mixing colours.
Gradients in a line and in a circle painted into boxes the page cuts out: a two-colour blend across and another on the diagonal, a circular one whose outer colour is carried out to the corners, and one passing through three colours.
A gradient used as the colour something is filled with: a headline whose letters are windows onto a blend of three colours, and a panel filled with a circular one.
One floor plan on four layers a reader shows and hides: the furniture and the dimensions shown, the notes hidden until asked for, and a draft mark that is looked at but never printed.
One badge built as a drawing and placed eight times, plus once at half size: the file holds the drawing once, however many times it is placed.
Six panels filled with repeating patterns — bars, dots, a slant got without redrawing the pattern, a brick wall, two patterns crossing, a wider gap — and a logo whose letters are windows onto the bricks.