; ; File: PictUtil.a ; ; Contains: The assembly interfaces file for picture utilities. ; ; Copyright: © 1990 by Apple Computer, Inc., all rights reserved. ; IF &TYPE('__IncludingPictUtil__') = 'UNDEFINED' THEN __IncludingPictUtil__ SET 1 ;---------------------------------------------------------------------------------------------------- ; verbs for the GetPictInfo, GetPixMapInfo, and NewPictInfo calls returnColorTable EQU $0001 returnPalette EQU $0002 recordComments EQU $0004 recordFontInfo EQU $0008 suppressBlackAndWhite EQU $0010 ; color pick methods systemMethod EQU 0 popularMethod EQU 1 medianMethod EQU 2 ; color bank types ColorBankIsCustom EQU -1 ColorBankIsExactAnd555 EQU 0 ColorBankIs555 EQU 1 ;---------------------------------------------------------------------------------------------------- CommentSpec RECORD 0 count ds.w 1 ID ds.w 1 ENDR ;---------------------------------------------------------------------------------------------------- FontSpec RECORD 0 pictFontID ds.w 1 sysFontID ds.w 1 size ds.l 4 style ds.w 1 nameOffset ds.l 1 ENDR ;---------------------------------------------------------------------------------------------------- PictInfoRecord RECORD 0 version ds.w 1 uniqueColors ds.l 1 thePalette ds.l 1 theColorTable ds.l 1 hRes ds.l 1 vRes ds.l 1 depth ds.w 1 sourceRect ds.w 4 textCount ds.l 1 lineCount ds.l 1 rectCount ds.l 1 rRectCount ds.l 1 ovalCount ds.l 1 arcCount ds.l 1 polyCount ds.l 1 regionCount ds.l 1 bitMapCount ds.l 1 pixMapCount ds.l 1 commentCount ds.l 1 uniqueComments ds.l 1 commentHandle ds.l 1 uniqueFonts ds.l 1 fontHandle ds.l 1 fontNamesHandle ds.l 1 reserved1 ds.l 1 reserved2 ds.l 1 ENDR ;---------------------------------------------------------------------------------------------------- ENDIF ; ...already included