Donner SVG main
0.8.0 ยท 382bd0190.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::editor::internal::FillStrokeWidgetLayout Struct Reference

Screen-space rectangles for every drawable/interactive part of the widget. More...

#include "donner/editor/FillStrokeWidget.h"

Public Attributes

ImVec2 fillMin
 Upper-left corner of the fill swatch, which sits at the upper left.
ImVec2 fillMax
 Lower-right corner of the fill swatch.
ImVec2 strokeMin
 Upper-left corner of the stroke swatch, which sits at the lower right.
ImVec2 strokeMax
 Lower-right corner of the stroke swatch.
ImVec2 swapMin
 Upper-left corner of the swap double-arrow affordance.
ImVec2 swapMax
 Lower-right corner of the swap double-arrow affordance.
ImVec2 noneMin
 Upper-left corner of the "set none" affordance for the active role.
ImVec2 noneMax
 Lower-right corner of the "set none" affordance.
ImVec2 fillChipMin
 Upper-left corner of the fill custom-paint chip.
ImVec2 fillChipMax
 Lower-right corner of the fill custom-paint chip.
ImVec2 strokeChipMin
 Upper-left corner of the stroke custom-paint chip.
ImVec2 strokeChipMax
 Lower-right corner of the stroke custom-paint chip.

Detailed Description

Screen-space rectangles for every drawable/interactive part of the widget.

Member Data Documentation

◆ fillChipMax

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::fillChipMax

Lower-right corner of the fill custom-paint chip.

◆ fillChipMin

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::fillChipMin

Upper-left corner of the fill custom-paint chip.

◆ fillMax

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::fillMax

Lower-right corner of the fill swatch.

◆ fillMin

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::fillMin

Upper-left corner of the fill swatch, which sits at the upper left.

◆ noneMax

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::noneMax

Lower-right corner of the "set none" affordance.

◆ noneMin

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::noneMin

Upper-left corner of the "set none" affordance for the active role.

◆ strokeChipMax

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::strokeChipMax

Lower-right corner of the stroke custom-paint chip.

◆ strokeChipMin

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::strokeChipMin

Upper-left corner of the stroke custom-paint chip.

◆ strokeMax

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::strokeMax

Lower-right corner of the stroke swatch.

◆ strokeMin

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::strokeMin

Upper-left corner of the stroke swatch, which sits at the lower right.

◆ swapMax

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::swapMax

Lower-right corner of the swap double-arrow affordance.

◆ swapMin

ImVec2 donner::editor::internal::FillStrokeWidgetLayout::swapMin

Upper-left corner of the swap double-arrow affordance.


The documentation for this struct was generated from the following file: