Previous Next


                                                   1062
    APPENDIX G                                                          Example PDF Files



        xref
        0 8
        0000000000   65535    f
        0000000009   00000    n
        0000000074   00000    n
        0000000120   00000    n
        0000000179   00000    n
        0000000364   00000    n
        0000000466   00000    n
        0000000496   00000    n

        trailer
            << /Size 8
                /Root 1 0 R
            >>
        startxref
        625
        %%EOF


G.3 Simple Graphics Example

    Example G.3 draws a thin black line segment, a thick black dashed line segment, a
    filled and stroked rectangle, and a filled and stroked cubic Bézier curve. Table G.3
    lists the objects in this example, and Figure G.1 shows the resulting output. (Each
    shape has a red border, and the rectangle is filled with light blue.)

                         TABLE G.3 Objects in simple graphics example
    OBJECT NUMBER                 OBJECT TYPE

    1                             Catalog (document catalog)

    2                             Outlines (outline dictionary)

    3                             Pages (page tree node)

    4                             Page (page object)

    5                             Content stream

    6                             Procedure set array

Previous Next