Inheritance diagram for ScribbleObject::
Public Methods | |
ScribbleObject (double x, double y, double w, double h) | |
Create ScribbleObject with top-left corner of bounding box at position (x, y), and size (w, h). More... | |
ScribbleObject (double x, double y, double w, double h, int mode) | |
Create ScribbleObject with top-left corner of bounding box at position (x, y), size (w, h), and drawmode 'mode'. More... | |
ScribbleObject (double x, double y, double w, double h, int mode, double ccs_scale) | |
Create ScribbleObject with top-left corner of bounding box at position (x, y), size (w, h), drawmode 'mode', and scalefactor 'ccs_scale' (used for conversion between the Image Coordinate System and the Canvas Coordinate System). More... | |
void | setDimension (double w, double h) |
Resize CanvasObject to width 'w' and height 'h'. More... | |
void | setPosition (double x, double y) |
Place top left position of CanvasObject's bounding box at position (x, y). More... | |
void | doPixelFit (double zoomFactor) |
Round internal ICS values to nearest natural number. More... | |
void | doMove (double w, double h) |
Move CanvasObject 'w' positions in x-direction, and 'h' posi- tions in y-direction. More... | |
ScribbleObject (int x, int y, int w, int h, int mode, double ccs_scale) | |
void | setPosition (int x, int y) |
void | setDimension (int w, int h) |
void | doMove (int w, int h) |
|
Create ScribbleObject with top-left corner of bounding box at position (x, y), and size (w, h). Parameters are assumed Image Coordinate System values. |
|
Create ScribbleObject with top-left corner of bounding box at position (x, y), size (w, h), and drawmode 'mode'. Parameters are assumed Image Coordinate System values. |
|
Create ScribbleObject with top-left corner of bounding box at position (x, y), size (w, h), drawmode 'mode', and scalefactor 'ccs_scale' (used for conversion between the Image Coordinate System and the Canvas Coordinate System). Parameters are assumed Image Coordinate System values. Related CCS values are calculated according to 'ccs_scale'. |
|
|
|
Resize CanvasObject to width 'w' and height 'h'. Parameters are assumed Image Coordinate System values. Reimplemented in CanvasArrow, CanvasArrowGrid, CanvasBlob, CanvasChain, CanvasFigureAggregate, CanvasLine, CanvasMask, CanvasOval, CanvasPoint, CanvasPolyline, CanvasRectangle, and CanvasString. |
|
Place top left position of CanvasObject's bounding box at position (x, y). Parameters are assumed Image Coordinate System values. Reimplemented in CanvasArrow. |
|
Round internal ICS values to nearest natural number. Although the ICS values are changed, they are not converted to 'integer' internally. Reimplemented in CanvasBlob, CanvasChain, CanvasFigureAggregate, CanvasLine, CanvasMask, CanvasOval, CanvasPoint, CanvasPolyline, CanvasRectangle, and CanvasString. |
|
Move CanvasObject 'w' positions in x-direction, and 'h' posi- tions in y-direction. Parameters are assumed Image Coordinate System values. Reimplemented in CanvasArrowGrid, CanvasBlob, CanvasChain, CanvasFigureAggregate, CanvasLine, and CanvasPolyline. |
|
Reimplemented in CanvasArrow. |
|
Reimplemented in CanvasArrow, CanvasArrowGrid, CanvasBlob, CanvasChain, CanvasFigureAggregate, CanvasLine, CanvasMask, CanvasOval, CanvasPoint, CanvasPolyline, CanvasRectangle, and CanvasString. |
|
Reimplemented in CanvasArrow, CanvasArrowGrid, CanvasBlob, CanvasChain, CanvasFigureAggregate, CanvasLine, and CanvasPolyline. |