<slide title="Graphics">
<blurb title="Paths">
To draw graphics in a PDF you define a path which you then perform operations on.
For example:
</blurb>

<example
	title="Graphics Example 1"
	filename="pdf_graphics_ex1.php"
	fontsize="1.5em"
	result="1"
	type="iframe"
/>

<blurb>
We can use PDF_closepath() and pdf_fill_stroke()
to close the path automatically and fill it with the current fill color.
</blurb>

<example
	title="Graphics Example 2"
	filename="pdf_graphics_ex2.php"
	fontsize="1.5em"
	result="1"
	type="iframe"
/>

<blurb>
Adding a circle, a funky arc and a dashed green box.
</blurb>

<example
	title="Graphics Example 3"
	filename="pdf_graphics_ex3.php"
	fontsize="1.5em"
	result="1"
	type="iframe"
/>

</slide>
