Bundles per-frame canvas state used during rendering and input handling.
More...
#include <EditorController.h>
Bundles per-frame canvas state used during rendering and input handling.
◆ CanvasContext()
| FuncDoodle::EditorController::CanvasContext::CanvasContext |
( |
AppSettings & | settings | ) |
|
|
inline |
Creates a canvas context bound to application settings.
- Parameters
-
| settings | Settings reference used while editing. |
◆ Frame
| class Frame* FuncDoodle::EditorController::CanvasContext::Frame |
Initial value:
Frame currently being rendered and edited.
◆ Grid
| UniquePtr<Grid> FuncDoodle::EditorController::CanvasContext::Grid |
Initial value:
Optional grid overlay for the canvas.
◆ Index
| unsigned long FuncDoodle::EditorController::CanvasContext::Index = 0 |
Timeline index of the active frame.
◆ LastHoverMousePos
| ImVec2 FuncDoodle::EditorController::CanvasContext::LastHoverMousePos |
Initial value:
Last hovered mouse position over the canvas.
◆ LastMousePos
| ImVec2 FuncDoodle::EditorController::CanvasContext::LastMousePos |
Initial value:
Last mouse position used for stroke interpolation.
◆ PixelScale
| int FuncDoodle::EditorController::CanvasContext::PixelScale = 8 |
Screen-space size of one pixel.
◆ Player
Initial value:
Player attached to the current project.
◆ PreviousFrame
| class Frame* FuncDoodle::EditorController::CanvasContext::PreviousFrame |
Initial value:
Previous frame used for preview rendering.
◆ Settings
| AppSettings& FuncDoodle::EditorController::CanvasContext::Settings |
◆ ToolManager
| ToolManager* FuncDoodle::EditorController::CanvasContext::ToolManager |
Initial value:
Tool state used for painting.
The documentation for this struct was generated from the following file: