next up previous 264
Next: astGrfSet - Register a graphics function for use by a Plot
Up: AST Function Descriptions
Previous: astGrfPop - Restore previously saved graphics functions used by a Plot


astGrfPush - Save the current graphics functions used by a Plot

Description:
This function takes a snapshot of the graphics functions which are currently registered with the supplied Plot, and saves the snapshot on a first-in-last-out stack within the Plot. The snapshot can be restored later using function astGrfPop.

The astGrfPush and astGrfPop functions are intended for situations where it is necessary to make temporary changes to the graphics functions used by the Plot. The current functions should first be saved by calling astGrfPush. New functions should then be registered using astGrfSet. The required graphics should then be produced. Finally, astGrfPop should be called to restore the original graphics functions.

Synopsis:
void astGrfPush( AstPlot $*$this )
Parameters:
this
Pointer to the Plot.


next up previous 264
Next: astGrfSet - Register a graphics function for use by a Plot
Up: AST Function Descriptions
Previous: astGrfPop - Restore previously saved graphics functions used by a Plot

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

Copyright (C) 2009 Science \& Technology Facilities Council