Previous Next


                                             296
CHAPTER 4                                                                     Graphics



  15 0 obj                                         % Pattern definition
      << /Type /Pattern
           /PatternType 1                          % Tiling pattern
           /PaintType 1                            % Colored
           /TilingType 2
           /BBox [ 0 0 100 100 ]
           /XStep 100
           /YStep 100
           /Resources 16 0 R
           /Matrix [ 0.4 0.0 0.0 0.4 0.0 0.0 ]
           /Length 183
      >>
  stream
      BT                                           % Begin text object
         /F1 1 Tf                                  % Set text font and size
         64 0 0 64 7.1771 2.4414 Tm                % Set text matrix
         0 Tc                                      % Set character spacing
         0 Tw                                      % Set word spacing
         1.0 0.0 0.0 rg                            % Set nonstroking color to red
         ( \001 ) Tj                               % Show spade glyph
         0.7478 −0.007 TD                          % Move text position
         0.0 1.0 0.0 rg                            % Set nonstroking color to green
         ( \002 ) Tj                               % Show heart glyph
         −0.7323 0.7813 TD                         % Move text position
         0.0 0.0 1.0 rg                            % Set nonstroking color to blue
         ( \003 ) Tj                               % Show diamond glyph
         0.6913 0.007 TD                           % Move text position
         0.0 0.0 0.0 rg                            % Set nonstroking color to black
         ( \004 ) Tj                               % Show club glyph
      ET                                           % End text object
  endstream
  endobj

  16 0 obj                                         % Resource dictionary for pattern
     << /Font << /F1 20 0 R >>
     >>
  endobj

  20 0 obj                                         % Font for pattern
     << /Type /Font
         /Subtype /Type1
         /Encoding 21 0 R
         /BaseFont /ZapfDingbats
     >>
  endobj

Previous Next