|
|
|
|
MGL_copyToBuffer
Copies a section of a device context to an offscreen buffer
Declaration
void MGLAPI MGL_copyToBuffer(
MGLDC *dc,
int left,
int top,
int right,
int bottom,
int dstLeft,
int dstTop,
MGLBUF *buf)
Prototype In
mgraph.h
Parameters
dc |
Device context to blit from |
left |
Left coordinate in device context to blit from |
top |
Top coordinate in device context to blit from |
right |
Right coordinate in device context to blit from |
bottom |
Bottom coordinate in device context to blit from |
dstLeft |
Left coordinate in buffer to blit to |
dstTop |
Top coordinate in buffer to blit to |
buf |
MGL buffer to blit to |
Description
This function is used to copy bitmap data from an MGL device context into an offscreen buffer. The information copied is clipped to the full dimensions of the buffer, and the source clipping rectangle in the source device context is ignored.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com