1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#include "border_property.hpp" #include "graph/graph.hpp" namespace cru::ui { BorderProperty::BorderProperty(): BorderProperty(graph::CreateSolidBrush(D2D1::ColorF(D2D1::ColorF::Black))) { } BorderProperty::BorderProperty(Microsoft::WRL::ComPtr<ID2D1Brush> brush): brush_(std::move(brush)) { } }