From 4855f78dd16ad50003ec537c98062e24a831cd45 Mon Sep 17 00:00:00 2001 From: Cary Clark Date: Tue, 6 Feb 2018 09:41:53 -0500 Subject: fix bookmaker nightly - mark the interfaces that use SkMask as deprecated - add more autogenerated subtopics - make subtopic names singular, avoiding collision with Skia names - simplify #Deprecated and #Bug tags - add "#Deprecated soon" to note things to be deprecated - fix some spelling errors - refresh web docs - add self-check functionality to find methods outside subtopics TBR=caryclark@google.com Docs-Preview: https://skia.org/?cl=102150 Bug: skia:6898 Change-Id: I0e742a56d49dccd4409bb68eed9167c8ad7611ce Reviewed-on: https://skia-review.googlesource.com/102150 Commit-Queue: Cary Clark Reviewed-by: Cary Clark --- docs/SkIPoint_Reference.bmh | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) (limited to 'docs/SkIPoint_Reference.bmh') diff --git a/docs/SkIPoint_Reference.bmh b/docs/SkIPoint_Reference.bmh index 4c39f82ffa..11a6cdcd1d 100644 --- a/docs/SkIPoint_Reference.bmh +++ b/docs/SkIPoint_Reference.bmh @@ -3,7 +3,7 @@ #Alias IPoint_Reference #Subtopic Overview - #Subtopic Subtopics + #Subtopic Subtopic #Populate ## ## @@ -12,19 +12,15 @@ SkIPoint holds two 32 bit integer coordinates. -#Subtopic Constructors +#Subtopic Related_Function #Populate ## -#Subtopic Operators +#Subtopic Member_Function #Populate ## -#Subtopic Member_Functions -#Populate -## - -#Subtopic Members +#Subtopic Member #Populate #Member int32_t fX @@ -37,12 +33,17 @@ x-axis value used by IPoint. y-axis value used by IPoint. ## -#Subtopic Members ## +#Subtopic Member ## # ------------------------------------------------------------------------------ +#Subtopic Constructor +#Populate +## + #Method static constexpr SkIPoint Make(int32_t x, int32_t y) +#In Constructor #Line # constructs from integer inputs ## Sets fX to x, fY to y. @@ -66,8 +67,13 @@ pt1 == pt2 # ------------------------------------------------------------------------------ -#Method int32_t x() const +#Subtopic Property +#Line # member values ## +#Populate +## +#Method int32_t x() const +#In Property #Line # returns fX ## Returns x-axis value of IPoint. @@ -88,7 +94,7 @@ pt1.fX == pt1.x() # ------------------------------------------------------------------------------ #Method int32_t y() const - +#In Property #Line # returns fY ## Returns y-axis value of IPoint. @@ -109,7 +115,7 @@ pt1.fY == pt1.y() # ------------------------------------------------------------------------------ #Method bool isZero() const - +#In Property #Line # returns true if both members equal zero ## Returns true if fX and fY are both zero. @@ -129,8 +135,13 @@ pt.isZero() == true # ------------------------------------------------------------------------------ -#Method void set(int32_t x, int32_t y) +#Subtopic Set +#Populate +#Line # replaces all values ## +## +#Method void set(int32_t x, int32_t y) +#In Set #Line # sets to integer input ## Sets fX to x and fY to y. @@ -151,6 +162,9 @@ pt1 == pt2 #Method ## # ------------------------------------------------------------------------------ +#Subtopic Operator +#Populate +## #Method SkIPoint operator-()_const @@ -260,7 +274,7 @@ Subtracts IVector v from IPoint. Sets IPoint to: # ------------------------------------------------------------------------------ #Method bool equals(int32_t x, int32_t y) const - +#In Operator #Line # returns true if members are equal ## Returns true if IPoint is equivalent to IPoint constructed from (x, y). -- cgit v1.2.3