skia2/docs/SkColor4f_Reference.bmh
Cary Clark 682c58da48 Documentation refresh
- add links to types within methods
- add check to see that all references and definitions match
- add style to tables to make them easier to read
- use https everywhere
- remove trailing spaces
- move overview inside class
- split class and struct in summary tables
- add missing #Line
- clean up SkImageInfo constant documentation
- work on SkColor documentation
- allow common phrases to take different parameters
- add more flexibility to generated tables
- tighten token parent requirements
- generalize deprecated and example interfaces
- detect inner constructors

R=caryclark@google.com
Docs-Preview: https://skia.org/?cl=121799
Bug: skia:6898
Change-Id: Ia75a23740b80259460916890b310e2a9f024962a
Reviewed-on: https://skia-review.googlesource.com/121799
Commit-Queue: Cary Clark <caryclark@skia.org>
Auto-Submit: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
2018-05-16 11:35:24 +00:00

190 lines
2.7 KiB
Plaintext

#Topic Color4f
#Alias Color4f_Reference
#Struct SkColor4f
The float values are 0...1 Unpremultiplied
#Subtopic Overview
#Populate
##
#Subtopic Operator
#Populate
##
#Subtopic Member_Function
#Populate
##
#Member float fR
#Line # incomplete ##
##
#Member float fG
#Line # incomplete ##
##
#Member float fB
#Line # incomplete ##
##
#Member float fA
#Line # incomplete ##
##
# ------------------------------------------------------------------------------
#Method bool operator==(const SkColor4f& other)_const
#In Operator
#Line # incomplete ##
#Param other incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method bool operator!=(const SkColor4f& other)_const
#In Operator
#Line # incomplete ##
#Param other incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method const float* vec() const
#In incomplete
#Line # incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method float* vec()
#In incomplete
#Line # incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method static SkColor4f Pin(float r, float g, float b, float a)
#In incomplete
#Line # incomplete ##
#Param r incomplete ##
#Param g incomplete ##
#Param b incomplete ##
#Param a incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method static SkColor4f FromColor(SkColor)
#In incomplete
#Line # incomplete ##
Convert to SkColor4f, assuming SkColor is sRGB
#Param SkColor incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method SkColor toSkColor() const
#In incomplete
#Line # incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method SkColor4f pin() const
#In incomplete
#Line # incomplete ##
#Return incomplete ##
#Example
// incomplete
##
#SeeAlso incomplete
#Method ##
# ------------------------------------------------------------------------------
#Method SkPM4f premul() const
#Deprecated
#Method ##
#Struct SkColor4f ##
#Struct SkPM4f
#Deprecated
##
#Topic Color4f ##