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