|
Muvicado HD
|
Mode for drawing by tracing over existing elements or guides. More...
#include <DrawTraceMode.h>


Instance Methods | |
| (id) | - init [implementation] |
| (NSCursor *) | - cursor [implementation] |
| (void) | - applyTrace [implementation] |
| (void) | - moveLastPoint: [implementation] |
| (void) | - mouseDown: [implementation] |
| (void) | - mouseDraggedOrMoved:whileDown: [implementation] |
| (void) | - mouseDragged: [implementation] |
| Forwards to the shared drag/move handler. | |
| (void) | - mouseMoved: [implementation] |
| Forwards to the shared drag/move handler. | |
| (void) | - mouseUp: [implementation] |
| (void) | - setUp [implementation] |
| (void) | - cleanUp [implementation] |
| (NSString *) | - name [implementation] |
| Instance Methods inherited from Mode | |
| (id) | - initWithPlayArea:forController: |
| (void) | - keyDown: |
| No-op default implementation; subclasses override. | |
| (void) | - drawRect: |
| No-op default implementation; subclasses override. | |
| (void) | - setNextMode: |
Additional Inherited Members | |
| Protected Attributes inherited from Mode | |
| PlayArea * | playArea |
| Controller * | controller |
| Mode * | nextMode |
Mode for drawing by tracing over existing elements or guides.
Concrete implementation of DrawTraceMode behavior.
Definition at line 16 of file DrawTraceMode.h.
|
implementation |
Applies the in-progress trace path to the anchor pad and clears temp state.
Definition at line 47 of file DrawTraceMode.m.


|
implementation |
Commits any valid trace on exit; otherwise refreshes state.
Reimplemented from Mode.
Definition at line 240 of file DrawTraceMode.m.


|
implementation |
Returns the crosshair cursor used while tracing.
Reimplemented from Mode.
Definition at line 40 of file DrawTraceMode.m.


|
implementation |
Initializes state for trace digitizing.
Reimplemented from Mode.
Definition at line 31 of file DrawTraceMode.m.


|
implementation |
Starts or continues the trace; holds Shift for 90° snapping, Command for freehand.
Reimplemented from Mode.
Definition at line 86 of file DrawTraceMode.m.

|
implementation |
Forwards to the shared drag/move handler.
Reimplemented from Mode.
Definition at line 198 of file DrawTraceMode.m.

|
implementation |
Updates the preview path during drag/move; freehand lines or adjusts last point.
Definition at line 163 of file DrawTraceMode.m.


|
implementation |
Forwards to the shared drag/move handler.
Reimplemented from Mode.
Definition at line 203 of file DrawTraceMode.m.

|
implementation |
Completes the trace in freehand mode and returns to Move mode.
Reimplemented from Mode.
Definition at line 208 of file DrawTraceMode.m.

|
implementation |
Adjusts the last vertex for live preview when not in freehand mode.
Definition at line 60 of file DrawTraceMode.m.


|
implementation |
Returns a human-readable name for this mode.
Reimplemented from Mode.
Definition at line 254 of file DrawTraceMode.m.


|
implementation |
Requires exactly one selected pad; otherwise switches to Rest with a message.
Reimplemented from Mode.
Definition at line 225 of file DrawTraceMode.m.

