Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Variables
ConvexLineOnlyData Namespace Reference

Variables

const SkPoint gPoints0 []
 
const SkPoint gPoints1 []
 
const SkPoint gPoints2 []
 
const SkPoint gPoints3 []
 
const SkPoint gPoints4 []
 
const SkPoint gPoints5 []
 
const SkPoint gPoints6 []
 
const SkPoint gPoints7 []
 
const SkPoint gPoints8 []
 
const SkPoint gPoints9 []
 
const SkPoint gPoints10 []
 
const SkPointgPoints []
 
const size_t gSizes []
 

Variable Documentation

◆ gPoints

const SkPoint* ConvexLineOnlyData::gPoints[]

◆ gPoints0

const SkPoint ConvexLineOnlyData::gPoints0[]
Initial value:
= {
{ -1.5f, -50.0f },
{ 1.5f, -50.0f },
{ 1.5f, 50.0f },
{ -1.5f, 50.0f }
}

Definition at line 39 of file convex_all_line_paths.cpp.

39 {
40 { -1.5f, -50.0f },
41 { 1.5f, -50.0f },
42 { 1.5f, 50.0f },
43 { -1.5f, 50.0f }
44};

◆ gPoints1

const SkPoint ConvexLineOnlyData::gPoints1[]
Initial value:
= {
{ -50.0f, -49.0f },
{ -49.0f, -50.0f },
{ 50.0f, 49.0f },
{ 49.0f, 50.0f }
}

Definition at line 46 of file convex_all_line_paths.cpp.

46 {
47 { -50.0f, -49.0f },
48 { -49.0f, -50.0f },
49 { 50.0f, 49.0f },
50 { 49.0f, 50.0f }
51};

◆ gPoints10

const SkPoint ConvexLineOnlyData::gPoints10[]
Initial value:
= {
{ -10.0f, -50.0f },
{ 10.0f, -50.0f },
{ 50.0f, 31.0f },
{ 40.0f, 50.0f },
{ -40.0f, 50.0f },
{ -50.0f, 31.0f },
}

Definition at line 136 of file convex_all_line_paths.cpp.

136 {
137 { -10.0f, -50.0f },
138 { 10.0f, -50.0f },
139 { 50.0f, 31.0f },
140 { 40.0f, 50.0f },
141 { -40.0f, 50.0f },
142 { -50.0f, 31.0f },
143};

◆ gPoints2

const SkPoint ConvexLineOnlyData::gPoints2[]
Initial value:
= {
{ -10.0f, -50.0f },
{ 10.0f, -50.0f },
{ 50.0f, 50.0f },
{ -50.0f, 50.0f }
}

Definition at line 53 of file convex_all_line_paths.cpp.

53 {
54 { -10.0f, -50.0f },
55 { 10.0f, -50.0f },
56 { 50.0f, 50.0f },
57 { -50.0f, 50.0f }
58};

◆ gPoints3

const SkPoint ConvexLineOnlyData::gPoints3[]
Initial value:
= {
{ -50.0f, -50.0f },
{ 0.0f, -50.0f },
{ 50.0f, 50.0f },
{ 0.0f, 50.0f }
}

Definition at line 60 of file convex_all_line_paths.cpp.

60 {
61 { -50.0f, -50.0f },
62 { 0.0f, -50.0f },
63 { 50.0f, 50.0f },
64 { 0.0f, 50.0f }
65};

◆ gPoints4

const SkPoint ConvexLineOnlyData::gPoints4[]
Initial value:
= {
{ -6.0f, -50.0f },
{ 4.0f, -50.0f },
{ 5.0f, -25.0f },
{ 6.0f, 0.0f },
{ 5.0f, 25.0f },
{ 4.0f, 50.0f },
{ -4.0f, 50.0f }
}

Definition at line 67 of file convex_all_line_paths.cpp.

67 {
68 { -6.0f, -50.0f },
69 { 4.0f, -50.0f },
70 { 5.0f, -25.0f }, // remove if collinear diagonal points are not concave
71 { 6.0f, 0.0f },
72 { 5.0f, 25.0f }, // remove if collinear diagonal points are not concave
73 { 4.0f, 50.0f },
74 { -4.0f, 50.0f }
75};

◆ gPoints5

const SkPoint ConvexLineOnlyData::gPoints5[]
Initial value:
= {
{ -0.025f, -0.025f },
{ 0.025f, -0.025f },
{ 0.025f, 0.025f },
{ -0.025f, 0.025f }
}

Definition at line 77 of file convex_all_line_paths.cpp.

77 {
78 { -0.025f, -0.025f },
79 { 0.025f, -0.025f },
80 { 0.025f, 0.025f },
81 { -0.025f, 0.025f }
82};

◆ gPoints6

