aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorskia-bookmaker <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com>2018-12-03 07:11:50 +0000
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2018-12-03 07:38:03 +0000
commit28ce5f269f7d544daa006af80abc395f8469ecd7 (patch)
tree87725f4618d06fb605d0fe3f74fc5f13e5de9450 /site
parentec95ac29550a5d56753ecd54cae069c4069cdf8f (diff)
downloadskqp-28ce5f269f7d544daa006af80abc395f8469ecd7.tar.gz
Update markdown files
Automatic commit by the Housekeeper-Nightly-Bookmaker bot. TBR=rmistry@google.com NO_MERGE_BUILDS Change-Id: Ib0e4a097ec2cc7dbc9a92d576cea0e346c7ced6b Reviewed-on: https://skia-review.googlesource.com/c/173844 Commit-Queue: <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com> Reviewed-by: <skia-bookmaker@skia-swarming-bots.iam.gserviceaccount.com>
Diffstat (limited to 'site')
-rw-r--r--site/user/api/SkFont_Reference.md2
-rw-r--r--site/user/api/SkPaint_Reference.md2
2 files changed, 3 insertions, 1 deletions
diff --git a/site/user/api/SkFont_Reference.md b/site/user/api/SkFont_Reference.md
index 07e4c02906..7107f02249 100644
--- a/site/user/api/SkFont_Reference.md
+++ b/site/user/api/SkFont_Reference.md
@@ -60,6 +60,8 @@ class <a href='SkFont_Reference#SkFont'>SkFont</a> {
uint16_t <a href='#SkFont_unicharToGlyph'>unicharToGlyph</a>(<a href='undocumented#SkUnichar'>SkUnichar</a> uni) const;
int <a href='#SkFont_countText'>countText</a>(const void* <a href='undocumented#Text'>text</a>, size_t byteLength, <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> encoding) const;
bool <a href='#SkFont_containsText'>containsText</a>(const void* <a href='undocumented#Text'>text</a>, size_t byteLength, <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> encoding) const;
+ size_t breakText(const void* <a href='undocumented#Text'>text</a>, size_t length, <a href='undocumented#SkTextEncoding'>SkTextEncoding</a>, <a href='undocumented#SkScalar'>SkScalar</a> maxWidth,
+ <a href='undocumented#SkScalar'>SkScalar</a>* measuredWidth = nullptr) const;
<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkFont_measureText'>measureText</a>(const void* <a href='undocumented#Text'>text</a>, size_t byteLength, <a href='undocumented#SkTextEncoding'>SkTextEncoding</a> encoding,
<a href='SkRect_Reference#SkRect'>SkRect</a>* bounds = nullptr) const;
bool <a href='#SkFont_getPath'>getPath</a>(uint16_t glyphID, <a href='SkPath_Reference#SkPath'>SkPath</a>* <a href='SkPath_Reference#Path'>path</a>) const;
diff --git a/site/user/api/SkPaint_Reference.md b/site/user/api/SkPaint_Reference.md
index d66c35083b..1ac0c24147 100644
--- a/site/user/api/SkPaint_Reference.md
+++ b/site/user/api/SkPaint_Reference.md
@@ -146,6 +146,7 @@ class <a href='SkPaint_Reference#SkPaint'>SkPaint</a> {
<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getFontMetrics'>getFontMetrics</a>(<a href='undocumented#SkFontMetrics'>SkFontMetrics</a>* metrics) const;
<a href='undocumented#SkScalar'>SkScalar</a> <a href='#SkPaint_getFontSpacing'>getFontSpacing</a>() const;
+ <a href='SkRect_Reference#SkRect'>SkRect</a> <a href='#SkPaint_getFontBounds'>getFontBounds</a>() const;
int <a href='#SkPaint_textToGlyphs'>textToGlyphs</a>(const void* <a href='undocumented#Text'>text</a>, size_t byteLength,
<a href='undocumented#SkGlyphID'>SkGlyphID</a> <a href='undocumented#Glyph'>glyphs</a>[]) const;
bool <a href='#SkPaint_containsText'>containsText</a>(const void* <a href='undocumented#Text'>text</a>, size_t byteLength) const;
@@ -169,7 +170,6 @@ class <a href='SkPaint_Reference#SkPaint'>SkPaint</a> {
<a href='undocumented#SkScalar'>SkScalar</a> constY, const <a href='undocumented#SkScalar'>SkScalar</a> bounds[2], <a href='undocumented#SkScalar'>SkScalar</a>* intervals) const;
int <a href='#SkPaint_getTextBlobIntercepts'>getTextBlobIntercepts</a>(const <a href='SkTextBlob_Reference#SkTextBlob'>SkTextBlob</a>* blob, const <a href='undocumented#SkScalar'>SkScalar</a> bounds[2],
<a href='undocumented#SkScalar'>SkScalar</a>* intervals) const;
- <a href='SkRect_Reference#SkRect'>SkRect</a> <a href='#SkPaint_getFontBounds'>getFontBounds</a>() const;
bool <a href='#SkPaint_nothingToDraw'>nothingToDraw</a>() const;
};