Important: The information in this document is obsolete and should not be used for new development.
GXGetViewPortFilter
You can use theGXGetViewPortFilter
function to return the view device of a specified graphics device.
gxUserViewPortFilter GXGetViewPortFilter(gxViewPort portOrder, long *refCon);
- portOrder
- A reference to the view port whose currently installed view port filter you need.
- refCon
- A pointer to a
long
value. On return, the value is the reference constant that was passed to theGXSetViewPortFilter
function when the filter function was installed.- function result
- A pointer to the view port filter function that is installed in the specified view port.
DESCRIPTION
TheGXGetViewPortFilter
function returns a pointer to the view port filter that is currently installed in the specified view port. The function also returns, in the refCon parameter, the reference constant that was passed toGXSetViewPortFilter
when the filter function was installed.ERRORS, WARNINGS, AND NOTICES
Errors out_of_memory invalid_viewPort_reference SEE ALSO
TheGXSetViewPortFilter
function is described in the previous section.For a description of the prototype of the view port filter function, see page 1-40.