Interactive tools ↩
Core tools
RoboFont’s Glyph Editor comes with four core tools for interacting with glyphs:
These interactive tools are built around macOS NSEvent objects, which represent input actions such as mouse clicks, mouse position, pressed keys, etc.
Custom tools
Custom interactive tools can be created by subclassing the BaseEventTool
or one of the other core tools which are available from the mojo.events
module:
# subclass base tool
from mojo.events import BaseEventTool
# or one of the core tools
from mojo.events import EditingTool, BezierDrawingTool, SliceTool, MeasurementTool
Examples
Several custom interactive tools are available as open-source extensions: