fixup bookmaker

add placeholders for SkPath::shrinkToFit, debugging_private_getFreeSpace

TBR=fmalita@chromium.org,reed@google.com
NOTRY=true
Docs-Preview: https://skia.org/?cl=153669
Bug: skia:
Change-Id: I69b34a37dcdd7425e62d34e3b9a55981db354502
Reviewed-on: https://skia-review.googlesource.com/153669
Auto-Submit: Cary Clark <caryclark@skia.org>
Commit-Queue: Cary Clark <caryclark@skia.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Florin Malita <fmalita@chromium.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
This commit is contained in:
Cary Clark 2018-09-11 15:26:53 -04:00 committed by Skia Commit-Bot
parent aa5fc159f9
commit 99ebc428b8
2 changed files with 54 additions and 5 deletions

View File

@ -2117,6 +2117,17 @@ void draw(SkCanvas* canvas) {
##
#Method void shrinkToFit()
#In Utility
#Line # removes unused reserved space ##
Removes unused space in Path Verb_Array and Point_Array.
#NoExample
##
#SeeAlso incReserve
##
# ------------------------------------------------------------------------------
#Subtopic Build
#Populate
@ -5373,6 +5384,10 @@ empty genID = 1
#Deprecated soon
##
#Method size_t debugging_private_getFreeSpace() const
#Experimental
##
# ------------------------------------------------------------------------------
#Class Iter

View File

@ -707,22 +707,26 @@ SkPath member functions read and modify the structure properties.
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>replaces <a href='#Last_Point'>Last Point</a></td>
</tr>
<tr>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_shrinkToFit'>shrinkToFit</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>removes unused reserved space</td>
</tr>
<tr style='background-color: #f0f0f0; '>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_swap'>swap</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>exchanges <a href='#Path'>Path</a> pair</td>
</tr>
<tr style='background-color: #f0f0f0; '>
<tr>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_toggleInverseFillType'>toggleInverseFillType</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>toggles <a href='#Fill_Type'>Fill Type</a> between inside and outside geometry</td>
</tr>
<tr>
<tr style='background-color: #f0f0f0; '>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_transform'>transform</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>applies <a href='SkMatrix_Reference#Matrix'>Matrix</a> to <a href='#Point_Array'>Point Array</a> and <a href='#Conic_Weight'>Weights</a></td>
</tr>
<tr style='background-color: #f0f0f0; '>
<tr>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_updateBoundsCache'>updateBoundsCache</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>refreshes result of <a href='#SkPath_getBounds'>getBounds</a></td>
</tr>
<tr>
<tr style='background-color: #f0f0f0; '>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_writeToMemory'>writeToMemory</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>copies data to buffer</td>
</tr>
@ -2580,10 +2584,14 @@ rotated circle bounds = 14.6447, 9.64466, 85.3553, 80.3553
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_setLastPt'>setLastPt(SkScalar x, SkScalar y)</a></td>
</tr>
<tr style='background-color: #f0f0f0; '>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_shrinkToFit'>shrinkToFit</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>removes unused reserved space</td>
</tr>
<tr>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_updateBoundsCache'>updateBoundsCache</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>refreshes result of <a href='#SkPath_getBounds'>getBounds</a></td>
</tr>
<tr>
<tr style='background-color: #f0f0f0; '>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '><a href='#SkPath_writeToMemory'>writeToMemory</a></td>
<td style='text-align: left; border: 2px solid #dddddd; padding: 8px; '>copies data to buffer</td>
</tr>
@ -2733,6 +2741,21 @@ reducing the number and size of allocations when creating <a href='#Path'>Path</
---
<a name='SkPath_shrinkToFit'></a>
## shrinkToFit
<pre style="padding: 1em 1em 1em 1em; width: 62.5em;background-color: #f0f0f0">
void <a href='#SkPath_shrinkToFit'>shrinkToFit</a>()
</pre>
Removes unused space in <a href='#Path'>Path</a> <a href='#Verb_Array'>Verb Array</a> and <a href='#Point_Array'>Point Array</a>.
### See Also
<a href='#SkPath_incReserve'>incReserve</a>
---
## <a name='Build'>Build</a>
@ -5932,6 +5955,17 @@ To be deprecated soon.
---
<a name='SkPath_debugging_private_getFreeSpace'></a>
## debugging_private_getFreeSpace
<pre style="padding: 1em 1em 1em 1em; width: 62.5em;background-color: #f0f0f0">
size_t <a href='#SkPath_debugging_private_getFreeSpace'>debugging private getFreeSpace</a>() const
</pre>
Experimental.
---
# <a name='SkPath_Iter'>Class SkPath::Iter</a>
## <a name='Constructor'>Constructor</a>