|
|
Donner 0.8.0-pre
Embeddable browser-grade SVG2 engine
|
#include <array>#include <memory>#include <optional>#include <vector>#include "donner/editor/SelectionTransformHandles.h"Classes | |
| struct | donner::editor::RotateCursorImage |
| RGBA pixels for one custom editor cursor image. More... | |
| class | donner::editor::RotateCursorSet |
| RAII owner for the editor's custom cursors. More... | |
Namespaces | |
| namespace | donner |
| Top-level Donner namespace, which is split into different sub-namespaces such as donner::svg and donner::css. | |
Enumerations | |
| enum class | donner::editor::PanCursorKind { OpenHand , ClosedHand } |
| Visual state for the pan-mode cursor. More... | |
Functions | |
| std::optional< RotateCursorImage > | donner::editor::RenderRotateCursorImage (SelectionTransformCorner corner, std::shared_ptr< geode::GeodeDevice > geodeDevice) |
| Render one oriented rotate-cursor SVG to straight-alpha RGBA pixels. | |
| std::optional< RotateCursorImage > | donner::editor::RenderPanCursorImage (PanCursorKind kind, std::shared_ptr< geode::GeodeDevice > geodeDevice) |
Render the pan-mode cursor SVG for kind to straight-alpha RGBA pixels. | |
| std::optional< RotateCursorImage > | donner::editor::RenderPenCursorImage (std::shared_ptr< geode::GeodeDevice > geodeDevice) |
| Render the pen-tool cursor SVG to straight-alpha RGBA pixels. | |
|
strong |
|
nodiscard |
Render the pan-mode cursor SVG for kind to straight-alpha RGBA pixels.
| kind | Pan cursor visual state to render. |
| geodeDevice | Shared Geode device for Geode editor builds. |
|
nodiscard |
Render the pen-tool cursor SVG to straight-alpha RGBA pixels.
| geodeDevice | Shared Geode device for Geode editor builds. |