acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_pen.h
1#pragma once
2
3
4namespace universal_windows
5{
6
7
8 class CLASS_DECL_ACME pen :
9 virtual public ::UNIVERSAL_WINDOWS::graphics_object,
10 virtual public ::ca2::pen
11 {
12 public:
13
14
15 //ID2D1SolidColorBrush * m_psolidbrush;
16
17 ID2D1ImageBrush * m_pimagebrush;
18
19 bool m_bMetroColor;
20 color32_t m_colorMetro;
21
22 pen(::ca2::application * papp);
23 /*virtual void construct(::i32 nPenStyle, ::f64 nWidth, color32_t crColor);
24 virtual void construct(::i32 nPenStyle, ::f64 nWidth, const LOGBRUSH* pLogBrush, ::i32 nStyleCount = 0, const ::u32* lpStyle = nullptr);
25 bool CreatePen(::i32 nPenStyle, ::f64 nWidth, color32_t crColor);
26 bool CreatePen(::i32 nPenStyle, ::f64 nWidth, const LOGBRUSH* pLogBrush, ::i32 nStyleCount = 0, const ::u32* lpStyle = nullptr);*/
27
28 virtual bool create_solid(::ca2::graphics * pgraphics, ::f64 dWidth, color32_t crColor);
29
30 virtual ID2D1Brush * get_os_pen_brush(::UNIVERSAL_WINDOWS::graphics * pdc) const;
31
32
33 bool destroy();
34
35 virtual ~pen();
36 // void dump(dump_context & dumpcontext) const override;
37
38 };
39
40} // namespace universal_windows
Definition color32.h:12