diff options
Diffstat (limited to 'site/user/api/undocumented.md')
-rw-r--r-- | site/user/api/undocumented.md | 628 |
1 files changed, 314 insertions, 314 deletions
diff --git a/site/user/api/undocumented.md b/site/user/api/undocumented.md index aab2c9d94b..4c48b29194 100644 --- a/site/user/api/undocumented.md +++ b/site/user/api/undocumented.md @@ -1,145 +1,20 @@ undocumented === -# <a name="Size"></a> Size - -# <a name="SkSize"></a> Struct SkSize - -# <a name="Curve"></a> Curve - -# <a name="Document"></a> Document - -# <a name="SkDocument"></a> Class SkDocument - -<a name="SkDocument_beginPage"></a> -## beginPage - -<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0"> -SkCanvas* beginPage(SkScalar width, SkScalar height, const SkRect* content = NULL) -</pre> - ---- - -## <a name="PDF"></a> PDF - -# <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> +# <a name="Alias"></a> Alias -</table> +# <a name="Anti-alias"></a> Anti-alias # <a name="Arc"></a> Arc -# <a name="Line"></a> Line - -# <a name="Debugging"></a> Debugging - -<a name="SkDebugf"></a> -## SkDebugf - -<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0"> -SK_API void SkDebugf(const char format[], ...) -</pre> - ---- - -# <a name="Region"></a> Region - -# <a name="SkRegion"></a> Class SkRegion - -# <a name="Device"></a> Device - -# <a name="SkBaseDevice"></a> Class SkBaseDevice - -# <a name="Patch"></a> Patch - -# <a name="Typeface"></a> Typeface - -# <a name="SkTypeface"></a> Class SkTypeface - -# <a name="Dump_Canvas"></a> Dump Canvas - -# <a name="SkDumpCanvas"></a> Class SkDumpCanvas - -# <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 - -# <a name="HTML_Canvas"></a> HTML Canvas - -## <a name="ArcTo"></a> ArcTo - -# <a name="Raster_Image"></a> Raster Image - -# <a name="Left_Side_Bearing"></a> Left Side Bearing - -# <a name="Alias"></a> Alias +# <a name="BBH_Factory"></a> BBH Factory -# <a name="Anti-alias"></a> Anti-alias +# <a name="SkBBHFactory"></a> Class SkBBHFactory # <a name="Backend_Semaphore"></a> Backend Semaphore # <a name="GrBackendSemaphore"></a> Class GrBackendSemaphore -# <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 @@ -161,139 +36,6 @@ SK_API void SkDebugf(const char format[], ...) # <a name="Circle"></a> Circle -# <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> - ---- - # <a name="Clip_Op"></a> Clip Op ## <a name="SkClipOp"></a> Enum SkClipOp @@ -433,6 +175,10 @@ static sk_sp<SkColorSpace> MakeSRGBLinear() </table> +# <a name="Core_Graphics"></a> Core Graphics + +# <a name="Core_Text"></a> Core Text + # <a name="Create_Color_Space_Xform_Canvas"></a> Create Color Space Xform Canvas <a name="SkCreateColorSpaceXformCanvas"></a> @@ -445,17 +191,49 @@ std::unique_ptr<SkCanvas> SK_API SkCreateColorSpaceXformCanvas(SkCanvas* t --- -# <a name="Core_Graphics"></a> Core Graphics +# <a name="Curve"></a> Curve -# <a name="Texture"></a> Texture +# <a name="Data"></a> Data -# <a name="GrBackendTexture"></a> Class GrBackendTexture +# <a name="SkData"></a> Class SkData -# <a name="Core_Text"></a> Core Text +# <a name="Debugging"></a> Debugging -# <a name="Data"></a> Data +<a name="SkDebugf"></a> +## SkDebugf -# <a name="SkData"></a> Class SkData +<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0"> +SK_API void SkDebugf(const char format[], ...) +</pre> + +--- + +# <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="Device"></a> Device + +# <a name="SkBaseDevice"></a> Class SkBaseDevice + +# <a name="Document"></a> Document + +# <a name="SkDocument"></a> Class SkDocument + +<a name="SkDocument_beginPage"></a> +## beginPage + +<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0"> +SkCanvas* beginPage(SkScalar width, SkScalar height, const SkRect* content = NULL) +</pre> + +--- + +## <a name="PDF"></a> PDF # <a name="Draw_Filter"></a> Draw Filter @@ -480,21 +258,9 @@ void draw(SkCanvas*, const SkMatrix* = NULL) --- -# <a name="Raster_Handle_Allocator"></a> Raster Handle Allocator - -# <a name="SkRasterHandleAllocator"></a> Class SkRasterHandleAllocator - -# <a name="SkRasterHandleAllocator_Rec"></a> Struct SkRasterHandleAllocator::Rec - -<a name="SkRasterHandleAllocator_MakeCanvas"></a> -## MakeCanvas - -<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) -</pre> +# <a name="Dump_Canvas"></a> Dump Canvas ---- +# <a name="SkDumpCanvas"></a> Class SkDumpCanvas # <a name="Filter_Quality"></a> Filter Quality @@ -532,12 +298,8 @@ static std::unique_ptr<SkCanvas> MakeCanvas(std::unique_ptr<SkRasterHan ## <a name="Engine"></a> Engine -# <a name="Oval"></a> Oval - # <a name="Font_Manager"></a> Font Manager -# <a name="Glyph"></a> Glyph - # <a name="GPU_Context"></a> GPU Context ## <a name="Resource_Cache_Limits"></a> Resource Cache Limits @@ -555,6 +317,16 @@ void flush() # <a name="GPU_Surface"></a> GPU Surface +# <a name="Glyph"></a> Glyph + +# <a name="HTML_Canvas"></a> HTML Canvas + +## <a name="ArcTo"></a> ArcTo + +# <a name="ISize"></a> ISize + +# <a name="SkISize"></a> Struct SkISize + # <a name="Image_Alpha_Type"></a> Image Alpha Type ## <a name="SkAlphaType"></a> Enum SkAlphaType @@ -577,6 +349,53 @@ void flush() </table> +# <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> + # <a name="Image_Filter"></a> Image Filter ## <a name="Scaling"></a> Scaling @@ -592,8 +411,145 @@ void toString(SkString* str) const --- +# <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> + +--- + # <a name="Image_Scaling"></a> Image Scaling +# <a name="Left_Side_Bearing"></a> Left Side Bearing + +# <a name="Line"></a> Line + # <a name="Malloc_Pixel_Ref"></a> Malloc Pixel Ref # <a name="SkMallocPixelRef"></a> Class SkMallocPixelRef @@ -759,14 +715,12 @@ template <typename D, typename S> inline bool SkTFitsIn(S s) --- -# <a name="Stream"></a> Stream - -# <a name="SkStream"></a> Class SkStream - # <a name="Meta_Data"></a> Meta Data # <a name="SkMetaData"></a> Class SkMetaData +# <a name="Mip_Map"></a> Mip Map + # <a name="Nine_Patch"></a> Nine Patch # <a name="Number_Types"></a> Number Types @@ -807,6 +761,8 @@ template <typename D, typename S> inline bool SkTFitsIn(S s) # <a name="OS_X"></a> OS X +# <a name="Oval"></a> Oval + # <a name="Paint_Defaults"></a> Paint Defaults ### Constants @@ -826,6 +782,19 @@ template <typename D, typename S> inline bool SkTFitsIn(S s) </tr> </table> +# <a name="Patch"></a> Patch + +# <a name="PathOps"></a> PathOps + +<a name="Op"></a> +## Op + +<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0"> +bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) +</pre> + +--- + # <a name="Path_Effect"></a> Path Effect # <a name="SkPathEffect"></a> Class SkPathEffect @@ -852,17 +821,6 @@ void dump() const --- -# <a name="PathOps"></a> PathOps - -<a name="Op"></a> -## Op - -<pre style="padding: 1em 1em 1em 1em;width: 62.5em; background-color: #f0f0f0"> -bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result) -</pre> - ---- - # <a name="Picture"></a> Picture # <a name="SkPicture"></a> Class SkPicture @@ -942,12 +900,38 @@ void setImmutable() # <a name="SkPoint3"></a> Struct SkPoint3 +# <a name="PostScript"></a> PostScript + +## <a name="Arct"></a> Arct + # <a name="Premultiply"></a> Premultiply -# <a name="Raster_Engine"></a> Raster Engine +# <a name="RSXform"></a> RSXform + +# <a name="SkRSXform"></a> Struct SkRSXform # <a name="Raster_Bitmap"></a> Raster Bitmap +# <a name="Raster_Engine"></a> Raster Engine + +# <a name="Raster_Handle_Allocator"></a> Raster Handle Allocator + +# <a name="SkRasterHandleAllocator"></a> Class SkRasterHandleAllocator + +# <a name="SkRasterHandleAllocator_Rec"></a> Struct SkRasterHandleAllocator::Rec + +<a name="SkRasterHandleAllocator_MakeCanvas"></a> +## MakeCanvas + +<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) +</pre> + +--- + +# <a name="Raster_Image"></a> Raster Image + # <a name="Raster_Surface"></a> Raster Surface # <a name="Rasterizer"></a> Rasterizer @@ -956,12 +940,20 @@ void setImmutable() ## <a name="Layer"></a> Layer +# <a name="Read_Buffer"></a> Read Buffer + +# <a name="SkReadBuffer"></a> Struct SkReadBuffer + # <a name="Reference_Count"></a> Reference Count # <a name="SkRefCnt"></a> Class SkRefCnt # <a name="sk_sp"></a> Class sk_sp +# <a name="Region"></a> Region + +# <a name="SkRegion"></a> Class SkRegion + # <a name="Render_Target"></a> Render Target # <a name="GrRenderTarget"></a> Class GrRenderTarget @@ -990,9 +982,11 @@ void dumpHex() const --- -# <a name="RSXform"></a> RSXform +# <a name="SVG"></a> SVG -# <a name="SkRSXform"></a> Struct SkRSXform +## <a name="Canvas"></a> Canvas + +## <a name="Arc"></a> Arc # <a name="Shader"></a> Shader @@ -1021,8 +1015,16 @@ static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, ## <a name="Gradient"></a> Gradient +# <a name="Size"></a> Size + +# <a name="SkSize"></a> Struct SkSize + # <a name="Sprite"></a> Sprite +# <a name="Stream"></a> Stream + +# <a name="SkStream"></a> Class SkStream + # <a name="String"></a> String # <a name="SkString"></a> Class SkString @@ -1050,18 +1052,20 @@ static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, </table> -# <a name="SVG"></a> SVG - -## <a name="Canvas"></a> Canvas - -## <a name="Arc"></a> Arc - # <a name="Text"></a> Text # <a name="Text_Blob"></a> Text Blob # <a name="SkTextBlob"></a> Class SkTextBlob +# <a name="Texture"></a> Texture + +# <a name="GrBackendTexture"></a> Class GrBackendTexture + +# <a name="Typeface"></a> Typeface + +# <a name="SkTypeface"></a> Class SkTypeface + # <a name="Types"></a> Types ## <a name="GrSurfaceOrigin"></a> Enum GrSurfaceOrigin @@ -1116,10 +1120,6 @@ static sk_sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, ## <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 |