Browse Source

Travis CI: API documentation update at 2017-06-23 22:50:38 UTC.
[ci package]

Commit: https://github.com/urho3d/Urho3D/commit/071b42819d31fc47bc0afb1c897123b7f774e378

Message: Amend porting note.

urho3d-travis-ci 8 years ago
parent
commit
7a905bd056
4 changed files with 36 additions and 30 deletions
  1. 10 9
      Docs/AngelScriptAPI.h
  2. 15 11
      Docs/LuaScriptAPI.dox
  3. 10 9
      Docs/ScriptAPI.dox
  4. 1 1
      Source/Urho3D/.soversion

+ 10 - 9
Docs/AngelScriptAPI.h

@@ -5236,7 +5236,7 @@ public:
 Font();
 Font(const String&in);
 // Methods:
-IntVector2 GetTotalGlyphOffset(int) const;
+IntVector2 GetTotalGlyphOffset(float) const;
 bool HasSubscribedToEvent(Object, const String&);
 bool HasSubscribedToEvent(const String&);
 bool Load(File);
@@ -12686,9 +12686,9 @@ bool bringToFront;
 /* readonly */
 String category;
 /* readonly */
-Array<IntVector2> charPositions;
+Array<Vector2> charPositions;
 /* readonly */
-Array<IntVector2> charSizes;
+Array<Vector2> charSizes;
 /* readonly */
 IntVector2 childOffset;
 /* readonly */
@@ -12777,10 +12777,10 @@ int refs;
 /* readonly */
 UIElement root;
 /* readonly */
-int rowHeight;
+float rowHeight;
 float rowSpacing;
 /* readonly */
-Array<int> rowWidths;
+Array<float> rowWidths;
 /* readonly */
 IntVector2 screenPosition;
 bool selected;
@@ -12871,9 +12871,9 @@ bool castShadows;
 /* readonly */
 String category;
 /* readonly */
-Array<IntVector2> charPositions;
+Array<Vector2> charPositions;
 /* readonly */
-Array<IntVector2> charSizes;
+Array<Vector2> charSizes;
 /* writeonly */
 Color color;
 Array<Color> colors;
@@ -12917,10 +12917,10 @@ float opacity;
 /* readonly */
 int refs;
 /* readonly */
-int rowHeight;
+float rowHeight;
 float rowSpacing;
 /* readonly */
-Array<int> rowWidths;
+Array<float> rowWidths;
 float shadowDistance;
 uint shadowMask;
 bool temporary;
@@ -13929,6 +13929,7 @@ int refs;
 /* readonly */
 UIElement root;
 float scale;
+bool subpixelGlyphPositions;
 /* readonly */
 StringHash type;
 /* readonly */

+ 15 - 11
Docs/LuaScriptAPI.dox

@@ -2468,7 +2468,7 @@ Methods:
 - void SetScaledGlyphOffset(const Vector2& offset)
 - const IntVector2& GetAbsoluteGlyphOffset() const
 - const Vector2& GetScaledGlyphOffset() const
-- IntVector2 GetTotalGlyphOffset(int pointSize) const
+- IntVector2 GetTotalGlyphOffset(float pointSize) const
 - FontType GetFontType() const
 - bool IsSDFFont() const
 
@@ -6584,12 +6584,12 @@ Methods:
 - int GetEffectStrokeThickness() const
 - bool GetEffectRoundStroke() const
 - const Color& GetEffectColor() const
-- int GetRowHeight() const
+- float GetRowHeight() const
 - unsigned GetNumRows() const
 - unsigned GetNumChars() const
-- int GetRowWidth(unsigned index) const
-- IntVector2 GetCharPosition(unsigned index)
-- IntVector2 GetCharSize(unsigned index)
+- float GetRowWidth(unsigned index) const
+- Vector2 GetCharPosition(unsigned index)
+- Vector2 GetCharSize(unsigned index)
 - void SetEffectDepthBias(float bias)
 - float GetEffectDepthBias() const
 
@@ -6611,7 +6611,7 @@ Properties:
 - int effectStrokeThickness
 - bool effectRoundStroke
 - Color& effectColor
-- int rowHeight (readonly)
+- float rowHeight (readonly)
 - unsigned numRows (readonly)
 - unsigned numChars (readonly)
 
