Improve PICT compatibility, add batch mode to gpr2gpa

This commit is contained in:
elasota
2020-05-17 17:54:58 -04:00
parent 35308e41f3
commit 153213e079
19 changed files with 870 additions and 158 deletions

View File

@@ -3,7 +3,13 @@ PL_PICTOP(0x0001, kClipRegion, Rule_SizeTagged16)
PL_PICTOP(0x0002, kBackPattern, 8)
PL_PICTOP(0x0003, kTextFont, 2)
PL_PICTOP(0x0004, kTextFontStyle, 1)
PL_PICTOP(0x0005, kTextSourceMode, 2)
PL_PICTOP(0x0005, kTextSourceMode, 2)
PL_PICTOP(0x0007, kPenSize, 4)
PL_PICTOP(0x0008, kPenMode, 2)
PL_PICTOP(0x0009, kPenPattern, 8)
PL_PICTOP(0x000c, kOrigin, 4) // Relative
PL_PICTOP(0x001a, kRGBForeColor, 6)
PL_PICTOP(0x001b, kRGBBackColor, 6)
PL_PICTOP(0x001e, kDefaultHilite, 0)
PL_PICTOP(0x001f, kOpColor, 6)
PL_PICTOP(0x0030, kFrameRect, 8)
@@ -15,4 +21,6 @@ PL_PICTOP(0x0098, kPackBitsRect, Rule_PackBitsRect)
PL_PICTOP(0x0099, kPackBitsRgn, Rule_PackBitsRgn)
PL_PICTOP(0x009a, kDirectBitsRect, Rule_DirectBitsRect)
PL_PICTOP(0x009b, kDirectBitsRgn, Rule_DirectBitsRgn)
PL_PICTOP(0x8200, kCompressedQT, Rule_SizeTagged32)
PL_PICTOP(0x8201, kUncompressedQT, Rule_SizeTagged32)
PL_PICTOP(0x00ff, kEndOfPicture, 0)