const SkPoint ConvexLineOnlyData::gPoints6[]
Initial value:
= {
{ -20.0f, -13.0f },
{ -20.0f, -13.05f },
{ 20.0f, -13.0f },
{ 20.0f, 27.0f }
}

Definition at line 84 of file convex_all_line_paths.cpp.

84 {
85 { -20.0f, -13.0f },
86 { -20.0f, -13.05f },
87 { 20.0f, -13.0f },
88 { 20.0f, 27.0f }
89};

◆ gPoints7

const SkPoint ConvexLineOnlyData::gPoints7[]
Initial value:
= {
{ -10.0f, -50.0f },
{ 10.0f, -50.0f },
{ 10.0f, -25.0f },
{ 10.0f, 0.0f },
{ 10.0f, 25.0f },
{ 10.0f, 50.0f },
{ -10.0f, 50.0f }
}

Definition at line 91 of file convex_all_line_paths.cpp.

91 {
92 { -10.0f, -50.0f },
93 { 10.0f, -50.0f },
94 { 10.0f, -25.0f },
95 { 10.0f, 0.0f },
96 { 10.0f, 25.0f },
97 { 10.0f, 50.0f },
98 { -10.0f, 50.0f }
99};

◆ gPoints8

const SkPoint ConvexLineOnlyData::gPoints8[]
Initial value:
= {
{ 50.00f, 50.00f },
{ 0.00f, 50.00f },
{ -15.45f, 47.55f },
{ -29.39f, 40.45f },
{ -40.45f, 29.39f },
{ -47.55f, 15.45f },
{ -50.00f, 0.00f },
{ -47.55f, -15.45f },
{ -40.45f, -29.39f },
{ -29.39f, -40.45f },
{ -15.45f, -47.55f },
{ 0.00f, -50.00f },
{ 50.00f, -50.00f }
}

Definition at line 101 of file convex_all_line_paths.cpp.

101 {
102 { 50.00f, 50.00f },
103 { 0.00f, 50.00f },
104 { -15.45f, 47.55f },
105 { -29.39f, 40.45f },
106 { -40.45f, 29.39f },
107 { -47.55f, 15.45f },
108 { -50.00f, 0.00f },
109 { -47.55f, -15.45f },
110 { -40.45f, -29.39f },
111 { -29.39f, -40.45f },
112 { -15.45f, -47.55f },
113 { 0.00f, -50.00f },
114 { 50.00f, -50.00f }
115};

◆ gPoints9

const SkPoint ConvexLineOnlyData::gPoints9[]
Initial value:
= {
{ 4.39f, 40.45f },
{ -9.55f, 47.55f },
{ -25.00f, 50.00f },
{ -40.45f, 47.55f },
{ -54.39f, 40.45f },
{ -65.45f, 29.39f },
{ -72.55f, 15.45f },
{ -75.00f, 0.00f },
{ -72.55f, -15.45f },
{ -65.45f, -29.39f },
{ -54.39f, -40.45f },
{ -40.45f, -47.55f },
{ -25.0f, -50.0f },
{ -9.55f, -47.55f },
{ 4.39f, -40.45f },
{ 75.00f, 0.00f }
}

Definition at line 117 of file convex_all_line_paths.cpp.

117 {
118 { 4.39f, 40.45f },
119 { -9.55f, 47.55f },
120 { -25.00f, 50.00f },
121 { -40.45f, 47.55f },
122 { -54.39f, 40.45f },
123 { -65.45f, 29.39f },
124 { -72.55f, 15.45f },
125 { -75.00f, 0.00f },
126 { -72.55f, -15.45f },
127 { -65.45f, -29.39f },
128 { -54.39f, -40.45f },
129 { -40.45f, -47.55f },
130 { -25.0f, -50.0f },
131 { -9.55f, -47.55f },
132 { 4.39f, -40.45f },
133 { 75.00f, 0.00f }
134};

◆ gSizes

const size_t ConvexLineOnlyData::gSizes[]
Initial value:
= {
std::size(gPoints0),
std::size(gPoints1),
std::size(gPoints2),
std::size(gPoints3),
std::size(gPoints4),
std::size(gPoints5),
std::size(gPoints6),
std::size(gPoints7),
std::size(gPoints8),
std::size(gPoints9),
std::size(gPoints10),
}

Definition at line 150 of file convex_all_line_paths.cpp.

150 {
151 std::size(gPoints0),
152 std::size(gPoints1),
153 std::size(gPoints2),
154 std::size(gPoints3),
155 std::size(gPoints4),
156 std::size(gPoints5),
157 std::size(gPoints6),
158 std::size(gPoints7),
159 std::size(gPoints8),
160 std::size(gPoints9),
161 std::size(gPoints10),
162};