Function: GgiPlotCopy Purpose: Copy one plot a pixmap ("frame") to another. Category: USER-INTERFACE, GRAPHICS File: ggi.src Author: J.P. Terlouw Use: #include "ggi.h" ident plotter; int src, dst; GgiPlotCopy(plotter, src, dst); plotter - the plotfield element. src - the source frame number, starting with 0 (zero). src - the destination frame number. Description: GgiPlotCopy copies one plot pixmap to another. If a TrueColor visual is used, the operation may be more efficient if the difference of src and dst is a multiple of the visual's depth divided by eight, i.e. if src%(depth/8)==dst%(depth/8). This depends on the implemantation of the X server used and the graphics hardware. This operation can be used when making an animation where the background of the image is constant for every frame. Then the background is copied to one frame once and this frame is repeatedly copied to another frame where the variable information will be added whereafter this modified frame is shown in the window using GgiPlotShow(). To be able to draw in an off-screen pixmap, GgiPlotDest() must have been called first. Related documents: GgiPlotDest.dc2, GgiPlotFrames.dc2, GgiPlotRecord.dc2, GgiPlotShow.dc2. Updates: Mar 9, 2005: JPT, Document created.