|
Muvicado HD
|
Mode for drawing polygons on the pad with adjustable transparency. More...
#include <DrawPolygonPadMode.h>


Instance Methods | |
| (id) | - init [implementation] |
| (NSCursor *) | - cursor [implementation] |
| (void) | - close [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: |
Protected Attributes | |
| CGFloat | _transparency |
| Protected Attributes inherited from Mode | |
| PlayArea * | playArea |
| Controller * | controller |
| Mode * | nextMode |
Mode for drawing polygons on the pad with adjustable transparency.
Concrete implementation of DrawPolygonPadMode behavior.
Definition at line 16 of file DrawPolygonPadMode.h.
|
implementation |
Commits the polygon if valid on exit; otherwise refreshes.
Reimplemented from Mode.
Definition at line 255 of file DrawPolygonPadMode.m.


|
implementation |
Closes the polygon, restores pad styling, adds it to the play area, clears temporary state, and refreshes the view.
Definition at line 50 of file DrawPolygonPadMode.m.


|
implementation |
Returns the crosshair cursor used while digitizing.
Reimplemented from Mode.
Definition at line 42 of file DrawPolygonPadMode.m.


|
implementation |
Initializes state for polygon digitizing.
Reimplemented from Mode.
Definition at line 33 of file DrawPolygonPadMode.m.


|
implementation |
Starts or continues polygon digitizing at the snapped mouse location.
Reimplemented from Mode.
Definition at line 97 of file DrawPolygonPadMode.m.

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

|
implementation |
Updates live feedback during drag/move events, with 90° snapping on Shift.
Definition at line 193 of file DrawPolygonPadMode.m.


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

|
implementation |
Completes a point; increments note for the next pad and logs position.
Reimplemented from Mode.
Definition at line 232 of file DrawPolygonPadMode.m.

|
implementation |
Adjusts the last vertex to the provided point for live feedback.
Definition at line 72 of file DrawPolygonPadMode.m.


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


|
implementation |
Ensures a single selection or clears selection; resets point count.
Reimplemented from Mode.
Definition at line 246 of file DrawPolygonPadMode.m.


|
protected |
Polygon fill transparency used while drawing.
Definition at line 18 of file DrawPolygonPadMode.h.