ftp.nice.ch/peanuts/GeneralData/Documents/openstep/OpenStepSpec_rtf.tar.gz#/OpenStepSpec_rtf/DisplayPostScript/TypesAndConstants/TypesAndConstants.rtf

This is TypesAndConstants.rtf in view mode; [Download] [Up]

paperh18648 margl-907 margr0 margt0 margb0 fi0 ri0 ql sb0 f1 fs24 Copyright f3 'e3f1 1994 by NeXT Computer, Inc.  All Rights Reserved.

s0 li100 fi0 ri1007 ql f0 b fs52 fs80 
fs52 Types and Constants
fs28 
fs52 pard s2 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs28 The Display PostScript Client Library is composed of system-dependent and a system-independent parts. The i Display PostScript System, Client Library Reference Manuali0 , by Adobe Systems, Incorporated, provides the specification for the system-independent portion of this library.
fs16 
fs28 The defined types, enumeration constants, and global variables that are part of OpenStep'27s system-dependent part of the Display PostScript Client Library are listed here.
fs16 
fs28 pard s1 li100 fi0 ri1007 ql f0 b fs36 fs84 
fs36 Defined Types
fs48 
fs36 pard s24 li2494 fi0 ri1007 ql tx7156 tx11188 fs28 Number Formats
fs14 
fs28 pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 f1 b0 typedef enum _DPSNumberFormat {
pard s2 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 fs16 
fs28 tab #ifdef __BIG_ENDIAN__
fi0 tab b tab dps_floatb0  = 48,
fi0 tab b tab dps_longb0  = 0,
fi0 tab b tab dps_shortb0  = 32
fi0 tab #else
fi0 tab b tab dps_floatb0  = 48+128,
fi0 tab b tab dps_longb0  = 0+128,
fi0 tab b tab dps_shortb0  = 32+128
fi0 tab #endif
fi0 tab } b DPSNumberFormatb0 ;
fs16 
fs28 fi0 Other permitted values are:
fs16 
fs28 pard s4 li1231 fi-376 ri1007 ql tx1231 tx2872 tx3250 'b7tab For 32-bit fixed-point numbers, use b dps_longb0  plus the number of bits in the fractional part.
fs16 
fs28 'b7tab For 16-bit fixed-point numbers, use b dps_shortb0  plus the number of bits in the fractional part.
fs16 
fs28 pard s28 li100 fi0 ri1007 ql f0 b fs24 
fs28 Backing Store Types
fs14 
fs28 pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 f1 b0 typedef enum _NSBackingStoreType {
tab b NSBackingStoreRetainedb0 ,
tab b NSBackingStoreNonretainedb0 ,
tab b NSBackingStoreBuffered
b0 } b NSBackingStoreTypeb0 ;
pard s28 li100 fi0 ri1007 ql f0 b fs48 
fs28 Compositing Operations
fs14 
fs28 pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 f1 b0 typedef enum _NSCompositingOperation {
tab b NSCompositeClearb0 ,
fi0 tab b NSCompositeCopyb0 ,
fi0 tab b NSCompositeSourceOverb0 ,
fi0 tab b NSCompositeSourceInb0 ,
fi0 tab b NSCompositeSourceOutb0 ,
fi0 tab b NSCompositeSourceAtopb0 ,
fi0 tab b NSCompositeDataOverb0 ,
fi0 tab b NSCompositeDataInb0 ,
fi0 tab b NSCompositeDataOutb0 ,
fi0 tab b NSCompositeDataAtopb0 ,
fi0 tab b NSCompositeXORb0 ,
fi0 tab b NSCompositePlusDarkerb0 ,
fi0 tab b NSCompositeHighlightb0 ,
fi0 tab b NSCompositePlusLighterb0 
fi0 } b NSCompositingOperationb0 ;
pard s28 li100 fi0 ri1007 ql f0 b fs48 
fs28 Window Ordering
fs14 
fs28 pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 f1 b0 typedef enum _NSWindowOrderingMode {
tab b NSWindowAboveb0 ,
tab b NSWindowBelowb0 ,
tab b NSWindowOut
b0 } b NSWindowOrderingModeb0 ;
pard s28 li100 fi0 ri1007 ql f0 b fs48 
fs28 User Path Operators
fs14 
fs28 pard s2 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs2 
fs28 These constants define the operator numbers used to construct the operator array parameter of DPSDoUserPath.
fs16 
fs28 pard s13 li7029 fi-6552 ri1007 ql tx6652 tx7030 typedef unsigned char b DPSUserPathOpb0 ;
pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 li2493 fi1 fi0 enum {
pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 tab b dps_setbboxb0 ,
tab b dps_movetob0 ,
tab b dps_rmovetob0 ,
tab b dps_linetob0 ,
tab b dps_rlinetob0 ,
tab b dps_curvetob0 ,
tab b dps_rcurvetob0 ,
tab b dps_arcb0 ,
tab b dps_arcnb0 ,
tab b dps_arctb0 ,
tab b dps_closepathb0 ,
tab b dps_ucache
b0 };
pard s28 li100 fi0 ri1007 ql f0 b fs48 
fs28 User Path Actions
fs14 
fs28 pard s2 li477 fi0 ri1007 ql tx2494 tx2872 tx3250 f1 b0 fs2 
fs28 These constants define the action of a DPSDoUserPath. In addition to the actions defined here, any other system name index may be used. See the i PostScript Language Reference Manuali0 , i Second Editioni0 , by Adobe Systems Incorporated, for a detailed list of system name indexes.
fs16 
fs28 pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 
typedef enum _DPSUserPathAction {
tab b dps_uappendb0 ,
tab b dps_ufillb0 ,
tab b dps_ueofillb0 ,
tab b dps_ustrokeb0 ,
tab b dps_ustrokepathb0 ,
tab b dps_inufillb0 ,
tab b dps_inueofillb0 ,
tab b dps_inustrokeb0 ,
tab b dps_defb0 ,
tab b dps_put
b0 } b DPSUserPathActionb0 ;
pard s1 li100 fi0 ri1007 ql f0 b fs36 fs100 
fs36 Enumerations
fs48 
fs36 pard s24 li2494 fi0 ri1007 ql tx7156 tx11188 fs28 Special Values for Alpha
fs14 
fs28 pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 f1 b0 enum {
tab b NSAlphaEqualToDatab0 ,
tab b NSAlphaAlwaysOne
b0 };
pard s28 li100 fi0 ri1007 ql f0 b fs48 
fs28 User Object Representing the PostScript Null Object
fs14 
fs28 pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 f1 b0 enum {
tab b DPSNullObjectb0  
};
pard s1 li100 fi0 ri1007 ql f0 b fs36 fs100 
fs36 Symbolic Constants
fs48 
fs36 s28 fs28 Error Code Base
fs14 
fs28 pard s10 li2494 fi0 ri1007 ql tx7156 tx11188 f1 b0 DPS_OPENSTEP_ERROR_BASE
fs14 
fs28 pard s1 li100 fi0 ri1007 ql f0 b fs36 fs86 
fs36 Global Variables
fs48 
fs36 s28 fs28 Exception Names
fs14 
fs28 pard s25 li2494 fi0 ri1007 ql tx3250 tx4006 f1 b0 NSString *b DPSPostscriptErrorException;
b0 NSString *b DPSNameTooLongException;
b0 NSString *b DPSResultTagCheckException;
b0 NSString *b DPSResultTypeCheckException;
b0 NSString *b DPSInvalidContextException;
b0 NSString *b DPSSelectException;
b0 NSString *b DPSConnectionClosedException;
b0 NSString *b DPSReadException;
b0 NSString *b DPSWriteException;
b0 NSString *b DPSInvalidFDException;
b0 NSString *b DPSInvalidTEException;
b0 NSString *b DPSInvalidPortException;
b0 NSString *b DPSOutOfMemoryException;
b0 NSString *b DPSCantConnectException;
b0 
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.