<!DOCTYPE document SYSTEM "rml.dtd">
<document filename="test_045_overprint.pdf" colorSpace="CMYK">
<docinit>
	<color id="Cy" CMYK="[1,0,0,0]" />
	<color id="Mag" CMYK="[0,1,0,0]" />
</docinit>
    <template>
        <pageTemplate id="main">
            <pageGraphics>
            <setFont name="Helvetica-Bold" size="18"/>
		    <drawString x="35" y="783">RML Example 48: Overprint</drawString>
			<image file="logo_no_bar.png" preserveAspectRatio="1" x="488" y="749" width="72" height="72"/>
    		<image file="strapline.png" preserveAspectRatio="1" x="35" y="0" width="525" />
                <fill color="Cy"/>
                <overprint mode="overprint"/>
                 <rect x="75" y="500" width="50" height="50" fill="1"/>
                 <fill color="Mag"/>
                 <rect x="100" y="525" width="50" height="50" fill="1"/>
                 <overprint mode="knockout"/>
                 <fill color="Cy"/>
                 <rect x="175" y="500" width="50" height="50" fill="1"/>
                 <fill color="Mag"/>
                 <rect x="200" y="525" width="50" height="50" fill="1"/>
            </pageGraphics>
             <frame id="second" x1="35" y1="45" width="525" height="490"/>
        </pageTemplate>
    </template>
    <stylesheet>
    <paraStyle name="intro"  fontName="Helvetica" fontSize="12" leading="12" spaceAfter="12"/>
    </stylesheet>
    <story>
    <storyPlace x="35" y="660" width="525" height="73" origin="page">
<para style="intro">RML (Report Markup Language) is ReportLab's own language for specifying the appearance of a printed page, which is converted into PDF by the utility rml2pdf.</para>
<hr color="white" thickness="8pt"/>
<para style="intro">These RML samples showcase techniques and features for generating various types of ouput and are distributed within our commercial package as test cases. Each should be self explanatory and stand alone.</para>
<illustration height="3" width="525" align="center">
<fill color= "(0,0.99,0.97,0.0)" />
<rect x="0" y = "-12" width="525" height="3" round="1" fill="1" stroke = "Yes" />
</illustration>
</storyPlace>
        <para>
             Overprint (left) vs. Knockout (right)<super>*</super>
        </para>
        <para fontSize="6">
             <super>*</super>If you can't see any difference, you may need to adjust your pdf viewer.
        </para>
    </story>
</document>

