C++
virtual void getSnapShot( Atil::Image * pOutput, AcGsDCPoint const & offset ) = 0;
Description
This function gets a snapshot of the current graphics state of the view.
On return from the call, pOutput points to the Atil::Image containing the snapshot. The caller is responsible for constructing and destructing this parameter and configuring it with the following information: image size, image orientation, image pixel order (RGB or BGR), and color depth (24 bits/16 bits/8 bits).
The offset parameter specifies the lower-left corner of the rectangular region whose contents will be in the snapshot. The size of the region must be specified as part of the Atil::Image parameter. The snapshot contents are restricted to the intersection of this region with the extents of the view.
See the ATIL documentation for information about the Atil::Image class.
Parameters
Parameters | Description |
---|---|
pOutput | Output pointer to the snapshot |
offset | Input lower-left corner of the region in the snapshot |