2017-07-28 15:04:54 +00:00
|
|
|
# external references that will be documented eventually ...
|
|
|
|
#External
|
2018-01-02 16:34:14 +00:00
|
|
|
DirectWrite TrueType Windows Linux Android iOS __ANDROID_API__ AHardwareBuffer
|
2018-05-16 11:07:07 +00:00
|
|
|
FreeType FreeType-based Harfbuzz
|
2018-11-07 19:59:03 +00:00
|
|
|
LCD RGB sRGB BGR RGBA ARGB YUV YUVA HSV SDTV HDTV
|
2017-07-28 15:04:54 +00:00
|
|
|
Unicode Unicode5 UTF-8 UTF-16 UTF-32 ASCII Unichar
|
|
|
|
API
|
2018-01-02 16:34:14 +00:00
|
|
|
BMP GIF HEIF ICO JPEG PNG WBMP WebP
|
2018-06-14 16:28:14 +00:00
|
|
|
CPU
|
2018-10-31 16:14:03 +00:00
|
|
|
GPU GPU-backed OpenGL Vulkan VkDevice I/O MSAA
|
2017-10-04 18:31:33 +00:00
|
|
|
PDF XPS
|
2017-07-28 15:04:54 +00:00
|
|
|
RFC
|
2017-10-04 18:31:33 +00:00
|
|
|
NaN NaNs
|
2018-11-07 19:59:03 +00:00
|
|
|
bool U16CPU int int8_t int16_t int32_t int64_t uint8_t uint16_t uint32_t uint64_t size_t
|
2018-10-31 16:14:03 +00:00
|
|
|
nullptr
|
|
|
|
malloc() calloc() assert() std::move()
|
2018-11-07 19:59:03 +00:00
|
|
|
C C++ SIZE_MAX C_FILE FILE
|
2018-05-16 11:07:07 +00:00
|
|
|
CSS HTML
|
2018-11-15 13:25:12 +00:00
|
|
|
|
2018-11-07 19:59:03 +00:00
|
|
|
affine destructor multitexturing representable subclasses descender descenders grayscale kerning
|
2018-11-21 16:45:57 +00:00
|
|
|
unhinted no-parameter
|
2019-02-19 15:29:43 +00:00
|
|
|
|
2018-11-07 19:59:03 +00:00
|
|
|
Sa Da Sc Dc 0xAARRGGBB # temporary until figure out what to do
|
2018-06-27 15:00:21 +00:00
|
|
|
|
2018-11-07 19:59:03 +00:00
|
|
|
SkUserConfig.h # not external, but still thinking about how markup refers to this
|
2017-08-03 21:14:08 +00:00
|
|
|
SkXXX.h # ditto
|
2017-09-14 15:25:39 +00:00
|
|
|
SkXXX_Reference # ditto
|
2017-07-28 15:04:54 +00:00
|
|
|
Skia # ditto
|
2017-10-04 18:31:33 +00:00
|
|
|
SK_ABORT # ditto
|
2017-09-14 15:25:39 +00:00
|
|
|
SK_DEBUG # ditto
|
|
|
|
SK_RELEASE # ditto
|
2017-07-28 15:04:54 +00:00
|
|
|
SK_USE_FREETYPE_EMBOLDEN # ditto
|
|
|
|
SK_BUILD_FOR_ANDROID_FRAMEWORK # ditto
|
2018-01-11 15:35:44 +00:00
|
|
|
SK_BUILD_FOR_MAC # ditto
|
|
|
|
SK_BUILD_FOR_IOS # ditto
|
2017-11-27 15:44:06 +00:00
|
|
|
SK_SUPPORT_GPU # ditto
|
2018-01-11 15:35:44 +00:00
|
|
|
SK_HAS_JPEG_LIBRARY # ditto
|
|
|
|
SK_HAS_PNG_LIBRARY # ditto
|
|
|
|
SK_HAS_WEBP_LIBRARY # ditto
|
2018-04-16 12:37:38 +00:00
|
|
|
SK_IGNORE_GPU_DITHER # ditto
|
2018-03-20 19:53:27 +00:00
|
|
|
SK_PMCOLOR_BYTE_ORDER # ditto
|
2017-07-28 15:04:54 +00:00
|
|
|
|
|
|
|
# FreeType related
|
|
|
|
FT_LOAD_TARGET_LIGHT
|
|
|
|
FT_LOAD_TARGET_NORMAL
|
|
|
|
FT_LOAD_TARGET_LCD
|
|
|
|
FT_LOAD_TARGET_LCD_V
|
|
|
|
FT_LOAD_NO_HINTING
|
|
|
|
FT_Load_Glyph
|
|
|
|
|
|
|
|
#External ##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
# this jargon requires a substitute to space the phrase.
|
|
|
|
#Topic Little_Endian
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute little endian
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Big_Endian
|
|
|
|
#Substitute big endian
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic YUV_Component_Y
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute YUV component y
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic YUV_Component_U
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute YUV component u
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic YUV_Component_V
|
|
|
|
#Substitute YUV component v
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic UV_Mapping
|
|
|
|
#Substitute UV mapping
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic Multi_Sample_Anti_Aliasing
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute multi-sample anti-aliasing
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic GPU_Share_Group
|
|
|
|
#Substitute GPU share group
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic Bezier_Curve
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute Bezier cruve
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic Coons_Patch
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute Coons patch
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic Cartesian_Coordinate
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute Cartesian coordinate
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic Euclidean_Distance
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute Euclidean distance
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic Euclidean_Space
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute Euclidean space
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic HTML_Gray
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute HTML gray
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic HTML_Silver
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute HTML silver
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic HTML_Lime
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute HTML lime
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic HTML_Green
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute HTML green
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic HTML_Aqua
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute HTML aqua
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic HTML_Fuchsia
|
|
|
|
#Substitute HTML fuchsia
|
|
|
|
##
|
|
|
|
|
2018-08-15 14:44:19 +00:00
|
|
|
#Topic SVG_lightgray
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute SVG light gray
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic SVG_darkgray
|
|
|
|
#Substitute SVG dark gray
|
|
|
|
##
|
|
|
|
|
|
|
|
# start of topics to be documented in the future
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic Alias
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Aliased ##
|
|
|
|
#Alias Aliasing ##
|
2017-09-01 19:51:02 +00:00
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Arc
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Arcs ##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic ##
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
#Topic Backend_Semaphore
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Backend_Semaphores ##
|
2017-11-27 15:44:06 +00:00
|
|
|
#Class GrBackendSemaphore
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic BBH_Factory
|
|
|
|
#Class SkBBHFactory
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
|
|
#Topic Circle
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Circles ##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic ##
|
|
|
|
|
|
|
|
#Topic Clip_Op
|
|
|
|
#EnumClass SkClipOp
|
|
|
|
#Const kDifference 0
|
|
|
|
##
|
|
|
|
#Const kIntersect 1
|
|
|
|
##
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Color_Filter
|
|
|
|
#Class SkColorFilter
|
|
|
|
#Class ##
|
2018-05-16 11:07:07 +00:00
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
|
|
|
|
#Topic Color_Space
|
2017-09-14 15:25:39 +00:00
|
|
|
#Class SkColorSpace
|
|
|
|
#Method static sk_sp<SkColorSpace> MakeSRGBLinear()
|
|
|
|
##
|
2018-03-16 15:34:15 +00:00
|
|
|
#Method bool gammaCloseToSRGB() const
|
|
|
|
##
|
2018-03-20 19:53:27 +00:00
|
|
|
#Method static bool Equals(const SkColorSpace* src, const SkColorSpace* dst)
|
|
|
|
##
|
2017-09-14 15:25:39 +00:00
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
#Topic Create_Color_Space_Xform_Canvas
|
2018-11-16 19:36:02 +00:00
|
|
|
#Method std::unique_ptr<SkCanvas> SkCreateColorSpaceXformCanvas(SkCanvas* target,
|
|
|
|
sk_sp<SkColorSpace> targetCS)
|
2017-11-02 21:49:34 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic Core_Graphics
|
|
|
|
#Substitute Core Graphics
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Core_Text
|
|
|
|
#Substitute Core Text
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Curve
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Curves ##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Data
|
2017-11-27 15:44:06 +00:00
|
|
|
#Class SkData
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
2018-03-12 12:09:48 +00:00
|
|
|
|
|
|
|
#Topic Debug_Canvas
|
|
|
|
#Class SkDebugCanvas
|
|
|
|
##
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
|
2017-10-09 18:07:42 +00:00
|
|
|
#Topic Debugging
|
2018-11-16 19:36:02 +00:00
|
|
|
#Method void SkDebugf(const char format[], ...)
|
2017-10-09 18:07:42 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
#Topic Deferred_Display_List
|
|
|
|
#Class SkDeferredDisplayList
|
|
|
|
##
|
|
|
|
#Subtopic Recorder
|
|
|
|
#Class SkDeferredDisplayListRecorder
|
|
|
|
##
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2018-06-27 15:00:21 +00:00
|
|
|
#Topic Deserial_Procs
|
|
|
|
#Struct SkDeserialProcs
|
2018-10-31 16:14:03 +00:00
|
|
|
#Member SkDeserialPictureProc fPictureProc
|
|
|
|
##
|
|
|
|
#Member void* fPictureCtx
|
|
|
|
##
|
|
|
|
#Member SkDeserialTypefaceProc fTypefaceProc
|
|
|
|
##
|
|
|
|
#Member void* fTypefaceCtx
|
|
|
|
##
|
2018-06-27 15:00:21 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Device
|
|
|
|
#Class SkBaseDevice
|
|
|
|
##
|
2018-05-16 11:07:07 +00:00
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
|
|
|
|
#Topic Document
|
|
|
|
#Class SkDocument
|
|
|
|
#Method SkCanvas* beginPage(SkScalar width, SkScalar height,
|
|
|
|
const SkRect* content = NULL)
|
|
|
|
##
|
|
|
|
##
|
|
|
|
#Subtopic PDF
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic Draw_Layer
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Draw_Looper
|
|
|
|
#Class SkDrawLooper
|
|
|
|
#Class ##
|
2018-05-16 11:07:07 +00:00
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
|
|
|
|
#Topic Drawable
|
|
|
|
#Class SkDrawable
|
|
|
|
#Method void draw(SkCanvas*, const SkMatrix* = NULL)
|
|
|
|
##
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2018-05-16 11:07:07 +00:00
|
|
|
# to be in topic Encoded_Image_Format
|
2018-01-11 15:35:44 +00:00
|
|
|
#EnumClass SkEncodedImageFormat
|
|
|
|
#Const kUnknown 0
|
|
|
|
##
|
|
|
|
#Const kBMP 1
|
|
|
|
##
|
|
|
|
#Const kGIF 2
|
|
|
|
##
|
|
|
|
#Const kICO 3
|
|
|
|
##
|
|
|
|
#Const kJPEG 4
|
|
|
|
##
|
|
|
|
#Const kPNG 5
|
|
|
|
##
|
|
|
|
#Const kWBMP 6
|
|
|
|
##
|
|
|
|
#Const kWEBP 7
|
|
|
|
##
|
|
|
|
#Const kPKM 8
|
|
|
|
##
|
|
|
|
#Const kKTX 9
|
|
|
|
##
|
|
|
|
#Const kASTC 10
|
|
|
|
##
|
|
|
|
#Const kDNG 11
|
|
|
|
##
|
|
|
|
#Const kHEIF 12
|
|
|
|
##
|
|
|
|
##
|
2018-05-16 11:07:07 +00:00
|
|
|
# end of topic Encoded_Image_Format
|
2018-01-11 15:35:44 +00:00
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Filter_Quality
|
|
|
|
#Enum SkFilterQuality
|
|
|
|
#Const kNone_SkFilterQuality 0
|
|
|
|
##
|
|
|
|
#Const kLow_SkFilterQuality 1
|
|
|
|
##
|
|
|
|
#Const kMedium_SkFilterQuality 2
|
|
|
|
##
|
|
|
|
#Const kHigh_SkFilterQuality 3
|
|
|
|
##
|
|
|
|
#Enum ##
|
2017-09-14 15:25:39 +00:00
|
|
|
#Subtopic Nearest_Neighbor
|
|
|
|
#Substitute nearest neighbor filter
|
|
|
|
##
|
|
|
|
#Subtopic Bilerp
|
|
|
|
#Substitute bilerp filter
|
|
|
|
##
|
|
|
|
#Subtopic MipMap
|
|
|
|
#Substitute mip-map filter
|
|
|
|
##
|
|
|
|
#Subtopic BiCubic
|
|
|
|
#Substitute bicubic filter
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic ##
|
|
|
|
|
2018-12-06 13:41:14 +00:00
|
|
|
#Topic Text_Encoding
|
2018-10-30 00:33:51 +00:00
|
|
|
#Enum SkTextEncoding
|
|
|
|
#Const kUTF8_SkTextEncoding 0
|
|
|
|
##
|
|
|
|
#Const kUTF16_SkTextEncoding 1
|
|
|
|
##
|
|
|
|
#Const kUTF32_SkTextEncoding 2
|
|
|
|
##
|
|
|
|
#Const kGlyphID_SkTextEncoding 3
|
|
|
|
##
|
2018-12-05 15:54:05 +00:00
|
|
|
TextEncoding determines whether text specifies character codes and their encoded
|
|
|
|
size, or glyph indices. Characters are encoded as specified by the
|
|
|
|
#A Unicode standard # https://unicode.org/standard/standard.html ##
|
|
|
|
.
|
|
|
|
|
|
|
|
Character codes encoded size are specified by UTF-8, UTF-16, or UTF-32.
|
|
|
|
All character code formats are able to represent all of Unicode, differing only
|
|
|
|
in the total storage required.
|
|
|
|
|
|
|
|
#A UTF-8 (RFC 3629) # https://tools.ietf.org/html/rfc3629 ##
|
|
|
|
encodes each character as one or more 8-bit bytes.
|
|
|
|
|
|
|
|
#A UTF-16 (RFC 2781) # https://tools.ietf.org/html/rfc2781 ##
|
|
|
|
encodes each character as one or two 16-bit words.
|
|
|
|
|
|
|
|
#A UTF-32 # https://www.unicode.org/versions/Unicode5.0.0/ch03.pdf ##
|
|
|
|
encodes each character as one 32-bit word.
|
|
|
|
|
|
|
|
Font_Manager uses font data to convert character code points into glyph indices.
|
|
|
|
A glyph index is a 16-bit word.
|
2018-12-06 13:41:14 +00:00
|
|
|
#Enum SkTextEncoding ##
|
|
|
|
#Topic Text_Encoding ##
|
2018-11-29 17:05:25 +00:00
|
|
|
|
2018-12-06 13:41:14 +00:00
|
|
|
#Topic Font_Hinting
|
|
|
|
#Line # glyph outline adjustment ##
|
2018-11-08 18:31:39 +00:00
|
|
|
#EnumClass SkFontHinting
|
|
|
|
#Const kNone 0
|
2018-11-08 21:00:33 +00:00
|
|
|
#Line # glyph outlines unchanged ##
|
|
|
|
Leaves glyph outlines unchanged from their native representation.
|
|
|
|
With FreeType, this is equivalent to the FT_LOAD_NO_HINTING
|
|
|
|
bit-field constant supplied to FT_Load_Glyph, which indicates that the vector
|
|
|
|
outline being loaded should not be fitted to the pixel grid but simply scaled
|
|
|
|
to 26.6 fractional pixels.
|
2018-11-06 02:26:13 +00:00
|
|
|
##
|
2018-11-08 18:31:39 +00:00
|
|
|
#Const kSlight 1
|
2018-11-08 21:00:33 +00:00
|
|
|
#Line # minimal modification to improve contrast ##
|
|
|
|
Modifies glyph outlines minimally to improve contrast.
|
|
|
|
With FreeType, this is equivalent in spirit to the
|
|
|
|
FT_LOAD_TARGET_LIGHT value supplied to FT_Load_Glyph. It chooses a
|
|
|
|
lighter hinting algorithm for non-monochrome modes.
|
|
|
|
Generated Glyphs may be fuzzy but better resemble their original shape.
|
2018-11-06 02:26:13 +00:00
|
|
|
##
|
2018-11-08 18:31:39 +00:00
|
|
|
#Const kNormal 2
|
2018-11-08 21:00:33 +00:00
|
|
|
#Line # glyph outlines modified to improve contrast ##
|
|
|
|
Modifies glyph outlines to improve contrast. This is the default.
|
|
|
|
With FreeType, this supplies FT_LOAD_TARGET_NORMAL to FT_Load_Glyph,
|
|
|
|
choosing the default hinting algorithm, which is optimized for standard
|
|
|
|
gray-level rendering.
|
2018-11-06 02:26:13 +00:00
|
|
|
##
|
2018-11-08 18:31:39 +00:00
|
|
|
#Const kFull 3
|
2018-11-08 21:00:33 +00:00
|
|
|
#Line # modifies glyph outlines for maximum contrast ##
|
|
|
|
Modifies glyph outlines for maximum contrast. With FreeType, this selects
|
|
|
|
FT_LOAD_TARGET_LCD or FT_LOAD_TARGET_LCD_V if kLCDRenderText_Flag is set.
|
|
|
|
FT_LOAD_TARGET_LCD is a variant of FT_LOAD_TARGET_NORMAL optimized for
|
|
|
|
horizontally decimated LCD displays; FT_LOAD_TARGET_LCD_V is a
|
|
|
|
variant of FT_LOAD_TARGET_NORMAL optimized for vertically decimated LCD displays.
|
2018-11-06 02:26:13 +00:00
|
|
|
##
|
2018-12-06 13:41:14 +00:00
|
|
|
#EnumClass SkFontHinting ##
|
|
|
|
#Topic Font_Hinting ##
|
2018-11-29 17:05:25 +00:00
|
|
|
|
2018-12-06 13:41:14 +00:00
|
|
|
#Topic Font_Metrics
|
2018-11-07 01:40:45 +00:00
|
|
|
#Struct SkFontMetrics
|
|
|
|
#Line # values computed by Font_Manager using Typeface ##
|
|
|
|
|
|
|
|
SkFontMetrics is filled out by SkPaint::getFontMetrics. SkFontMetrics contents
|
|
|
|
reflect the values
|
|
|
|
computed by Font_Manager using Typeface. Values are set to zero if they are
|
|
|
|
not available.
|
|
|
|
|
|
|
|
All vertical values are relative to the baseline, on a y-axis pointing down.
|
|
|
|
Zero is on the baseline, negative values are above the baseline, and positive
|
|
|
|
values are below the baseline.
|
|
|
|
|
|
|
|
fUnderlineThickness and fUnderlinePosition have a bit set in fFlags if their values
|
|
|
|
are valid, since their value may be zero.
|
|
|
|
|
|
|
|
fStrikeoutThickness and fStrikeoutPosition have a bit set in fFlags if their values
|
|
|
|
are valid, since their value may be zero.
|
|
|
|
|
|
|
|
#Enum FontMetricsFlags
|
|
|
|
#Line # valid Font_Metrics ##
|
|
|
|
|
|
|
|
FontMetricsFlags are set in fFlags when underline and strikeout metrics are valid;
|
|
|
|
the underline or strikeout metric may be valid and zero.
|
|
|
|
Fonts with embedded bitmaps may not have valid underline or strikeout metrics.
|
|
|
|
|
|
|
|
#Const kUnderlineThicknessIsValid_Flag 0x0001
|
|
|
|
#Line # set if fUnderlineThickness is valid ##
|
|
|
|
##
|
|
|
|
#Const kUnderlinePositionIsValid_Flag 0x0002
|
|
|
|
#Line # set if fUnderlinePosition is valid ##
|
|
|
|
##
|
|
|
|
#Const kStrikeoutThicknessIsValid_Flag 0x0004
|
|
|
|
#Line # set if fStrikeoutThickness is valid ##
|
|
|
|
##
|
|
|
|
#Const kStrikeoutPositionIsValid_Flag 0x0008
|
|
|
|
#Line # set if fStrikeoutPosition is valid ##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Enum ##
|
|
|
|
|
|
|
|
#Member uint32_t fFlags
|
|
|
|
#Line # is set to FontMetricsFlags when metrics are valid ##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fTop
|
|
|
|
#Line # extent above baseline ##
|
|
|
|
Greatest extent above the baseline for any glyph.
|
|
|
|
Typically less than zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fAscent
|
|
|
|
#Line # distance to reserve above baseline ##
|
|
|
|
Recommended distance above the baseline to reserve for a line of text.
|
|
|
|
Typically less than zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fDescent
|
|
|
|
#Line # distance to reserve below baseline ##
|
|
|
|
Recommended distance below the baseline to reserve for a line of text.
|
|
|
|
Typically greater than zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fBottom
|
|
|
|
#Line # extent below baseline ##
|
|
|
|
Greatest extent below the baseline for any glyph.
|
|
|
|
Typically greater than zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fLeading
|
|
|
|
#Line # distance to add between lines ##
|
|
|
|
Recommended distance to add between lines of text.
|
|
|
|
Typically greater than or equal to zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fAvgCharWidth
|
|
|
|
#Line # average character width ##
|
|
|
|
Average character width, if it is available.
|
|
|
|
Zero if no average width is stored in the font.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fMaxCharWidth
|
|
|
|
#Line # maximum character width ##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fXMin
|
|
|
|
#Line # minimum x ##
|
|
|
|
Minimum bounding box x-axis value for all Glyphs.
|
|
|
|
Typically less than zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fXMax
|
|
|
|
#Line # maximum x ##
|
|
|
|
Maximum bounding box x-axis value for all Glyphs.
|
|
|
|
Typically greater than zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fXHeight
|
|
|
|
#Line # height of lower-case 'x' ##
|
|
|
|
May be zero if no lower-case height is stored in the font.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fCapHeight
|
|
|
|
#Line # height of an upper-case letter ##
|
|
|
|
May be zero if no upper-case height is stored in the font.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fUnderlineThickness
|
|
|
|
#Line # underline thickness ##
|
|
|
|
If the metric is valid, the kUnderlineThicknessIsValid_Flag is set in fFlags.
|
|
|
|
If kUnderlineThicknessIsValid_Flag is clear, fUnderlineThickness is zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fUnderlinePosition
|
|
|
|
#Line # underline position relative to baseline ##
|
|
|
|
Position of the top of the underline stroke relative to the baseline.
|
|
|
|
Typically positive when valid.
|
|
|
|
|
|
|
|
If the metric is valid, the kUnderlinePositionIsValid_Flag is set in fFlags.
|
|
|
|
If kUnderlinePositionIsValid_Flag is clear, fUnderlinePosition is zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fStrikeoutThickness
|
|
|
|
#Line # strikeout thickness ##
|
|
|
|
|
|
|
|
If the metric is valid, the kStrikeoutThicknessIsValid_Flag is set in fFlags.
|
|
|
|
If kStrikeoutThicknessIsValid_Flag is clear, fStrikeoutThickness is zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Member SkScalar fStrikeoutPosition
|
|
|
|
#Line # strikeout position relative to baseline ##
|
|
|
|
Position of the bottom of the strikeout stroke relative to the baseline.
|
|
|
|
Typically negative when valid.
|
|
|
|
|
|
|
|
If the metric is valid, the kStrikeoutPositionIsValid_Flag is set in fFlags.
|
|
|
|
If kStrikeoutPositionIsValid_Flag is clear, fStrikeoutPosition is zero.
|
|
|
|
##
|
|
|
|
|
|
|
|
#Method bool hasUnderlineThickness(SkScalar* thickness) const
|
|
|
|
#Line # returns underline thickness if set ##
|
|
|
|
|
|
|
|
#NoExample
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Method bool hasUnderlinePosition(SkScalar* position) const
|
|
|
|
#Line # returns underline position if set ##
|
|
|
|
|
|
|
|
#NoExample
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Method bool hasStrikeoutThickness(SkScalar* thickness) const
|
|
|
|
#Line # returns strikeout thickness if set ##
|
|
|
|
|
|
|
|
#NoExample
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Method bool hasStrikeoutPosition(SkScalar* position) const
|
|
|
|
#Line # returns strikeout position if set ##
|
|
|
|
|
|
|
|
#NoExample
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Struct ##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic ##
|
|
|
|
|
|
|
|
#Topic Font_Manager
|
|
|
|
#Topic ##
|
|
|
|
|
|
|
|
#Topic Glyph
|
2018-08-10 17:09:13 +00:00
|
|
|
#Subtopic ID
|
|
|
|
##
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Glyphs ##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
|
2017-08-03 21:14:08 +00:00
|
|
|
#Topic GPU_Context
|
|
|
|
#Substitute GPU context
|
2017-11-02 21:49:34 +00:00
|
|
|
#Class GrContext
|
2018-11-07 19:59:03 +00:00
|
|
|
#Method void abandonContext()
|
|
|
|
##
|
2017-11-02 21:49:34 +00:00
|
|
|
#Method void flush()
|
|
|
|
##
|
|
|
|
##
|
2017-08-03 21:14:08 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
#Topic GPU_Surface
|
|
|
|
#Substitute GPU surface
|
|
|
|
##
|
|
|
|
|
2018-01-02 16:34:14 +00:00
|
|
|
#Topic GPU_Texture
|
|
|
|
#Substitute GPU texture
|
|
|
|
##
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic HTML_Canvas
|
|
|
|
#Substitute HTML Canvas
|
|
|
|
#Subtopic ArcTo
|
|
|
|
#Substitute HTML Canvas arcTo
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Image_Filter
|
|
|
|
#Class SkImageFilter
|
|
|
|
#Class ##
|
|
|
|
#Topic ##
|
|
|
|
|
2018-05-16 11:07:07 +00:00
|
|
|
#Class SkImageGenerator
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Image_Scaling
|
|
|
|
##
|
|
|
|
|
2017-10-26 11:58:48 +00:00
|
|
|
#Topic ISize
|
|
|
|
#Struct SkISize
|
2018-10-31 16:14:03 +00:00
|
|
|
#Method int32_t width() const
|
|
|
|
##
|
|
|
|
#Method int32_t height() const
|
|
|
|
##
|
2017-10-26 11:58:48 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2018-05-16 11:07:07 +00:00
|
|
|
#Topic Left_Side_Bearing
|
2017-09-01 19:51:02 +00:00
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Line
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Lines ##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic ##
|
|
|
|
|
2018-05-16 11:07:07 +00:00
|
|
|
# to be in Topic Malloc_Pixel_Ref
|
2017-10-04 18:31:33 +00:00
|
|
|
#Class SkMallocPixelRef
|
|
|
|
#Method static sk_sp<SkPixelRef> MakeZeroed(const SkImageInfo&, size_t rowBytes)
|
|
|
|
##
|
|
|
|
#Method static sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes)
|
|
|
|
##
|
|
|
|
##
|
2018-05-16 11:07:07 +00:00
|
|
|
# end of Topic Malloc_Pixel_Ref
|
|
|
|
|
|
|
|
#Struct SkMask
|
2017-10-04 18:31:33 +00:00
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Mask_Alpha
|
|
|
|
#Topic ##
|
|
|
|
|
|
|
|
#Topic Mask_Filter
|
|
|
|
#Class SkMaskFilter
|
|
|
|
#Class ##
|
|
|
|
#Topic ##
|
|
|
|
|
2018-05-16 11:07:07 +00:00
|
|
|
# to be in Topic Math
|
2018-11-07 19:59:03 +00:00
|
|
|
#Method Luminosity(dstColor)
|
|
|
|
# this permits using Luminosity() in documentation
|
2018-10-31 16:14:03 +00:00
|
|
|
##
|
2018-11-07 19:59:03 +00:00
|
|
|
#Method Saturation(dstColor)
|
|
|
|
# this permits using Saturation() in documentation
|
|
|
|
##
|
|
|
|
#Method SetLuminosity(srcSaturation, dstLuminosity)
|
|
|
|
# this permits using SetLuminosity() in documentation
|
|
|
|
##
|
|
|
|
#Method SetSaturation(srcSaturation, dstSaturation)
|
|
|
|
# this permits using SetSaturation() in documentation
|
2017-09-14 15:25:39 +00:00
|
|
|
##
|
2017-10-04 18:31:33 +00:00
|
|
|
#Method SkIntToScalar(x)
|
|
|
|
##
|
|
|
|
#Method SkScalarRoundToInt(x)
|
|
|
|
##
|
|
|
|
#Method SkScalarFloorToInt(x)
|
|
|
|
##
|
|
|
|
#Method SkScalarCeilToInt(x)
|
|
|
|
##
|
|
|
|
#Method SkScalarFloorToScalar(x)
|
|
|
|
##
|
|
|
|
#Method SkScalarCeilToScalar(x)
|
|
|
|
##
|
2017-10-09 18:07:42 +00:00
|
|
|
#Method SkScalarIsFinite(x)
|
|
|
|
##
|
|
|
|
#Method SkScalarIsNaN(x)
|
|
|
|
##
|
|
|
|
#Method template <typename D, typename S> inline bool SkTFitsIn(S s)
|
|
|
|
##
|
2018-11-07 19:59:03 +00:00
|
|
|
#Method float abs(float x)
|
|
|
|
# this permits using abs(x) in documentation
|
|
|
|
##
|
|
|
|
#Method float max(float x)
|
|
|
|
# this permits using max(x) in documentation
|
|
|
|
##
|
|
|
|
#Method float min(float x)
|
|
|
|
# this permits using max(x) in documentation
|
|
|
|
##
|
|
|
|
#Method float sizeof(float x)
|
|
|
|
# this permits using sizeof(x) in documentation
|
|
|
|
##
|
|
|
|
#Method float sqrt(float x)
|
|
|
|
# this permits using sqrt(x) in documentation
|
|
|
|
##
|
|
|
|
#Method static inline bool sk_64_isS32(int64_t value)
|
|
|
|
##
|
2018-05-16 11:07:07 +00:00
|
|
|
# end of Topic Math
|
2017-09-14 15:25:39 +00:00
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
#Topic Mip_Map
|
2018-06-14 16:28:14 +00:00
|
|
|
#Substitute mip map
|
2017-10-04 18:31:33 +00:00
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
|
|
|
|
#Topic Nine_Patch
|
|
|
|
##
|
|
|
|
|
2018-10-31 16:14:03 +00:00
|
|
|
# to be in Topic Number_Types ?
|
2017-11-27 15:44:06 +00:00
|
|
|
#Typedef uint16_t SkGlyphID
|
2017-07-28 15:04:54 +00:00
|
|
|
#Typedef ##
|
2018-05-16 11:07:07 +00:00
|
|
|
#Topic Scalar
|
2018-08-10 17:09:13 +00:00
|
|
|
#Alias Scalars ##
|
2017-11-27 15:44:06 +00:00
|
|
|
#Typedef float SkScalar
|
2017-07-28 15:04:54 +00:00
|
|
|
#Typedef ##
|
2017-10-09 18:07:42 +00:00
|
|
|
##
|
2017-10-11 14:37:52 +00:00
|
|
|
#Const SK_MinS32FitsInFloat
|
|
|
|
to be written
|
|
|
|
##
|
|
|
|
#Const SK_MaxS32FitsInFloat
|
|
|
|
to be written
|
|
|
|
##
|
2017-10-09 18:07:42 +00:00
|
|
|
#Const SK_ScalarMin
|
|
|
|
to be written
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Const SK_ScalarMax
|
|
|
|
to be written
|
|
|
|
##
|
|
|
|
#Const SK_ScalarInfinity
|
|
|
|
to be written
|
|
|
|
##
|
|
|
|
#Const SK_ScalarNegativeInfinity
|
|
|
|
to be written
|
|
|
|
##
|
|
|
|
#Const SK_ScalarNaN
|
|
|
|
to be written
|
|
|
|
##
|
2018-05-16 11:07:07 +00:00
|
|
|
#Const SK_ScalarNearlyZero
|
|
|
|
to be written
|
|
|
|
##
|
2017-10-09 18:07:42 +00:00
|
|
|
#Const SK_MinS32
|
|
|
|
to be written
|
|
|
|
##
|
|
|
|
#Const SK_MaxS32
|
|
|
|
to be written
|
|
|
|
##
|
2017-11-27 15:44:06 +00:00
|
|
|
#Typedef int32_t SkUnichar
|
2017-07-28 15:04:54 +00:00
|
|
|
#Typedef ##
|
2017-11-27 15:44:06 +00:00
|
|
|
#Typedef unsigned U8CPU
|
2017-07-28 15:04:54 +00:00
|
|
|
#Typedef ##
|
2018-05-16 11:07:07 +00:00
|
|
|
# end of Topic Number_Types
|
2017-07-28 15:04:54 +00:00
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic OS_X
|
|
|
|
#Substitute OS X
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Oval
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Ovals ##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic ##
|
|
|
|
|
|
|
|
#Topic Paint_Defaults
|
|
|
|
#Const SkPaintDefaults_Hinting 2
|
|
|
|
##
|
|
|
|
#Const SkPaintDefaults_TextSize 12
|
|
|
|
##
|
|
|
|
#Const SkPaintDefaults_MiterLimit 4
|
|
|
|
##
|
|
|
|
#Topic ##
|
|
|
|
|
|
|
|
#Topic Patch
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Patches ##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic ##
|
|
|
|
|
|
|
|
#Topic Path_Effect
|
|
|
|
#Class SkPathEffect
|
|
|
|
#Class ##
|
|
|
|
#Topic ##
|
|
|
|
|
2018-05-16 11:07:07 +00:00
|
|
|
# to be in Topic Path_Measure
|
2017-07-28 15:04:54 +00:00
|
|
|
#Class SkPathMeasure
|
|
|
|
#Method void dump() const
|
|
|
|
##
|
|
|
|
##
|
2018-05-16 11:07:07 +00:00
|
|
|
# end of Topic Path_Measure
|
2017-07-28 15:04:54 +00:00
|
|
|
|
|
|
|
#Topic PathOps
|
2018-05-16 11:07:07 +00:00
|
|
|
#Enum SkPathOp
|
|
|
|
##
|
2018-11-16 19:36:02 +00:00
|
|
|
#Method bool Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result)
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
#Topic ##
|
|
|
|
|
2018-06-27 15:00:21 +00:00
|
|
|
#Topic Picture_Recorder
|
2017-07-28 15:04:54 +00:00
|
|
|
#Class SkPictureRecorder
|
|
|
|
#Method SkCanvas* beginRecording(const SkRect& bounds,
|
|
|
|
SkBBHFactory* bbhFactory = NULL,
|
|
|
|
uint32_t recordFlags = 0)
|
|
|
|
##
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Pixel
|
|
|
|
#Subtopic Storage
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
#Topic Pixel_Ref
|
2017-09-14 15:25:39 +00:00
|
|
|
#Class SkPixelRef
|
2017-10-04 18:31:33 +00:00
|
|
|
#Method int width() const
|
|
|
|
##
|
|
|
|
#Method int height() const
|
|
|
|
##
|
|
|
|
#Method bool isImmutable() const
|
|
|
|
##
|
|
|
|
#Method void setImmutable()
|
|
|
|
##
|
2017-08-03 21:14:08 +00:00
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
2017-09-14 15:25:39 +00:00
|
|
|
|
|
|
|
#Enum SkPixelGeometry
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
|
2017-10-26 11:58:48 +00:00
|
|
|
#Topic Point3
|
|
|
|
#Struct SkPoint3
|
|
|
|
##
|
|
|
|
#Topic ##
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic PostScript
|
|
|
|
#Substitute PostScript
|
|
|
|
#Subtopic Arct
|
|
|
|
#Substitute PostScript arct
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Premultiply
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Premultiplied ##
|
2018-07-11 20:18:41 +00:00
|
|
|
#Alias Premultiplies ##
|
2017-09-01 19:51:02 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Raster_Engine
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Raster_Handle_Allocator
|
|
|
|
#Class SkRasterHandleAllocator
|
2018-05-16 11:07:07 +00:00
|
|
|
#Typedef void* Handle
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Struct Rec
|
|
|
|
##
|
|
|
|
#Method static std::unique_ptr<SkCanvas> MakeCanvas(std::unique_ptr<SkRasterHandleAllocator>, const SkImageInfo&, const Rec* rec = nullptr)
|
|
|
|
##
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-12-11 21:03:17 +00:00
|
|
|
#Topic Raster_Bitmap
|
|
|
|
##
|
|
|
|
|
2017-08-03 21:14:08 +00:00
|
|
|
#Topic Raster_Surface
|
|
|
|
##
|
|
|
|
|
2018-05-16 11:07:07 +00:00
|
|
|
# to be in Topic Rasterizer
|
2017-07-28 15:04:54 +00:00
|
|
|
#Class SkRasterizer
|
|
|
|
#Class ##
|
2018-05-16 11:07:07 +00:00
|
|
|
# end of Topic Rasterizer
|
2017-07-28 15:04:54 +00:00
|
|
|
|
|
|
|
#Topic Reference_Count
|
2017-10-04 18:31:33 +00:00
|
|
|
#Class SkRefCnt
|
|
|
|
#Class ##
|
2018-11-29 17:05:25 +00:00
|
|
|
|
|
|
|
#Template SkNVRefCnt
|
|
|
|
##
|
2018-10-31 16:14:03 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Smart_Pointer
|
2017-07-28 15:04:54 +00:00
|
|
|
#Class sk_sp
|
|
|
|
#Class ##
|
|
|
|
#Topic ##
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
#Topic Render_Target
|
|
|
|
#Class GrRenderTarget
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic Right_Side_Bearing
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic RSXform
|
|
|
|
#Struct SkRSXform
|
2018-10-31 16:14:03 +00:00
|
|
|
#Member SkScalar fSCos
|
|
|
|
##
|
|
|
|
#Member SkScalar fSSin
|
|
|
|
##
|
|
|
|
#Member SkScalar fTx
|
|
|
|
##
|
|
|
|
#Member SkScalar fTy
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2018-06-27 15:00:21 +00:00
|
|
|
#Topic Serial_Procs
|
|
|
|
#Struct SkSerialProcs
|
2018-10-31 16:14:03 +00:00
|
|
|
#Member SkSerialPictureProc fPictureProc
|
|
|
|
##
|
|
|
|
#Member void* fPictureCtx
|
|
|
|
##
|
|
|
|
#Member SkSerialTypefaceProc fTypefaceProc
|
|
|
|
##
|
|
|
|
#Member void* fTypefaceCtx
|
|
|
|
##
|
2018-06-27 15:00:21 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Shader
|
|
|
|
#Class SkShader
|
|
|
|
#Enum TileMode
|
|
|
|
#Const kClamp_TileMode 0
|
|
|
|
##
|
2018-01-03 13:37:53 +00:00
|
|
|
#Const kRepeat_TileMode 1
|
|
|
|
##
|
|
|
|
#Const kMirror_TileMode 2
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
#Method static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy,
|
|
|
|
const SkMatrix* localMatrix = nullptr)
|
|
|
|
##
|
2018-06-27 15:00:21 +00:00
|
|
|
#Method static sk_sp<SkShader> MakeCompose(sk_sp<SkShader> dst, sk_sp<SkShader> src,
|
|
|
|
SkBlendMode mode, float lerp = 1)
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Class ##
|
|
|
|
#Topic ##
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
#Topic Size
|
2017-10-26 11:58:48 +00:00
|
|
|
#Struct SkSize
|
2018-10-31 16:14:03 +00:00
|
|
|
#Method int32_t width() const
|
|
|
|
##
|
|
|
|
#Method int32_t height() const
|
|
|
|
##
|
2017-10-26 11:58:48 +00:00
|
|
|
##
|
2017-10-04 18:31:33 +00:00
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Sprite
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Sprites ##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic ##
|
|
|
|
|
2018-08-10 17:09:13 +00:00
|
|
|
#Topic Stream_Asset
|
|
|
|
#Class SkStreamAsset
|
2018-05-16 11:07:07 +00:00
|
|
|
##
|
2018-08-10 17:09:13 +00:00
|
|
|
#Topic ##
|
2017-07-28 15:04:54 +00:00
|
|
|
|
|
|
|
#Topic String
|
|
|
|
#Class SkString
|
|
|
|
#Class ##
|
|
|
|
#Topic ##
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic Supersampling
|
|
|
|
##
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
#Topic Surface_Characterization
|
|
|
|
#Class SkSurfaceCharacterization
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
2017-11-27 15:44:06 +00:00
|
|
|
|
|
|
|
#Topic Surface_Properties
|
2017-07-28 15:04:54 +00:00
|
|
|
#Class SkSurfaceProps
|
2018-02-15 22:31:24 +00:00
|
|
|
#Subtopic Legacy_Font_Host
|
2017-07-28 15:04:54 +00:00
|
|
|
#Enum InitType
|
|
|
|
#Const kLegacyFontHost_InitType 0
|
|
|
|
##
|
|
|
|
##
|
2017-08-03 21:14:08 +00:00
|
|
|
#Topic ##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic SVG
|
|
|
|
#Subtopic Canvas
|
|
|
|
##
|
|
|
|
#Subtopic Arc
|
|
|
|
##
|
2018-10-31 16:14:03 +00:00
|
|
|
#Subtopic Sweep_Flag
|
|
|
|
#Substitute SVG sweep-flag
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
#Topic Text
|
|
|
|
#Topic ##
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
#Topic Texture
|
|
|
|
#Class GrBackendTexture
|
2018-04-05 12:18:41 +00:00
|
|
|
#Method bool isValid() const
|
|
|
|
##
|
2018-10-05 14:31:34 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
|
|
|
#Topic YUV_Planes
|
|
|
|
#Class SkYUVAIndex
|
2017-11-27 15:44:06 +00:00
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2018-04-05 13:30:38 +00:00
|
|
|
#Topic RenderTarget
|
|
|
|
#Class GrBackendRenderTarget
|
|
|
|
#Method bool isValid() const
|
|
|
|
##
|
|
|
|
##
|
|
|
|
##
|
|
|
|
|
2018-03-16 15:34:15 +00:00
|
|
|
#Topic Transfer_Mode
|
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Typeface
|
2018-08-10 17:09:13 +00:00
|
|
|
#Subtopic ID
|
|
|
|
#Typedef uint32_t SkFontID
|
|
|
|
##
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Class SkTypeface
|
2018-08-10 17:09:13 +00:00
|
|
|
#Method SkFontID uniqueID() const
|
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Class ##
|
|
|
|
#Topic ##
|
|
|
|
|
2018-05-16 11:07:07 +00:00
|
|
|
# to be defined in types
|
2017-11-27 15:44:06 +00:00
|
|
|
#Typedef intptr_t GrBackendObject
|
|
|
|
#Typedef ##
|
|
|
|
|
2018-06-14 16:28:14 +00:00
|
|
|
#EnumClass GrMipMapped
|
|
|
|
#Const kNo 0
|
|
|
|
##
|
|
|
|
#Const kYes 1
|
|
|
|
##
|
|
|
|
#EnumClass ##
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
#Enum GrSurfaceOrigin
|
2018-05-16 11:07:07 +00:00
|
|
|
#Const kBottomLeft_GrSurfaceOrigin 0
|
2017-11-27 15:44:06 +00:00
|
|
|
##
|
|
|
|
#Const kTopLeft_GrSurfaceOrigin 1
|
|
|
|
##
|
|
|
|
#Enum ##
|
|
|
|
|
|
|
|
#EnumClass SkBudgeted
|
|
|
|
#Const kNo 0
|
|
|
|
##
|
|
|
|
#Const kYes 1
|
|
|
|
##
|
|
|
|
#EnumClass ##
|
|
|
|
|
|
|
|
#EnumClass GrSemaphoresSubmitted
|
|
|
|
#Const kNo 0
|
|
|
|
##
|
|
|
|
#Const kYes 1
|
|
|
|
##
|
|
|
|
#EnumClass ##
|
2018-05-16 11:07:07 +00:00
|
|
|
# end of defined in types
|
2017-11-27 15:44:06 +00:00
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
#Topic Unpremultiply
|
2018-05-30 13:21:49 +00:00
|
|
|
#Alias Unpremultiplied ##
|
2017-09-01 19:51:02 +00:00
|
|
|
##
|
|
|
|
|
2017-07-28 15:04:54 +00:00
|
|
|
#Topic Vertices
|
2018-05-16 11:07:07 +00:00
|
|
|
#Class SkVertices
|
2018-08-15 14:44:19 +00:00
|
|
|
#Class Bone
|
|
|
|
##
|
2018-05-16 11:07:07 +00:00
|
|
|
##
|
2017-07-28 15:04:54 +00:00
|
|
|
#Subtopic Colors
|
|
|
|
##
|
|
|
|
#Subtopic Texs
|
|
|
|
##
|
|
|
|
#Topic ##
|
|
|
|
|
2018-06-27 15:00:21 +00:00
|
|
|
#Topic Xfermode_Image_Filter
|
|
|
|
#Class SkXfermodeImageFilter
|
|
|
|
##
|
|
|
|
##
|