next up previous 264
Next: AST_GETLINE - Obtain text to be written by a Channel sink routine
Up: AST Routine Descriptions
Previous: AST_GETFRAME - Obtain a pointer to a specified Frame in a FrameSet


AST_GETGRFCONTEXT - Return the KeyMap that describes a Plot's graphics context

Description:
This routine returns a reference to a KeyMap that will be passed to any drawing routines registered using AST_GRFSET. This KeyMap can be used by an application to pass information to the drawing routines about the context in which they are being called. The contents of the KeyMap are never accessed byt the Plot class itself.
Invocation:
RESULT = AST_GETGRFCONTEXT( THIS, STATUS )
Arguments:
THIS = INTEGER (Given)
Pointer to the Plot.
STATUS = INTEGER (Given and Returned)
The global status.
Returned Value:
AST_GETGRFCONTEXT = INTEGER
A pointer to the graphics context KeyMap. The returned pointer should be annulled when it is no longer needed.


next up previous 264
Next: AST_GETLINE - Obtain text to be written by a Channel sink routine
Up: AST Routine Descriptions
Previous: AST_GETFRAME - Obtain a pointer to a specified Frame in a FrameSet

AST A Library for Handling World Coordinate Systems in Astronomy
Starlink User Note 210
R.F. Warren-Smith & D.S. Berry
24th May 2011
E-mail:ussc@star.rl.ac.uk

Copyright (C) 2009 Science \& Technology Facilities Council