Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
| Defined Types
DPSContextRec |
| DECLARED IN dpsclient/dpsfriends.h |
} DPSContextRec, *DPSContext; |
| DESCRIPTION The DPSContextRec structure represents a Display PostScript context. |
| DPSContextType |
| DECLARED IN dpsclient/dpsfriends.h |
} DPSContextType; |
| DESCRIPTION These represent the context types supported by NeXT's version of Display PostScript, as used in the type field of a DPSContextRec structure. |
| DPSErrorCode |
| DECLARED IN dpsclient/dpsclient.h |
} DPSErrorCode; |
| DESCRIPTION Error codes passed to a DPSErrorProc() function. |
| DPSEventFilterFunc |
| DECLARED IN dpsclient/dpsNeXT.h |
| DESCRIPTION Call-back function used to filter events. |
| DPSFDProc |
| DECLARED IN dpsclient/dpsNeXT.h |
| DESCRIPTION Call-back function used when a file descriptor is registered through DPSAddFD(). |
| DPSNumberFormat |
| DECLARED IN dpsclient/dpsNeXT.h |
| #ifdef _ _BIG_ENDIAN_ _ #else } DPSNumberFormat; |
| DESCRIPTION These constants are used by the DPSDoUserPath() function to describe the type of numbers that are being passed. |
| DPSPingProc |
| DECLARED IN dpsclient/dpsNeXT.h |
| DESCRIPTION Call-back function used by DPSAsynchronousWaitContext(). |
| DPSPortProc |
| DECLARED IN dpsclient/dpsNeXT.h |
| DESCRIPTION Call-back function used when a port is registered through DPSAddPort(). |
| DPSTimedEntry |
| DECLARED IN dpsclient/dpsNeXT.h |
| DESCRIPTION The return type for DPSAddTimedEntry(). |
| DPSTimedEntryProc |
| DECLARED IN dpsclient/dpsNeXT.h |
| DESCRIPTION Call-back function used when a timed entry is registered through DPSAddTimedEntry(). |
| DPSUserPathAction |
| DECLARED IN dpsclient/dpsNeXT.h |
} DPSUserPathAction; |
| DESCRIPTION These constants are convenient representations of some of the PostScript operator indices, suitable for enrollment in the action array passed to DPSDoUserPath(). |
| DPSUserPathOp |
| DECLARED IN dpsclient/dpsNeXT.h |
} DPSUserPathOp; |
| DESCRIPTION These constants represent the PostScript operators that can be passed in DPSDoUserPath()'s operator array. |
| NXCoord |
| DECLARED IN dpsclient/event.h |
| DESCRIPTION Used to represent a single coordinate in a Cartesian coordinate system. |
| NXEvent |
| DECLARED IN dpsclient/event.h |
} NXEvent, *NXEventPtr; |
| DESCRIPTION Represents a single event; this structure is also known as the event record. The fields are: |
| type | The type of event (see "Event Types," below) | |
| location | The event's location in the base coordinate system of its window | |
| time | The time of the event (in hardware-dependent units) since system startup | |
| flags | Mouse-button and modifier-key flags (see "Event Flags," below) | |
| window | The window number of the window associated with the event | |
| data | Additional type-specific data (see "NXEventData," below) | |
| ctxt | The PostScript context of the event |
| NXEventData |
| DECLARED IN dpsclient/event.h |
} NXEventData; |
| DESCRIPTION This structure supplies type-specific information for an event. It's a union of four structures, where the type of the event determines which structure is pertinent: |
| mouse is used for mouse events. | ||
| key is used for keyboard events. | ||
| tracking is for tracking-rectangle events. | ||
| compound is for system-, kit-, and application-defined events. |
| NXPoint |
| DECLARED IN dpsclient/event.h |
} NXPoint; |
| DESCRIPTION Represents a point in a Cartesian coordinate system. |
| NXSize |
| DECLARED IN dpsclient/event.h |
} NXSize; |
| DESCRIPTION Represents a two-dimensional size. |
| Symbolic Constants
All Contexts |
| DECLARED IN dpsclient/dpsNeXT.h |
| DESCRIPTION This constant represents all extant contexts. |
| Alpha Constants |
| DECLARED IN dpsclient/dpsNeXT.h |
| NX_ONES |
| DESCRIPTION These constants represent alpha values. |
| Character Set Values |
| DECLARED IN dpsclient/event.h |
| NX_SYMBOLSET NX_DINGBATSSET |
| DESCRIPTION These constants represent the values that may occur in the data.key.charSet field of an NXEvent structure. |
| Compositing Operations |
| DECLARED IN dpsclient/dpsNeXT.h |
| NX_COPY NX_SOVER NX_SIN NX_SOUT NX_SATOP NX_DOVER NX_DIN NX_DOUT NX_DATOP NX_XOR NX_PLUSD NX_HIGHLIGHT NX_PLUSL |
| DESCRIPTION These represent the compositing operations used by PScomposite() and the NXImage class. |
| Error Code Bases |
| DECLARED IN dpsclient/dpsclient.h |
| DPS_NEXT_ERROR_BASE |
| DESCRIPTION These constants represent the lowest values for Display PostScript error codes. |
| Event Types |
| DECLARED IN dpsclient/event.h |
| NX_NULLEVENT | A non-event | |
| NX_LMOUSEDOWN | Left mouse-down | |
| NX_LMOUSEUP | Left mouse-up | |
| NX_LMOUSEDRAGGED | left mouse-dragged | |
| NX_MOUSEDOWN | Same as NX_LMOUSEDOWN | |
| NX_MOUSEUP | Same as NX_LMOUSEUP | |
| NX_MOUSEDRAGGED | Same as NX_LMOUSEDRAGGED | |
| NX_RMOUSEDOWN | Right mouse-down | |
| NX_RMOUSEUP | Right mouse-up | |
| NX_RMOUSEDRAGGED | Right mouse-dragged | |
| NX_MOUSEMOVED | Mouse-moved | |
| NX_MOUSEENTERED | Mouse-entered | |
| NX_MOUSEEXITED | Mouse-exited | |
| NX_KEYDOWN | Key-down | |
| NX_KEYUP | Key-up event | |
| NX_FLAGSCHANGED | Flags-changed | |
| NX_KITDEFINED | Application Kit-defined | |
| NX_SYSDEFINED | System-defined | |
| NX_APPDEFINED | Application-defined | |
| NX_TIMER | Timer used for tracking | |
| NX_CURSORUPDATE | Cursor tracking | |
| NX_JOURNALEVENT | Event used by journaling | |
| NX_FIRSTEVENT | The smallest-valued event constant | |
| NX_LASTEVENT | The greatest-valued event constant | |
| NX_ALLEVENTS | A value that includes all event types |
| DESCRIPTION These constants represent event types. They're passed as the type field of the NXEvent structure that's created when an event occurs. |
| Event Type Masks |
| DECLARED IN dpsclient/event.h |
| NX_LMOUSEDOWNMASK NX_LMOUSEUPMASK NX_RMOUSEDOWNMASK NX_RMOUSEUPMASK NX_MOUSEMOVEDMASK NX_LMOUSEDRAGGEDMASK NX_RMOUSEDRAGGEDMASK NX_MOUSEENTEREDMASK NX_MOUSEEXITEDMASK NX_KEYDOWNMASK NX_KEYUPMASK NX_FLAGSCHANGEDMASK NX_KITDEFINEDMASK NX_APPDEFINEDMASK NX_SYSDEFINEDMASK NX_TIMERMASK NX_CURSORUPDATEMASK NX_MOUSEDOWNMASK NX_MOUSEUPMASK NX_MOUSEDRAGGEDMASK NX_JOURNALEVENTMASK |
| DESCRIPTION These masks correspond to the event types defined immediately above. They let you query the type field of an NXEvent structure for the existence of a particular event type. |
| Forever |
| DECLARED IN dpsclient/dpsNeXT.h |
| DESCRIPTION A long, long time. Typically used as the timeout argument to DPSGetEvent(). |
| Keyboard State Flags Masks |
| DECLARED IN dpsclient/event.h |
| NX_ALPHASHIFTMASK | Shift lock | |
| NX_SHIFTMASK | Shift key | |
| NX_CONTROLMASK | Control key | |
| NX_ALTERNATEMASK | Alt key | |
| NX_COMMANDMASK | Command key | |
| NX_NUMERICPADMASK | Number pad key | |
| NX_HELPMASK | Help key | |
| NX_NEXTCTRLKEYMASK | Control key | |
| NX_NEXTLSHIFTKEYMASK | Left shift key | |
| NX_NEXTRSHIFTKEYMASK | Right shift key | |
| NX_NEXTLCMDKEYMASK | Left command key | |
| NX_NEXTRCMDKEYMASK | Right command key | |
| NX_NEXTLALTKEYMASK | Left alt key | |
| NX_NEXTRALTKEYMASK | Right alt key |
| DESCRIPTION These masks correspond to keyboard states that might be included in an NXEvent structure's flags mask. The masks are grouped as device-independent (NX_ALPHASHIFTMASK through NX_HELPMASK) and device-dependent (all others). |
| Miscellaneous Event Flags Masks |
| DECLARED IN dpsclient/event.h |
| NX_STYLUSPROXIMITYMASK | Stylus is in proximity (for tablets) | |
| NX_NONCOALSESCEDMASK | Event coalescing disabled |
| DESCRIPTION These masks correspond to miscellaneous states that might be included in an NXEvent structure's flags mask. |
| Window Backing Types |
| DECLARED IN dpsclient/dpsNeXT.h |
| NX_NONRETAINED NX_BUFFERED |
| DESCRIPTION These represent the three backing types provided by window devices (and used by the Application Kit's Window objects). |
| Window Screen List Placement |
| DECLARED IN dpsclient/dpsNeXT.h |
| NX_BELOW NX_OUT |
| DESCRIPTION These represent the placement of a window device in the screen list. |