2017-08-03 21:14:08 +00:00
|
|
|
undocumented
|
2017-07-28 19:18:29 +00:00
|
|
|
===
|
|
|
|
|
2017-12-11 21:03:17 +00:00
|
|
|
# <a name="Size"></a> Size
|
|
|
|
|
|
|
|
# <a name="SkSize"></a> Struct SkSize
|
|
|
|
|
|
|
|
# <a name="Curve"></a> Curve
|
2017-07-28 19:18:29 +00:00
|
|
|
|
|
|
|
# <a name="Document"></a> Document
|
|
|
|
|
|
|
|
# <a name="SkDocument"></a> Class SkDocument
|
|
|
|
|
2017-08-25 17:14:33 +00:00
|
|
|
<a name="SkDocument_beginPage"></a>
|
2017-07-28 19:18:29 +00:00
|
|
|
## beginPage
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
SkCanvas* beginPage(SkScalar width, SkScalar height, const SkRect* content = NULL)
|
2017-07-28 19:18:29 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## <a name="PDF"></a> PDF
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Image_Color_Type"></a> Image Color Type
|
|
|
|
|
|
|
|
## <a name="Native_Color_Type"></a> Native Color Type
|
|
|
|
|
|
|
|
## <a name="SkColorType"></a> Enum SkColorType
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kUnknown_SkColorType"> <code><strong>kUnknown_SkColorType </strong></code> </a></td><td>0</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kAlpha_8_SkColorType"> <code><strong>kAlpha_8_SkColorType </strong></code> </a></td><td>1</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kRGB_565_SkColorType"> <code><strong>kRGB_565_SkColorType </strong></code> </a></td><td>2</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kARGB_4444_SkColorType"> <code><strong>kARGB_4444_SkColorType </strong></code> </a></td><td>3</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kRGBA_8888_SkColorType"> <code><strong>kRGBA_8888_SkColorType </strong></code> </a></td><td>4</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kBGRA_8888_SkColorType"> <code><strong>kBGRA_8888_SkColorType </strong></code> </a></td><td>5</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kIndex_8_SkColorType"> <code><strong>kIndex_8_SkColorType </strong></code> </a></td><td>6</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kGray_8_SkColorType"> <code><strong>kGray_8_SkColorType </strong></code> </a></td><td>7</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kRGBA_F16_SkColorType"> <code><strong>kRGBA_F16_SkColorType </strong></code> </a></td><td>8</td><td></td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kN32_SkColorType"> <code><strong>kN32_SkColorType </strong></code> </a></td><td>4</td><td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
# <a name="Arc"></a> Arc
|
2017-07-28 19:18:29 +00:00
|
|
|
|
|
|
|
# <a name="Line"></a> Line
|
|
|
|
|
2017-10-09 18:07:42 +00:00
|
|
|
# <a name="Debugging"></a> Debugging
|
|
|
|
|
|
|
|
<a name="SkDebugf"></a>
|
|
|
|
## SkDebugf
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-09 18:07:42 +00:00
|
|
|
SK_API void SkDebugf(const char format[], ...)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-12-11 21:03:17 +00:00
|
|
|
# <a name="Region"></a> Region
|
|
|
|
|
|
|
|
# <a name="SkRegion"></a> Class SkRegion
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Device"></a> Device
|
|
|
|
|
|
|
|
# <a name="SkBaseDevice"></a> Class SkBaseDevice
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
# <a name="Patch"></a> Patch
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Typeface"></a> Typeface
|
|
|
|
|
|
|
|
# <a name="SkTypeface"></a> Class SkTypeface
|
|
|
|
|
|
|
|
# <a name="Dump_Canvas"></a> Dump Canvas
|
|
|
|
|
|
|
|
# <a name="SkDumpCanvas"></a> Class SkDumpCanvas
|
|
|
|
|
2017-12-11 21:03:17 +00:00
|
|
|
# <a name="ISize"></a> ISize
|
|
|
|
|
|
|
|
# <a name="SkISize"></a> Struct SkISize
|
|
|
|
|
|
|
|
# <a name="PostScript"></a> PostScript
|
|
|
|
|
|
|
|
## <a name="Arct"></a> Arct
|
|
|
|
|
|
|
|
# <a name="Deferred_Display_List"></a> Deferred Display List
|
|
|
|
|
|
|
|
# <a name="SkDeferredDisplayList"></a> Class SkDeferredDisplayList
|
|
|
|
|
|
|
|
## <a name="Recorder"></a> Recorder
|
|
|
|
|
|
|
|
# <a name="SkDeferredDisplayListRecorder"></a> Class SkDeferredDisplayListRecorder
|
|
|
|
|
|
|
|
# <a name="Mip_Map"></a> Mip Map
|
|
|
|
|
2017-09-14 15:25:39 +00:00
|
|
|
# <a name="HTML_Canvas"></a> HTML Canvas
|
|
|
|
|
|
|
|
## <a name="ArcTo"></a> ArcTo
|
|
|
|
|
2017-12-11 21:03:17 +00:00
|
|
|
# <a name="Raster_Image"></a> Raster Image
|
2017-10-26 11:58:48 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Left_Side_Bearing"></a> Left Side Bearing
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="Alias"></a> Alias
|
|
|
|
|
|
|
|
# <a name="Anti-alias"></a> Anti-alias
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Backend_Semaphore"></a> Backend Semaphore
|
|
|
|
|
|
|
|
# <a name="GrBackendSemaphore"></a> Class GrBackendSemaphore
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="BBH_Factory"></a> BBH Factory
|
|
|
|
|
|
|
|
# <a name="SkBBHFactory"></a> Class SkBBHFactory
|
|
|
|
|
|
|
|
# <a name="Blend_Mode"></a> Blend Mode
|
|
|
|
|
|
|
|
## <a name="SkBlendMode"></a> Enum SkBlendMode
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkBlendMode_kSrc"> <code><strong>SkBlendMode::kSrc </strong></code> </a></td><td>1</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkBlendMode_kSrcOver"> <code><strong>SkBlendMode::kSrcOver </strong></code> </a></td><td>3</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkBlendMode_kPlus"> <code><strong>SkBlendMode::kPlus </strong></code> </a></td><td>12</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
# <a name="Circle"></a> Circle
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Image_Info"></a> Image Info
|
|
|
|
|
|
|
|
# <a name="SkImageInfo"></a> Struct SkImageInfo
|
|
|
|
|
|
|
|
<a name="SkImageInfo_empty_constructor"></a>
|
|
|
|
## SkImageInfo
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
SkImageInfo()
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_MakeN32Premul"></a>
|
|
|
|
## MakeN32Premul
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
static SkImageInfo MakeN32Premul(int width, int height, sk_sp<SkColorSpace> cs = nullptr)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_makeColorSpace"></a>
|
|
|
|
## makeColorSpace
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
SkImageInfo makeColorSpace(sk_sp<SkColorSpace> cs) const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_minRowBytes"></a>
|
|
|
|
## minRowBytes
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
size_t minRowBytes() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_isOpaque"></a>
|
|
|
|
## isOpaque
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
bool isOpaque() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_bytesPerPixel"></a>
|
|
|
|
## bytesPerPixel
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
int bytesPerPixel() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_height"></a>
|
|
|
|
## height
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
int height() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_width"></a>
|
|
|
|
## width
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
int width() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_colorType"></a>
|
|
|
|
## colorType
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
SkColorType colorType() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_alphaType"></a>
|
|
|
|
## alphaType
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
SkAlphaType alphaType() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_colorSpace"></a>
|
|
|
|
## colorSpace
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
SkColorSpace* colorSpace() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
bool isOpaque() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
size_t minRowBytes() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_computeByteSize"></a>
|
|
|
|
## computeByteSize
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
size_t computeByteSize(size_t rowBytes) const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkImageInfo_validate"></a>
|
|
|
|
## validate
|
|
|
|
|
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
void validate() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Clip_Op"></a> Clip Op
|
|
|
|
|
|
|
|
## <a name="SkClipOp"></a> Enum SkClipOp
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkClipOp_kDifference"> <code><strong>SkClipOp::kDifference </strong></code> </a></td><td>0</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkClipOp_kIntersect"> <code><strong>SkClipOp::kIntersect </strong></code> </a></td><td>1</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
# <a name="Color"></a> Color
|
|
|
|
|
|
|
|
<a name="SkColorGetA"></a>
|
|
|
|
## SkColorGetA
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
int SkColorGetA(color)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkColorGetR"></a>
|
|
|
|
## SkColorGetR
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
int SkColorGetR(color)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkColorGetG"></a>
|
|
|
|
## SkColorGetG
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
int SkColorGetG(color)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkColorGetB"></a>
|
|
|
|
## SkColorGetB
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
int SkColorGetB(color)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkColorSetARGB"></a>
|
|
|
|
## SkColorSetARGB
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
int SkColorSetARGB(a, r, g, b)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ColorBLACK"> <code><strong>SK_ColorBLACK </strong></code> </a></td><td>0xFF000000 </td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ColorBLUE"> <code><strong>SK_ColorBLUE </strong></code> </a></td><td>0xFF0000FF </td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ColorGREEN"> <code><strong>SK_ColorGREEN </strong></code> </a></td><td>0xFF00FF00 </td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ColorRED"> <code><strong>SK_ColorRED </strong></code> </a></td><td>0xFFFF0000 </td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ColorWHITE"> <code><strong>SK_ColorWHITE </strong></code> </a></td><td>0xFFFFFFFF </td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
## <a name="Alpha"></a> Alpha
|
|
|
|
|
|
|
|
## <a name="RGB"></a> RGB
|
|
|
|
|
|
|
|
## <a name="Red"></a> Red
|
|
|
|
|
|
|
|
## <a name="Blue"></a> Blue
|
|
|
|
|
|
|
|
## <a name="Green"></a> Green
|
|
|
|
|
|
|
|
## <a name="ARGB"></a> ARGB
|
|
|
|
|
|
|
|
## <a name="RBG"></a> RBG
|
|
|
|
|
|
|
|
## <a name="RGB-565"></a> RGB-565
|
|
|
|
|
|
|
|
# <a name="Color_Filter"></a> Color Filter
|
|
|
|
|
|
|
|
# <a name="SkColorFilter"></a> Class SkColorFilter
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
<a name="SkColorFilter_toString"></a>
|
|
|
|
## toString
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-11-02 21:49:34 +00:00
|
|
|
void toString(SkString* str) const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Color_Space"></a> Color Space
|
|
|
|
|
2017-09-14 15:25:39 +00:00
|
|
|
# <a name="SkColorSpace"></a> Class SkColorSpace
|
|
|
|
|
|
|
|
<a name="SkColorSpace_MakeSRGBLinear"></a>
|
|
|
|
## MakeSRGBLinear
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
static sk_sp<SkColorSpace> MakeSRGBLinear()
|
2017-09-14 15:25:39 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## <a name="SkTransferFunctionBehavior"></a> Enum SkTransferFunctionBehavior
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SkTransferFunctionBehavior_kRespect"> <code><strong>SkTransferFunctionBehavior::kRespect </strong></code> </a></td><td>0</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SkTransferFunctionBehavior_kIgnore"> <code><strong>SkTransferFunctionBehavior::kIgnore </strong></code> </a></td><td>1</td><td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
# <a name="Create_Color_Space_Xform_Canvas"></a> Create Color Space Xform Canvas
|
|
|
|
|
|
|
|
<a name="SkCreateColorSpaceXformCanvas"></a>
|
|
|
|
## SkCreateColorSpaceXformCanvas
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
std::unique_ptr<SkCanvas> SK_API SkCreateColorSpaceXformCanvas(SkCanvas* target,
|
|
|
|
sk_sp<SkColorSpace> targetCS)
|
2017-11-02 21:49:34 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="Core_Graphics"></a> Core Graphics
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Texture"></a> Texture
|
|
|
|
|
|
|
|
# <a name="GrBackendTexture"></a> Class GrBackendTexture
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="Core_Text"></a> Core Text
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Data"></a> Data
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="SkData"></a> Class SkData
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Draw_Filter"></a> Draw Filter
|
|
|
|
|
|
|
|
# <a name="SkDrawFilter"></a> Class SkDrawFilter
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="Draw_Layer"></a> Draw Layer
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Draw_Looper"></a> Draw Looper
|
|
|
|
|
|
|
|
# <a name="SkDrawLooper"></a> Class SkDrawLooper
|
|
|
|
|
|
|
|
# <a name="Drawable"></a> Drawable
|
|
|
|
|
|
|
|
# <a name="SkDrawable"></a> Class SkDrawable
|
|
|
|
|
2017-08-25 17:14:33 +00:00
|
|
|
<a name="SkDrawable_draw"></a>
|
2017-07-28 19:18:29 +00:00
|
|
|
## draw
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
void draw(SkCanvas*, const SkMatrix* = NULL)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# <a name="Raster_Handle_Allocator"></a> Raster Handle Allocator
|
|
|
|
|
|
|
|
# <a name="SkRasterHandleAllocator"></a> Class SkRasterHandleAllocator
|
|
|
|
|
2017-08-25 15:51:49 +00:00
|
|
|
# <a name="SkRasterHandleAllocator_Rec"></a> Struct SkRasterHandleAllocator::Rec
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-08-25 17:14:33 +00:00
|
|
|
<a name="SkRasterHandleAllocator_MakeCanvas"></a>
|
2017-07-28 19:18:29 +00:00
|
|
|
## MakeCanvas
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
static std::unique_ptr<SkCanvas> MakeCanvas(std::unique_ptr<SkRasterHandleAllocator>,
|
|
|
|
const SkImageInfo&, const Rec* rec = nullptr)
|
2017-07-28 19:18:29 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# <a name="Filter_Quality"></a> Filter Quality
|
|
|
|
|
|
|
|
## <a name="SkFilterQuality"></a> Enum SkFilterQuality
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="kNone_SkFilterQuality"> <code><strong>kNone_SkFilterQuality </strong></code> </a></td><td>0</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="kLow_SkFilterQuality"> <code><strong>kLow_SkFilterQuality </strong></code> </a></td><td>1</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="kMedium_SkFilterQuality"> <code><strong>kMedium_SkFilterQuality </strong></code> </a></td><td>2</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="kHigh_SkFilterQuality"> <code><strong>kHigh_SkFilterQuality </strong></code> </a></td><td>3</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
2017-09-14 15:25:39 +00:00
|
|
|
## <a name="Nearest_Neighbor"></a> Nearest Neighbor
|
|
|
|
|
|
|
|
## <a name="Bilerp"></a> Bilerp
|
|
|
|
|
|
|
|
## <a name="MipMap"></a> MipMap
|
|
|
|
|
|
|
|
## <a name="BiCubic"></a> BiCubic
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Font"></a> Font
|
|
|
|
|
|
|
|
## <a name="Advance"></a> Advance
|
|
|
|
|
|
|
|
## <a name="Engine"></a> Engine
|
|
|
|
|
|
|
|
# <a name="Oval"></a> Oval
|
|
|
|
|
|
|
|
# <a name="Font_Manager"></a> Font Manager
|
|
|
|
|
2017-12-11 21:03:17 +00:00
|
|
|
# <a name="Glyph"></a> Glyph
|
|
|
|
|
2017-08-03 21:14:08 +00:00
|
|
|
# <a name="GPU_Context"></a> GPU Context
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
## <a name="Resource_Cache_Limits"></a> Resource Cache Limits
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
# <a name="GrContext"></a> Class GrContext
|
|
|
|
|
|
|
|
<a name="GrContext_flush"></a>
|
|
|
|
## flush
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-11-02 21:49:34 +00:00
|
|
|
void flush()
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-08-03 21:14:08 +00:00
|
|
|
# <a name="GPU_Surface"></a> GPU Surface
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Image_Alpha_Type"></a> Image Alpha Type
|
2017-07-28 19:18:29 +00:00
|
|
|
|
|
|
|
## <a name="SkAlphaType"></a> Enum SkAlphaType
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
2017-09-14 15:25:39 +00:00
|
|
|
<tr>
|
|
|
|
<td><a name="kUnknown_SkAlphaType"> <code><strong>kUnknown_SkAlphaType </strong></code> </a></td><td>0</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kOpaque_SkAlphaType"> <code><strong>kOpaque_SkAlphaType </strong></code> </a></td><td>1</td><td></td>
|
|
|
|
</tr>
|
2017-07-28 19:18:29 +00:00
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="kPremul_SkAlphaType"> <code><strong>kPremul_SkAlphaType </strong></code> </a></td><td>2</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
2017-09-14 15:25:39 +00:00
|
|
|
<tr>
|
|
|
|
<td><a name="kUnpremul_SkAlphaType"> <code><strong>kUnpremul_SkAlphaType </strong></code> </a></td><td>3</td><td></td>
|
|
|
|
</tr>
|
2017-07-28 19:18:29 +00:00
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
# <a name="Image_Filter"></a> Image Filter
|
|
|
|
|
|
|
|
## <a name="Scaling"></a> Scaling
|
|
|
|
|
|
|
|
# <a name="SkImageFilter"></a> Class SkImageFilter
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
<a name="SkImageFilter_toString"></a>
|
|
|
|
## toString
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-11-02 21:49:34 +00:00
|
|
|
void toString(SkString* str) const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Image_Scaling"></a> Image Scaling
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
# <a name="Malloc_Pixel_Ref"></a> Malloc Pixel Ref
|
|
|
|
|
|
|
|
# <a name="SkMallocPixelRef"></a> Class SkMallocPixelRef
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
<a name="SkMallocPixelRef_MakeZeroed"></a>
|
|
|
|
## MakeZeroed
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
static sk_sp<SkPixelRef> MakeZeroed(const SkImageInfo&, size_t rowBytes)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
<a name="SkMallocPixelRef_MakeAllocate"></a>
|
|
|
|
## MakeAllocate
|
2017-09-14 15:25:39 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
static sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes)
|
2017-09-14 15:25:39 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
2017-09-01 19:51:02 +00:00
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Mask"></a> Mask
|
|
|
|
|
2017-09-14 15:25:39 +00:00
|
|
|
# <a name="SkMask"></a> Class SkMask
|
|
|
|
|
|
|
|
## <a name="SkMask_Format"></a> Enum SkMask::Format
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SkMask_kBW_Format"> <code><strong>SkMask::kBW_Format </strong></code> </a></td><td>0</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SkMask_kA8_Format"> <code><strong>SkMask::kA8_Format </strong></code> </a></td><td>1</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SkMask_k3D_Format"> <code><strong>SkMask::k3D_Format </strong></code> </a></td><td>2</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SkMask_kARGB32_Format"> <code><strong>SkMask::kARGB32_Format </strong></code> </a></td><td>3</td><td></td>
|
|
|
|
</tr>
|
|
|
|
k <tr>
|
|
|
|
<td><a name="SkMask_LCD16_Format"> <code><strong>SkMask::LCD16_Format </strong></code> </a></td><td>4</td><td></td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Mask_Alpha"></a> Mask Alpha
|
|
|
|
|
|
|
|
# <a name="Mask_Filter"></a> Mask Filter
|
|
|
|
|
|
|
|
# <a name="SkMaskFilter"></a> Class SkMaskFilter
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
<a name="SkMaskFilter_filterMask"></a>
|
|
|
|
## filterMask
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&, SkIPoint* margin) const
|
2017-10-04 18:31:33 +00:00
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
<a name="SkMaskFilter_toString"></a>
|
|
|
|
## toString
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-11-02 21:49:34 +00:00
|
|
|
void toString(SkString* str) const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-09-14 15:25:39 +00:00
|
|
|
# <a name="Math"></a> Math
|
|
|
|
|
|
|
|
<a name="sk_64_isS32"></a>
|
|
|
|
## sk_64_isS32
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-09-14 15:25:39 +00:00
|
|
|
static inline bool sk_64_isS32(int64_t value)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
<a name="SkIntToScalar"></a>
|
|
|
|
## SkIntToScalar
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
SkIntToScalar(x)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkScalarRoundToInt"></a>
|
|
|
|
## SkScalarRoundToInt
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
SkScalarRoundToInt(x)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
<a name="SkScalarFloorToInt"></a>
|
|
|
|
## SkScalarFloorToInt
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
SkScalarFloorToInt(x)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkScalarCeilToInt"></a>
|
|
|
|
## SkScalarCeilToInt
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
SkScalarCeilToInt(x)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkScalarFloorToScalar"></a>
|
|
|
|
## SkScalarFloorToScalar
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
SkScalarFloorToScalar(x)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkScalarCeilToScalar"></a>
|
|
|
|
## SkScalarCeilToScalar
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
SkScalarCeilToScalar(x)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-10-09 18:07:42 +00:00
|
|
|
<a name="SkScalarIsFinite"></a>
|
|
|
|
## SkScalarIsFinite
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-09 18:07:42 +00:00
|
|
|
SkScalarIsFinite(x)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkScalarIsNaN"></a>
|
|
|
|
## SkScalarIsNaN
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-09 18:07:42 +00:00
|
|
|
SkScalarIsNaN(x)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkTFitsIn"></a>
|
|
|
|
## SkTFitsIn
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-09 18:07:42 +00:00
|
|
|
template <typename D, typename S> inline bool SkTFitsIn(S s)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
# <a name="Stream"></a> Stream
|
|
|
|
|
|
|
|
# <a name="SkStream"></a> Class SkStream
|
|
|
|
|
|
|
|
# <a name="Meta_Data"></a> Meta Data
|
|
|
|
|
|
|
|
# <a name="SkMetaData"></a> Class SkMetaData
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Nine_Patch"></a> Nine Patch
|
|
|
|
|
|
|
|
# <a name="Number_Types"></a> Number Types
|
|
|
|
|
2017-10-09 18:07:42 +00:00
|
|
|
# <a name="Scalar"></a> Scalar
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
2017-10-11 14:37:52 +00:00
|
|
|
<tr>
|
|
|
|
<td><a name="SK_MinS32FitsInFloat"> <code><strong>SK_MinS32FitsInFloat </strong></code> </a></td><td>to be written</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SK_MaxS32FitsInFloat"> <code><strong>SK_MaxS32FitsInFloat </strong></code> </a></td><td>to be written</td><td></td>
|
|
|
|
</tr>
|
2017-10-09 18:07:42 +00:00
|
|
|
<tr>
|
|
|
|
<td><a name="SK_ScalarMin"> <code><strong>SK_ScalarMin </strong></code> </a></td><td>to be written</td><td></td>
|
|
|
|
</tr>
|
2017-07-28 19:18:29 +00:00
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ScalarMax"> <code><strong>SK_ScalarMax </strong></code> </a></td><td>to be written</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ScalarInfinity"> <code><strong>SK_ScalarInfinity </strong></code> </a></td><td>to be written</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ScalarNegativeInfinity"> <code><strong>SK_ScalarNegativeInfinity </strong></code> </a></td><td>to be written</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SK_ScalarNaN"> <code><strong>SK_ScalarNaN </strong></code> </a></td><td>to be written</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
2017-10-09 18:07:42 +00:00
|
|
|
<tr>
|
|
|
|
<td><a name="SK_MinS32"> <code><strong>SK_MinS32 </strong></code> </a></td><td>to be written</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SK_MaxS32"> <code><strong>SK_MaxS32 </strong></code> </a></td><td>to be written</td><td></td>
|
|
|
|
</tr>
|
2017-07-28 19:18:29 +00:00
|
|
|
</table>
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="OS_X"></a> OS X
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Paint_Defaults"></a> Paint Defaults
|
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkPaintDefaults_Flags"> <code><strong>SkPaintDefaults_Flags </strong></code> </a></td><td>0</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkPaintDefaults_Hinting"> <code><strong>SkPaintDefaults_Hinting </strong></code> </a></td><td>2</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkPaintDefaults_TextSize"> <code><strong>SkPaintDefaults_TextSize </strong></code> </a></td><td>12</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkPaintDefaults_MiterLimit"> <code><strong>SkPaintDefaults_MiterLimit </strong></code> </a></td><td>4</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
# <a name="Path_Effect"></a> Path Effect
|
|
|
|
|
|
|
|
# <a name="SkPathEffect"></a> Class SkPathEffect
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
<a name="SkPathEffect_toString"></a>
|
|
|
|
## toString
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-11-02 21:49:34 +00:00
|
|
|
void toString(SkString* str) const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Path_Measure"></a> Path Measure
|
|
|
|
|
|
|
|
# <a name="SkPathMeasure"></a> Class SkPathMeasure
|
|
|
|
|
2017-08-25 17:14:33 +00:00
|
|
|
<a name="SkPathMeasure_dump"></a>
|
2017-07-28 19:18:29 +00:00
|
|
|
## dump
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
void dump() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# <a name="PathOps"></a> PathOps
|
|
|
|
|
|
|
|
<a name="Op"></a>
|
|
|
|
## Op
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# <a name="Picture"></a> Picture
|
|
|
|
|
2017-11-02 21:49:34 +00:00
|
|
|
# <a name="SkPicture"></a> Class SkPicture
|
|
|
|
|
|
|
|
<a name="SkPicture_playback"></a>
|
|
|
|
## playback
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-11-02 21:49:34 +00:00
|
|
|
virtual void playback(SkCanvas*, AbortCallback* = nullptr) const = 0
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
## <a name="Recorder"></a> Recorder
|
|
|
|
|
|
|
|
# <a name="SkPictureRecorder"></a> Class SkPictureRecorder
|
|
|
|
|
2017-08-25 17:14:33 +00:00
|
|
|
<a name="SkPictureRecorder_beginRecording"></a>
|
2017-07-28 19:18:29 +00:00
|
|
|
## beginRecording
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
SkCanvas* beginRecording(const SkRect& bounds, SkBBHFactory* bbhFactory = NULL,
|
|
|
|
uint32_t recordFlags = 0)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# <a name="Pixel"></a> Pixel
|
|
|
|
|
|
|
|
## <a name="Storage"></a> Storage
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
# <a name="Pixel_Ref"></a> Pixel Ref
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-09-14 15:25:39 +00:00
|
|
|
# <a name="SkPixelRef"></a> Class SkPixelRef
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
<a name="SkPixelRef_width"></a>
|
|
|
|
## width
|
2017-09-01 19:51:02 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
int width() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkPixelRef_height"></a>
|
|
|
|
## height
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
int height() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkPixelRef_isImmutable"></a>
|
|
|
|
## isImmutable
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
bool isImmutable() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
<a name="SkPixelRef_setImmutable"></a>
|
|
|
|
## setImmutable
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-10-04 18:31:33 +00:00
|
|
|
void setImmutable()
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
2017-09-01 19:51:02 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Pixel_Serializer"></a> Pixel Serializer
|
|
|
|
|
|
|
|
# <a name="SkPixelSerializer"></a> Class SkPixelSerializer
|
|
|
|
|
2017-10-26 11:58:48 +00:00
|
|
|
# <a name="Point3"></a> Point3
|
|
|
|
|
|
|
|
# <a name="SkPoint3"></a> Struct SkPoint3
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="Premultiply"></a> Premultiply
|
|
|
|
|
|
|
|
# <a name="Raster_Engine"></a> Raster Engine
|
|
|
|
|
2017-12-11 21:03:17 +00:00
|
|
|
# <a name="Raster_Bitmap"></a> Raster Bitmap
|
|
|
|
|
2017-08-03 21:14:08 +00:00
|
|
|
# <a name="Raster_Surface"></a> Raster Surface
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Rasterizer"></a> Rasterizer
|
|
|
|
|
|
|
|
# <a name="SkRasterizer"></a> Class SkRasterizer
|
|
|
|
|
|
|
|
## <a name="Layer"></a> Layer
|
|
|
|
|
|
|
|
# <a name="Reference_Count"></a> Reference Count
|
|
|
|
|
2017-10-04 18:31:33 +00:00
|
|
|
# <a name="SkRefCnt"></a> Class SkRefCnt
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="sk_sp"></a> Class sk_sp
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Render_Target"></a> Render Target
|
|
|
|
|
|
|
|
# <a name="GrRenderTarget"></a> Class GrRenderTarget
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="Right_Side_Bearing"></a> Right Side Bearing
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Round_Rect"></a> Round Rect
|
|
|
|
|
|
|
|
# <a name="SkRRect"></a> Class SkRRect
|
|
|
|
|
2017-08-25 17:14:33 +00:00
|
|
|
<a name="SkRRect_dump"></a>
|
2017-07-28 19:18:29 +00:00
|
|
|
## dump
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
void dump() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2017-08-25 17:14:33 +00:00
|
|
|
<a name="SkRRect_dumpHex"></a>
|
2017-07-28 19:18:29 +00:00
|
|
|
## dumpHex
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
2017-07-28 19:18:29 +00:00
|
|
|
void dumpHex() const
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
# <a name="RSXform"></a> RSXform
|
|
|
|
|
|
|
|
# <a name="SkRSXform"></a> Struct SkRSXform
|
|
|
|
|
|
|
|
# <a name="Shader"></a> Shader
|
|
|
|
|
|
|
|
# <a name="SkShader"></a> Class SkShader
|
|
|
|
|
2017-08-25 15:51:49 +00:00
|
|
|
## <a name="SkShader_TileMode"></a> Enum SkShader::TileMode
|
2017-07-28 19:18:29 +00:00
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
2017-08-25 15:51:49 +00:00
|
|
|
<td><a name="SkShader_kClamp_TileMode"> <code><strong>SkShader::kClamp_TileMode </strong></code> </a></td><td>0</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
2017-08-25 17:14:33 +00:00
|
|
|
<a name="SkShader_MakeBitmapShader"></a>
|
2017-07-28 19:18:29 +00:00
|
|
|
## MakeBitmapShader
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0">
|
|
|
|
static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy,
|
2017-07-28 19:18:29 +00:00
|
|
|
const SkMatrix* localMatrix = nullptr)
|
|
|
|
</pre>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
## <a name="Gradient"></a> Gradient
|
|
|
|
|
|
|
|
# <a name="Sprite"></a> Sprite
|
|
|
|
|
|
|
|
# <a name="String"></a> String
|
|
|
|
|
|
|
|
# <a name="SkString"></a> Class SkString
|
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="Supersampling"></a> Supersampling
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Surface_Characterization"></a> Surface Characterization
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="SkSurfaceCharacterization"></a> Class SkSurfaceCharacterization
|
2017-09-14 15:25:39 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Surface_Properties"></a> Surface Properties
|
2017-09-14 15:25:39 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="SkSurfaceProps"></a> Class SkSurfaceProps
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Legacy_Font_Host"></a> Legacy Font Host
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
## <a name="SkSurfaceProps_InitType"></a> Enum SkSurfaceProps::InitType
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
### Constants
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SkSurfaceProps_kLegacyFontHost_InitType"> <code><strong>SkSurfaceProps::kLegacyFontHost_InitType </strong></code> </a></td><td>0</td><td></td>
|
|
|
|
</tr>
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
</table>
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="SVG"></a> SVG
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
## <a name="Canvas"></a> Canvas
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
## <a name="Arc"></a> Arc
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Text"></a> Text
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Text_Blob"></a> Text Blob
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="SkTextBlob"></a> Class SkTextBlob
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
# <a name="Types"></a> Types
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
## <a name="GrSurfaceOrigin"></a> Enum GrSurfaceOrigin
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
### Constants
|
2017-11-02 21:49:34 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kBottomLeft_GrSurfaceOrigin"> <code><strong>kBottomLeft_GrSurfaceOrigin </strong></code> </a></td><td>0 </td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="kTopLeft_GrSurfaceOrigin"> <code><strong>kTopLeft_GrSurfaceOrigin </strong></code> </a></td><td>1</td><td></td>
|
|
|
|
</tr>
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
</table>
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
## <a name="Budgeted"></a> Budgeted
|
2017-08-03 21:14:08 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
## <a name="SkBudgeted"></a> Enum SkBudgeted
|
2017-07-28 19:18:29 +00:00
|
|
|
|
|
|
|
### Constants
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
2017-11-27 15:44:06 +00:00
|
|
|
<td><a name="SkBudgeted_kNo"> <code><strong>SkBudgeted::kNo </strong></code> </a></td><td>0</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="SkBudgeted_kYes"> <code><strong>SkBudgeted::kYes </strong></code> </a></td><td>1</td><td></td>
|
2017-07-28 19:18:29 +00:00
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
## <a name="GrSemaphoresSubmitted"></a> Enum GrSemaphoresSubmitted
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
### Constants
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<td><a name="GrSemaphoresSubmitted_kNo"> <code><strong>GrSemaphoresSubmitted::kNo </strong></code> </a></td><td>0</td><td></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td><a name="GrSemaphoresSubmitted_kYes"> <code><strong>GrSemaphoresSubmitted::kYes </strong></code> </a></td><td>1</td><td></td>
|
|
|
|
</tr>
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-11-27 15:44:06 +00:00
|
|
|
</table>
|
2017-07-28 19:18:29 +00:00
|
|
|
|
2017-09-01 19:51:02 +00:00
|
|
|
# <a name="Unpremultiply"></a> Unpremultiply
|
|
|
|
|
2017-07-28 19:18:29 +00:00
|
|
|
# <a name="Vertices"></a> Vertices
|
|
|
|
|
|
|
|
## <a name="Colors"></a> Colors
|
|
|
|
|
|
|
|
## <a name="Texs"></a> Texs
|
|
|
|
|
|
|
|
# <a name="Read_Buffer"></a> Read Buffer
|
|
|
|
|
|
|
|
# <a name="SkReadBuffer"></a> Struct SkReadBuffer
|
|
|
|
|
|
|
|
# <a name="Write_Buffer"></a> Write Buffer
|
|
|
|
|
|
|
|
# <a name="SkWriteBuffer"></a> Struct SkWriteBuffer
|