Q3CocoaDrawContext_GetNSView |
( TQ3Status ) Q3CocoaDrawContext_GetNSView ( TQ3DrawContextObject drawContext, void **nsView );
Get the NSView of a Cocoa draw context.
This function is not available in QD3D.
- drawContext
- The draw context to query.
- nsView
- Receives the NSView of the draw context.
Q3CocoaDrawContext_New |
( TQ3DrawContextObject ) Q3CocoaDrawContext_New ( const TQ3CocoaDrawContextData *drawContextData );
Create a new Cocoa draw context object.
This function is not available in QD3D.
- drawContextData
- The data for the Cocoa draw context object.
Q3CocoaDrawContext_SetNSView |
( TQ3Status ) Q3CocoaDrawContext_SetNSView ( TQ3DrawContextObject drawContext, void *nsView );
Set the NSView for a Cocoa draw context.
This function is not available in QD3D.
- drawContext
- The draw context to update.
- nsView
- The new NSView for the draw context.
Q3DDSurfaceDrawContext_GetDirectDrawSurface |
( TQ3Status ) Q3DDSurfaceDrawContext_GetDirectDrawSurface ( TQ3DrawContextObject drawContext, TQ3DDSurfaceDescriptor *ddSurfaceDescriptor );
Get the DD surface of a Win32 DD draw context.
- drawContext
- The draw context to query.
- ddSurfaceDescriptor
- Receives the DD surface of the draw context.
Q3DDSurfaceDrawContext_New |
( TQ3DrawContextObject ) Q3DDSurfaceDrawContext_New ( const TQ3DDSurfaceDrawContextData *drawContextData );
Create a new Win32 DD draw context object.
- drawContextData
- The data for the draw context.
Q3DDSurfaceDrawContext_SetDirectDrawSurface |
( TQ3Status ) Q3DDSurfaceDrawContext_SetDirectDrawSurface ( TQ3DrawContextObject drawContext, const TQ3DDSurfaceDescriptor *ddSurfaceDescriptor );
Set the DD surface for a Win32 DD draw context.
- drawContext
- The draw context to update.
- ddSurfaceDescriptor
- The new DD surface for the draw context.
Q3DrawContext_GetClearImageColor |
( TQ3Status ) Q3DrawContext_GetClearImageColor ( TQ3DrawContextObject context, TQ3ColorARGB *color );
Get the clear image colour of a draw context.
- context
- The draw context to query.
- color
- Receives the clear image colour.
Q3DrawContext_GetClearImageMethod |
( TQ3Status ) Q3DrawContext_GetClearImageMethod ( TQ3DrawContextObject context, TQ3DrawContextClearImageMethod *method );
Get the clear image method of a draw context.
- context
- The draw context to query.
- method
- Receives the clear image method.
Q3DrawContext_GetData |
( TQ3Status ) Q3DrawContext_GetData ( TQ3DrawContextObject context, TQ3DrawContextData *contextData );
Get the common state of a draw context.
- context
- The draw context to query.
- contextData
- Receives the common state for the draw context.
Q3DrawContext_GetDoubleBufferState |
( TQ3Status ) Q3DrawContext_GetDoubleBufferState ( TQ3DrawContextObject context, TQ3Boolean *state );
Get the double-buffer state of a draw context.
- context
- The draw context to query.
- state
- Receives true or false as the draw context is double-buffered.
Q3DrawContext_GetMask |
( TQ3Status ) Q3DrawContext_GetMask ( TQ3DrawContextObject context, TQ3Bitmap *mask );
Get the mask of a draw context.
- context
- The draw context to query.
- mask
- Receives the current draw context mask.
Q3DrawContext_GetMaskState |
( TQ3Status ) Q3DrawContext_GetMaskState ( TQ3DrawContextObject context, TQ3Boolean *state );
Get the mask state of a draw context.
- context
- The draw context to query.
- state
- Receives true or false as the mask is active.
Q3DrawContext_GetPane |
( TQ3Status ) Q3DrawContext_GetPane ( TQ3DrawContextObject context, TQ3Area *pane );
Get the area within the draw context which is rendered to.
Rendering within a draw context is constrained to within the active
pane. If no pane is active, renderers will draw to the entire
draw context (e.g., the bounds of the window).
Note that, unlike QD3D, Quesa will return the size of the entire
draw context if this routine is called on a draw context which has
not had an explicit pane set.
- context
- The draw context to query.
- pane
- Receives the dimensions of the rendered area.
Q3DrawContext_GetPaneState |
( TQ3Status ) Q3DrawContext_GetPaneState ( TQ3DrawContextObject context, TQ3Boolean *state );
Get the pane state of a draw context.
- context
- The draw context to query.
- state
- Receives true or false as the pane is active.
Q3DrawContext_GetType |
( TQ3ObjectType ) Q3DrawContext_GetType ( TQ3DrawContextObject drawContext );
Get the type of a draw context.
Returns kQ3ObjectTypeInvalid if the draw context type is unknown.
- drawContext
- The draw context to query.
Q3DrawContext_SetClearImageColor |
( TQ3Status ) Q3DrawContext_SetClearImageColor ( TQ3DrawContextObject context, const TQ3ColorARGB *color );
Set the clear image colour for a draw context.
- context
- The draw context to update.
- color
- The new clear image colour.
Q3DrawContext_SetClearImageMethod |
( TQ3Status ) Q3DrawContext_SetClearImageMethod ( TQ3DrawContextObject context, TQ3DrawContextClearImageMethod method );
Set the clear image method for a draw context.
- context
- The draw context to update.
- method
- The new clear image method.
Q3DrawContext_SetData |
( TQ3Status ) Q3DrawContext_SetData ( TQ3DrawContextObject context, const TQ3DrawContextData *contextData );
Set the common state for a draw context.
- context
- The draw context to update.
- contextData
- The new common state for the draw context.
Q3DrawContext_SetDoubleBufferState |
( TQ3Status ) Q3DrawContext_SetDoubleBufferState ( TQ3DrawContextObject context, TQ3Boolean state );
Set the double-buffer state of a draw context.
A double-buffered draw context will draw to an off-screen buffer as
objects are submited, and update the destination window/surface once
at the end of the frame.
- context
- The draw context to update.
- state
- True or false as the draw context is to be double-buffered.
Q3DrawContext_SetMask |
( TQ3Status ) Q3DrawContext_SetMask ( TQ3DrawContextObject context, const TQ3Bitmap *mask );
Set the mask for a draw context.
The mask field is a bitmap-level clipping mask, which clips the rendered
output as it is copied to the destination.
This feature is not currently supported by Quesa's interactive renderers.
- context
- The draw context to update.
- mask
- The new mask for the draw context.
Q3DrawContext_SetMaskState |
( TQ3Status ) Q3DrawContext_SetMaskState ( TQ3DrawContextObject context, TQ3Boolean state );
Set the mask state for a draw context.
- context
- The draw context to update.
- state
- True or false as the mask is active.
Q3DrawContext_SetPane |
( TQ3Status ) Q3DrawContext_SetPane ( TQ3DrawContextObject context, const TQ3Area *pane );
Set the area within the draw context which is rendered to.
Rendering within a draw context is constrained to within the active
pane. If no pane is active, renderers will draw to the entire
draw context (e.g., the bounds of the window).
- context
- The draw context to update.
- pane
- The area which rendering will be constrained to.
Q3DrawContext_SetPaneState |
( TQ3Status ) Q3DrawContext_SetPaneState ( TQ3DrawContextObject context, TQ3Boolean state );
Set the pane state for a draw context.
- context
- The draw context to update.
- state
- True or false as the pane is active.
Q3MacDrawContext_Get2DLibrary |
( TQ3Status ) Q3MacDrawContext_Get2DLibrary ( TQ3DrawContextObject drawContext, TQ3MacDrawContext2DLibrary *library );
Get the 2D library of a Mac draw context.
- drawContext
- The draw context to query.
- library
- Receives the 2D library of the draw context.
Q3MacDrawContext_GetGXViewPort |
( TQ3Status ) Q3MacDrawContext_GetGXViewPort ( TQ3DrawContextObject drawContext, gxViewPort *viewPort );
Get the QuickDraw GX port of a Mac draw context.
- drawContext
- The draw context to query.
- viewPort
- Receives the QuickDraw GX port of the draw context.
Q3MacDrawContext_GetGrafPort |
( TQ3Status ) Q3MacDrawContext_GetGrafPort ( TQ3DrawContextObject drawContext, CGrafPtr *grafPort );
Get the Mac OS GrafPort of a Mac draw context.
- drawContext
- The draw context to query.
- grafPort
- Receives the Mac OS GrafPort of the draw context.
Q3MacDrawContext_GetWindow |
( TQ3Status ) Q3MacDrawContext_GetWindow ( TQ3DrawContextObject drawContext, CWindowPtr *window );
Get the window of a Mac draw context.
- drawContext
- The draw context to query.
- window
- Receives the window of the draw context.
Q3MacDrawContext_New |
( TQ3DrawContextObject ) Q3MacDrawContext_New ( const TQ3MacDrawContextData *drawContextData );
Create a new Mac draw context object.
- drawContextData
- The data for the Mac draw context object.
Q3MacDrawContext_Set2DLibrary |
( TQ3Status ) Q3MacDrawContext_Set2DLibrary ( TQ3DrawContextObject drawContext, TQ3MacDrawContext2DLibrary library );
Set the 2D library for a Mac draw context.
- drawContext
- The draw context to update.
- library
- The new 2D library for the draw context.
Q3MacDrawContext_SetGXViewPort |
( TQ3Status ) Q3MacDrawContext_SetGXViewPort ( TQ3DrawContextObject drawContext, gxViewPort viewPort );
Set the QuickDraw GX port for a Mac draw context.
- drawContext
- The draw context to update.
- viewPort
- The new QuickDraw GX port for the draw context.
Q3MacDrawContext_SetGrafPort |
( TQ3Status ) Q3MacDrawContext_SetGrafPort ( TQ3DrawContextObject drawContext, CGrafPtr grafPort );
Set the Mac OS GrafPort for a Mac draw context.
- drawContext
- The draw context to update.
- grafPort
- The new Mac OS GrafPort for the draw context.
Q3MacDrawContext_SetWindow |
( TQ3Status ) Q3MacDrawContext_SetWindow ( TQ3DrawContextObject drawContext, CWindowPtr window );
Set the window for a Mac draw context.
- drawContext
- The draw context to update.
- window
- The new window for the draw context.
Q3PixmapDrawContext_GetPixmap |
( TQ3Status ) Q3PixmapDrawContext_GetPixmap ( TQ3DrawContextObject drawContext, TQ3Pixmap *pixmap );
Get the pixmap of a pixmap draw context.
- drawContext
- The draw context to query.
- pixmap
- Receives the pixmap of the draw context.
Q3PixmapDrawContext_New |
( TQ3DrawContextObject ) Q3PixmapDrawContext_New ( const TQ3PixmapDrawContextData *contextData );
Create a new Pixmap draw context object.
- contextData
- The data for the pixmap draw context object.
Q3PixmapDrawContext_SetPixmap |
( TQ3Status ) Q3PixmapDrawContext_SetPixmap ( TQ3DrawContextObject drawContext, const TQ3Pixmap *pixmap );
Set the pixmap for a pixmap draw context.
- drawContext
- The draw context to update.
- pixmap
- The new pixmap for the draw context.
Q3Win32DCDrawContext_GetDC |
( TQ3Status ) Q3Win32DCDrawContext_GetDC ( TQ3DrawContextObject drawContext, HDC *curHDC );
Get the DC for a Win32 DC draw context.
- drawContext
- The draw context to query.
- curHDC
- Receives the DC of the draw context.
Q3Win32DCDrawContext_New |
( TQ3DrawContextObject ) Q3Win32DCDrawContext_New ( const TQ3Win32DCDrawContextData *drawContextData );
Create a new Win32 DC draw context object.
- drawContextData
- The data for the Win32 DC draw context object.
Q3Win32DCDrawContext_SetDC |
( TQ3Status ) Q3Win32DCDrawContext_SetDC ( TQ3DrawContextObject drawContext, HDC newHDC );
Set the DC for a Win32 DC draw context.
- drawContext
- The draw context to update.
- newHDC
- The new DC for the draw context.
Q3XBuffers_New |
( TQ3XBufferObject ) Q3XBuffers_New ( Display *dpy, TQ3Uns32 numBuffers, Window window );
Create a new X11 buffer object.
Note - no QD3D documentation could be found for this routine. The
purpose of the function, and its parameters/result, have been assumed.
- dpy
- The X11 display.
- numBuffers
- The number of buffers to create.
- window
- The X11 window.
Q3XBuffers_Swap |
( void ) Q3XBuffers_Swap ( Display *dpy, TQ3XBufferObject buffers );
Swap the front and back buffers of an X11 buffer object.
Note - no QD3D documentation could be found for this routine. The
purpose of the function, and its parameters/result, have been assumed.
- dpy
- The X11 display.
- buffers
- The X11 buffer object.
Q3XDrawContext_GetColormap |
( TQ3Status ) Q3XDrawContext_GetColormap ( TQ3DrawContextObject drawContext, Colormap *colormap );
Get the Colormap of an X11 draw context.
- drawContext
- The draw context to query.
- colormap
- Receives the Colormap of the draw context.
Q3XDrawContext_GetColormapData |
( TQ3Status ) Q3XDrawContext_GetColormapData ( TQ3DrawContextObject drawContext, TQ3XColormapData *colormapData );
Get the Colormap data of an X11 draw context.
- drawContext
- The draw context to query.
- colormapData
- Receives the Colormap data of the draw context.
Q3XDrawContext_GetDisplay |
( TQ3Status ) Q3XDrawContext_GetDisplay ( TQ3DrawContextObject drawContext, Display **display );
Get the Display of an X11 draw context.
- drawContext
- The draw context to query.
- display
- Receives the Display of the draw context.
Q3XDrawContext_GetDrawable |
( TQ3Status ) Q3XDrawContext_GetDrawable ( TQ3DrawContextObject drawContext, Drawable *drawable );
Get the Drawable of an X11 draw context.
- drawContext
- The draw context to query.
- drawable
- Receives the Drawable of the draw context.
Q3XDrawContext_GetVisual |
( TQ3Status ) Q3XDrawContext_GetVisual ( TQ3DrawContextObject drawContext, Visual **visual );
Get the Visual of an X11 draw context.
- drawContext
- The draw context to query.
- visual
- Receives the Visual of the draw context.
Q3XDrawContext_New |
( TQ3DrawContextObject ) Q3XDrawContext_New ( const TQ3XDrawContextData *drawContextData );
Create a new X11 draw context object.
- drawContextData
- The data for the X11 draw context object.
Q3XDrawContext_SetColormap |
( TQ3Status ) Q3XDrawContext_SetColormap ( TQ3DrawContextObject drawContext, Colormap colormap );
Set the Colormap of an X11 draw context.
- drawContext
- The draw context to update.
- colormap
- The new Colormap for the draw context.
Q3XDrawContext_SetColormapData |
( TQ3Status ) Q3XDrawContext_SetColormapData ( TQ3DrawContextObject drawContext, const TQ3XColormapData *colormapData );
Set the Colormap data for an X11 draw context.
- drawContext
- The draw context to update.
- colormapData
- The new Colormap data for the draw context.
Q3XDrawContext_SetDisplay |
( TQ3Status ) Q3XDrawContext_SetDisplay ( TQ3DrawContextObject drawContext, const Display *display );
Set the Display for an X11 draw context.
- drawContext
- The draw context to update.
- display
- The new Display for the draw context.
Q3XDrawContext_SetDrawable |
( TQ3Status ) Q3XDrawContext_SetDrawable ( TQ3DrawContextObject drawContext, Drawable drawable );
Set the Drawable for an X11 draw context.
- drawContext
- The draw context to update.
- drawable
- The new Drawable for the draw context.
Q3XDrawContext_SetVisual |
( TQ3Status ) Q3XDrawContext_SetVisual ( TQ3DrawContextObject drawContext, const Visual *visual );
Set the Visual of an X11 draw context.
- drawContext
- The draw context to update.
- visual
- The new Visual for the draw context.
Q3X_GetVisualInfo |
( XVisualInfo * ) Q3X_GetVisualInfo ( Display *dpy, Screen *screen );
Get an X11 visual info.
Note - no QD3D documentation could be found for this routine. The
purpose of the function, and its parameters/result, have been assumed.
- dpy
- The X11 display.
- screen
- The X11 screen.
© 1999-2008 Quesa Developers (Last Updated 5/10/2008)