home *** CD-ROM | disk | FTP | other *** search
- % header
- 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- % end of app-specific header
- 00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
- 0011 02FF % verson
- 0001 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
- 0030 0000 0000 00FF 00FF % draw bounding rect
-
- %
- % Patterns
- %
- % PnPix Background pattern
- 0012
- 0001 % Type
- 0102 0408 1020 4080 % pattern
-
- 8004 % rowbytes
- 0000 0000 0010 0020 % bounds (tlbr)
- 0000 % pixmap version
- 0000 % packing format
- 0000 0000 % Packed size (= 0 by IM V p. 104)
- 0048 0000 0048 0000 % horozontal resolution and vertical resolution (fixed pt. data type)
- 0000 % pixel type ( 0 == chunky format)
- 0001 % bits per pixel
- 0001 % num components in pixel
- 0001 % Size of each component
- 00000000 % Offset to next plane
- 00000000 % color table
- 00000000 % reserved
- % color table!
- 00000000
- 0000 0001
- 0000 FFFF FFFF FFFF
- 0001 0000 0000 0000
-
- 00 7F 00 00 % bit data (unpacked)
- 03 80 E0 00
- 06 00 30 00
- 08 00 08 00
- 10 00 04 00
- 20 00 02 00
- 60 00 03 00
- 40 00 01 00
- 40 00 81 00
- 80 03 80 80
- 83 00 00 80
- 80 00 00 80
- 80 00 00 80
- 80 00 30 80
- 80 00 20 80
- 40 00 21 00
-
-
- % PnPix Pen pattern
- 0013
- 0002 % Type
- 0102 0408 1020 4080 % pattern
- 0000 8080 0000 % half green
-
- % PnPix Fill pattern
- 0014
- 0002 % Type
- 0102 0408 1020 4080 % pattern
- FFFF 0000 8888 % Red with a middling of blue (purpleish?)
-
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- %
- % This test seeks to demonstrate that lines and text deal as they
- % should with type 2 pixpat patterns. It also has room for other additions.
- %
- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
- % Draw a normal line
- 0020 0010 0010 0020 00F0
-
- % set a thick pen size
- 0007 0010 0008
-
- % Draw a thick line
- 0020 0020 0010 0030 00F0
-
- 0028 0070 0010 (This is a simple line of text DOES IT GET PATTERNS?)
-
- 00FF % end
-