Example code for DeclarativeGraphics with the Cairo backend.