#include <ipecanvas_cocoa.h>
Inherits ipe::CanvasBase.
|
enum | TModifiers {
EShift = 0x100
, EControl = 0x200
, EAlt = 0x400
, EMeta = 0x800
,
ECommand = 0x1000
} |
enum | TCursor { EStandardCursor
, EHandCursor
, ECrossCursor
, EDotCursor
} |
static int | selectPageOrView (Document *doc, int page=-1, int startIndex=0, int pageWidth=240, int width=600, int height=480) |
| CanvasBase () |
void | drawPaper (cairo_t *cc) |
void | drawFrame (cairo_t *cc) |
void | drawAxes (cairo_t *cc) |
void | drawGrid (cairo_t *cc) |
void | drawObjects (cairo_t *cc) |
void | drawTool (Painter &painter) |
void | snapToPaperAndFrame () |
void | refreshSurface () |
void | computeFifi (double x, double y) |
void | drawFifi (cairo_t *cr) |
CanvasObserver * | iObserver |
Tool * | iTool |
const Page * | iPage |
int | iPageNumber |
int | iView |
const Cascade * | iCascade |
Style | iStyle |
Vector | iPan |
double | iZoom |
Snap | iSnap |
bool | iDimmed |
bool | iAutoSnap |
Vector | iAutoOrigin |
int | iAdditionalModifiers |
bool | isInkMode |
bool | iRepaintObjects |
double | iWidth |
double | iHeight |
double | iBWidth |
double | iBHeight |
cairo_surface_t * | iSurface |
Vector | iUnsnappedMousePos |
Vector | iMousePos |
Vector | iGlobalPos |
Vector | iOldFifi |
bool | iFifiVisible |
Snap::TSnapModes | iFifiMode |
bool | iSelectionVisible |
const PdfResources * | iResources |
std::unique_ptr< Fonts > | iFonts |
bool | iType3Font |
◆ Canvas()
Canvas::Canvas |
( |
IpeCanvasView * | view | ) |
|
◆ ~Canvas()
◆ view()
IpeCanvasView * Canvas::view |
( |
| ) |
|
|
inline |
◆ button()
void Canvas::button |
( |
bool | press, |
|
|
NSEvent * | event ) |
◆ mouseMove()
void Canvas::mouseMove |
( |
NSEvent * | event | ) |
|
◆ key()
bool Canvas::key |
( |
NSEvent * | event | ) |
|
◆ scrollWheel()
void Canvas::scrollWheel |
( |
NSEvent * | event | ) |
|
◆ magnify()
void Canvas::magnify |
( |
NSEvent * | event | ) |
|
◆ drawRect()
void Canvas::drawRect |
( |
NSRect | rect | ) |
|
References ipe::CanvasBase::canvasTfm(), ipe::CanvasBase::drawFifi(), ipe::CanvasBase::drawTool(), ipe::CanvasBase::iBHeight, ipe::CanvasBase::iBWidth, ipe::CanvasBase::iCascade, ipe::CanvasBase::iFifiVisible, ipe::CanvasBase::iFonts, ipe::CanvasBase::iHeight, ipe::CanvasBase::iPage, ipe::CanvasBase::iSurface, ipe::CanvasBase::iWidth, ipe::CanvasBase::iZoom, ipe::Painter::popMatrix(), ipe::Painter::pushMatrix(), ipe::CanvasBase::refreshSurface(), and ipe::Painter::transform().
The documentation for this class was generated from the following files:
- ipecanvas_cocoa.h
- ipecanvas_cocoa.cpp
- ipecanvas_gtk.cpp
- ipecanvas_qt.cpp
- ipecanvas_win.cpp