blob: 71bdb76d1c62670b85ef248b35a841e96ce049eb [file] [log] [blame]
Cary Clark2d4bf5f2018-04-16 08:37:38 -04001#Topic Color4f
2#Alias Color4f_Reference
3
4#Struct SkColor4f
5
6The float values are 0...1 unpremultiplied
7
8#Subtopic Overview
9 #Subtopic Subtopic
10 #Populate
11 ##
12##
13
14#Subtopic Operator
15#Populate
16##
17
18#Subtopic Member_Function
19#Populate
20##
21
22#Member float fR
23##
24
25#Member float fG
26##
27
28#Member float fB
29##
30
31#Member float fA
32##
33
34# ------------------------------------------------------------------------------
35
36#Method bool operator==(const SkColor4f& other)_const
37#In Operator
38#Line # incomplete ##
39
40#Param other incomplete ##
41
42#Return incomplete ##
43
44#Example
45// incomplete
46##
47
48#SeeAlso incomplete
49
50#Method ##
51
52# ------------------------------------------------------------------------------
53
54#Method bool operator!=(const SkColor4f& other)_const
55#In Operator
56#Line # incomplete ##
57
58#Param other incomplete ##
59
60#Return incomplete ##
61
62#Example
63// incomplete
64##
65
66#SeeAlso incomplete
67
68#Method ##
69
70# ------------------------------------------------------------------------------
71
72#Method const float* vec() const
73#In incomplete
74#Line # incomplete ##
75
76#Return incomplete ##
77
78#Example
79// incomplete
80##
81
82#SeeAlso incomplete
83
84#Method ##
85
86# ------------------------------------------------------------------------------
87
88#Method float* vec()
89#In incomplete
90#Line # incomplete ##
91
92#Return incomplete ##
93
94#Example
95// incomplete
96##
97
98#SeeAlso incomplete
99
100#Method ##
101
102# ------------------------------------------------------------------------------
103
104#Method static SkColor4f Pin(float r, float g, float b, float a)
105#In incomplete
106#Line # incomplete ##
107
108#Param r incomplete ##
109#Param g incomplete ##
110#Param b incomplete ##
111#Param a incomplete ##
112
113#Return incomplete ##
114
115#Example
116// incomplete
117##
118
119#SeeAlso incomplete
120
121#Method ##
122
123# ------------------------------------------------------------------------------
124
125#Method static SkColor4f FromColor(SkColor)
126#In incomplete
127#Line # incomplete ##
128
129Convert to SkColor4f, assuming SkColor is sRGB
130
131#Param SkColor incomplete ##
132
133#Return incomplete ##
134
135#Example
136// incomplete
137##
138
139#SeeAlso incomplete
140
141#Method ##
142
143# ------------------------------------------------------------------------------
144
145#Method SkColor toSkColor() const
146#In incomplete
147#Line # incomplete ##
148
149#Return incomplete ##
150
151#Example
152// incomplete
153##
154
155#SeeAlso incomplete
156
157#Method ##
158
159# ------------------------------------------------------------------------------
160
161#Method SkColor4f pin() const
162#In incomplete
163#Line # incomplete ##
164
165#Return incomplete ##
166
167#Example
168// incomplete
169##
170
171#SeeAlso incomplete
172
173#Method ##
174
175# ------------------------------------------------------------------------------
176
177#Method SkPM4f premul() const
178#In incomplete
179#Line # incomplete ##
180
181#Return incomplete ##
182
183#Example
184// incomplete
185##
186
187#SeeAlso incomplete
188
189#Method ##
190
191#Struct SkColor4f ##
192
193#Topic Color4f ##