![]() | InDesign SDK 20.5 |
#include <GraphicsData.h>
Public Member Functions | |
| GraphicsDataPtr (IGraphicsContext *gc) | |
| ~GraphicsDataPtr () | |
| GraphicsData * | operator-> () const |
| operator GraphicsData * () | |
A simple wrapper for a GraphicsData object
Use this to manage the lifetime of a GraphicsData which will be constructed for you from an IGraphicsContext.
Warning: This does not support copy semantics and will crash if copy constructed or assigned!
| GraphicsDataPtr::GraphicsDataPtr | ( | IGraphicsContext * | gc | ) |
Wrap the IGraphicsContext in a GraphicsData object
| gc | IN The graphics context to be wrapped |
| GraphicsDataPtr::~GraphicsDataPtr | ( | ) |
Destructor
| inline |
Implicit conversion to a GraphicsData *
| inline |
Allows calling GraphicsData methods through a GraphicsDataPtr