CodePorting.Translator Cs2Cpp
CodePorting.Translator.Cs2Cpp.Framework
line_cap.h
1
2#ifndef _aspose_drawing_drawing2d_line_cap_h_
3#define _aspose_drawing_drawing2d_line_cap_h_
4
5#include <system/enum.h>
6
7namespace System { namespace Drawing { namespace Drawing2D {
9 enum class LineCap {
11 Flat = 0,
13 Square = 1,
15 Round = 2,
17 Triangle = 3,
19 NoAnchor = 0x10, // corresponds to flat cap
21 SquareAnchor = 0x11, // corresponds to square cap
23 RoundAnchor = 0x12, // corresponds to round cap
25 DiamondAnchor = 0x13, // corresponds to triangle cap
27 ArrowAnchor = 0x14, // no correspondence
29 AnchorMask = 0xf0, // mask to check for anchor or not.
31 Custom = 0xff // custom cap
32 };
33}}}
34
37template<>
38struct EnumMetaInfo<System::Drawing::Drawing2D::LineCap>
39{
42 static ASPOSECPP_SHARED_API const std::array<std::pair<System::Drawing::Drawing2D::LineCap, const char_t*>, 11>& values();
43};
44
45#endif
@ Triangle
A triangular cap that points both ends of a dash.
@ Flat
A square cap that squares off both ends of a dash.
@ Round
A circular cap that rounds off both ends of a dash.
LineCap
Indicates the available cap styles with which a Pen object can end a line.
Definition: line_cap.h:9
@ AnchorMask
A mask used to check if a line cap is an anchor cap.
@ SquareAnchor
Square anchor line cap.
@ RoundAnchor
Round anchor line cap.
@ DiamondAnchor
Diamond anchor line cap.
@ ArrowAnchor
Arrow anchor line cap.
Definition: db_command.h:9