@@ -6663,12 +6663,12 @@ Methods:
 - float GetEffectDepthBias() const
 - int GetWidth() const
 - int GetHeight() const
-- int GetRowHeight() const
+- float GetRowHeight() const
 - unsigned GetNumRows() const
 - unsigned GetNumChars() const
-- int GetRowWidth(unsigned index) const
-- IntVector2 GetCharPosition(unsigned index)
-- IntVector2 GetCharSize(unsigned index)
+- float GetRowWidth(unsigned index) const
+- Vector2 GetCharPosition(unsigned index)
+- Vector2 GetCharSize(unsigned index)
 - const Color& GetColor(Corner corner) const
 - float GetOpacity() const
 - bool IsFixedScreenSize() const
@@ -6694,7 +6694,7 @@ Properties:
 - int width
 - Color& color
 - int height (readonly)
-- int rowHeight (readonly)
+- float rowHeight (readonly)
 - unsigned numRows (readonly)
 - unsigned numChars (readonly)
 - float opacity
@@ -7027,6 +7027,7 @@ Methods:
 - void SetUseMutableGlyphs(bool enable)
 - void SetForceAutoHint(bool enable)
 - void SetFontHintLevel(FontHintLevel level)
+- void SetSubpixelGlyphPositions(bool enable)
 - void SetScale(float scale)
 - void SetWidth(float width)
 - void SetHeight(float height)
@@ -7053,6 +7054,7 @@ Methods:
 - bool GetUseMutableGlyphs() const
 - bool GetForceAutoHint() const
 - FontHintLevel GetFontHintLevel() const
+- bool GetSubpixelGlyphPositions() const
 - bool HasModalElement() const
 - bool IsDragging() const
 - float GetScale() const
@@ -7077,6 +7079,8 @@ Properties:
 - bool useScreenKeyboard
 - bool useMutableGlyphs
 - bool forceAutoHint
+- FontHintLevel fontHintLevel
+- bool subpixelGlyphPositions
 - bool modalElement (readonly)
 - float scale
 - IntVector2& customSize

+ 10 - 9
Docs/ScriptAPI.dox

@@ -7353,7 +7353,7 @@ Properties:
 
 Methods:
 
-- IntVector2 GetTotalGlyphOffset(int) const
+- IntVector2 GetTotalGlyphOffset(float) const
 - bool HasSubscribedToEvent(Object@, const String&)
 - bool HasSubscribedToEvent(const String&)
 - bool Load(File@)
@@ -13730,8 +13730,8 @@ Properties:
 - bool bringToBack
 - bool bringToFront
 - String category // readonly
-- IntVector2[] charPositions // readonly
-- IntVector2[] charSizes // readonly
+- Vector2[] charPositions // readonly
+- Vector2[] charSizes // readonly
 - IntVector2 childOffset // readonly
 - UIElement@[] children // readonly
 - IntRect clipBorder
@@ -13797,9 +13797,9 @@ Properties:
 - int priority
 - int refs // readonly
 - UIElement@ root // readonly
-- int rowHeight // readonly
+- float rowHeight // readonly
 - float rowSpacing
-- int[] rowWidths // readonly
+- float[] rowWidths // readonly
 - IntVector2 screenPosition // readonly
 - bool selected
 - Color selectionColor
@@ -13878,8 +13878,8 @@ Properties:
 - BoundingBox boundingBox // readonly
 - bool castShadows
 - String category // readonly
-- IntVector2[] charPositions // readonly
-- IntVector2[] charSizes // readonly
+- Vector2[] charPositions // readonly
+- Vector2[] charSizes // readonly
 - Color color // writeonly
 - Color[] colors
 - float drawDistance
@@ -13911,9 +13911,9 @@ Properties:
 - bool occluder
 - float opacity
 - int refs // readonly
-- int rowHeight // readonly
+- float rowHeight // readonly
 - float rowSpacing
-- int[] rowWidths // readonly
+- float[] rowWidths // readonly
 - float shadowDistance
 - uint shadowMask
 - bool temporary
@@ -14718,6 +14718,7 @@ Properties:
 - int refs // readonly
 - UIElement@ root // readonly
 - float scale
+- bool subpixelGlyphPositions
 - StringHash type // readonly
 - String typeName // readonly
 - bool useMutableGlyphs

+ 1 - 1
Source/Urho3D/.soversion

@@ -1 +1 @@
-0.1.73
+0.1.74