58 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			58 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| compile insert ps_Font_Equates
 | |
| /*
 | |
|    ** Copyright (C) 2013 Revelation Software Inc. All Rights Reserved **
 | |
|    
 | |
|    Author   : Wile C Coyote - Super Genius
 | |
|    Date     : June 2013
 | |
|    Purpose  : Constants for working with PS FONT structures
 | |
|    
 | |
|    
 | |
|    Comments
 | |
|    ========
 | |
|    
 | |
|    
 | |
|    Amended  Date        Reason
 | |
|    =======  ====        ======
 | |
|    Mr C     31 May 16   Removed ND comments
 | |
| */
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #ifndef _PS_FONT_EQUATES_
 | |
| #define _PS_FONT_EQUATES_
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| 
 | |
|    * // OI FONT property structure position equates
 | |
|    equ PS_FONT_POS_FACENAME$          to 1
 | |
|    equ PS_FONT_POS_HEIGHT$            to 2
 | |
|    equ PS_FONT_POS_WEIGHT$            to 3
 | |
|    equ PS_FONT_POS_ITALIC$            to 4
 | |
|    equ PS_FONT_POS_UNDERLINE$         to 5
 | |
|    equ PS_FONT_POS_WIDTH$             to 6
 | |
|    equ PS_FONT_POS_CHARSET$           to 7
 | |
|    equ PS_FONT_POS_PITCHANDFAMILY$    to 8
 | |
|    equ PS_FONT_POS_STRIKEOUT$         to 9
 | |
|    equ PS_FONT_POS_OUTPRECISION$      to 10
 | |
|    equ PS_FONT_POS_CLIPPRECISION$     to 11
 | |
|    equ PS_FONT_POS_QUALITY$           to 12
 | |
|    
 | |
|    * // Define common attribute fields 
 | |
|    equ PS_FONT_POS_COMMON_ATTRIB$     to PS_FONT_POS_QUALITY$
 | |
|    
 | |
|    * // Get_Property positions
 | |
|    equ PS_FONT_POS_ASCENT$            to 13
 | |
|    equ PS_FONT_POS_INTERNALLEADING$   to 14
 | |
|    equ PS_FONT_POS_EXTERNALLEADING$   to 15
 | |
|    equ PS_FONT_POS_MAXCHARWIDTH$      to 16
 | |
|    
 | |
|    * // Set_Property positions
 | |
|    equ PS_FONT_POS_CLR_RED$           to 13
 | |
|    equ PS_FONT_POS_CLR_GREEN$         to 14
 | |
|    equ PS_FONT_POS_CLR_BLUE$          to 15
 | |
|    
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| #endif   
 | |
| ///////////////////////////////////////////////////////////////////////////////
 | |
| ///////////////////////////////////////////////////////////////////////////////
 |