#include <GraphicsData.h>
GraphicsData is a data container interface which is passed into drawing code for shapes. GraphicsData contains a set of the most commonly used interfaces for drawing.
- See Also
- IGraphicsPort
- IRasterPort
- IDrwEvtDispatcher
- IDrawMgr
- IControlView
- IViewPort
- IViewPortAttributes
- ILayoutController
- IGraphicsContext
| const PMMatrix & GraphicsData::GetContentToViewMatrix | ( | | ) | const |
| inline |
Gets the transform matrix for converting from pasteboard to device coordinates
- See Also
- PMMatrix
- Returns
- the CTM
| IDrawMgr * GraphicsData::GetDrawManager | ( | | ) | const |
| inline |
Gets the draw manager for this graphics data
Note: The draw manager will never be nil
- See Also
- IDrawMgr
- Returns
- an IDrawMgr instance
Gets the active draw options If drawablePageItemInterface is non-nil AND we are not printing (see IViewPortAttributes::GetViewPortIsPrintingPort()) AND "Ignore Local Overrides" is not set in the workspace's IDrawOptions settings, then drawablePageItemInterface will be checked for local overrides. If no local overrides exist or the argument is nil, then the draw options will be based upon the ViewPortAttribute settings, the workspace's IDrawOptions settings and the view's IDrawOptionsSetID.
- See Also
- DrawOptionsSet
- Returns
- the draw options to use
Gets the graphics port for this graphics data
Note: The graphics port will never be nil
- See Also
- IGraphicsPort
- Returns
- an IGraphicsPort instance
Gets the layout controller for this graphics data
Note: The layout controller will not be nil during calls to inval, but may be nil otherwise
- See Also
- ILayoutController
- Returns
- an ILayoutController instance
Gets the raster port for this graphics data
Note: The raster port may be nil if not drawing to the screen.
- See Also
- IRasterPort
- Returns
- an IRasterPort instance, or nil
Gets the control view for this graphics data
Note: The control view may be nil (nil indicates drawing to a printer or other non-screen device)
- See Also
- IControlView
- Returns
- an IControlView instance, or nil
| IViewPort * GraphicsData::GetViewPort | ( | | ) | const |
| inline |
Gets the view port for this graphics data
Note: The viewport will never be nil
- See Also
- IViewPort
- Returns
- an IViewPort instance
| const PMMatrix & GraphicsData::GetViewToContentMatrix | ( | | ) | const |
| inline |
Gets the inverse transform matrix for converting from device to pasteboard coordinates
- See Also
- PMMatrix
- Returns
- the inverse CTM