LoadFontEx fix. DrawTextBoxed and DrawTextBoxedSelectable From raylib [text] example - Rectangle bounds.
This commit is contained in:
22
API.md
22
API.md
@@ -2725,10 +2725,14 @@ ColorPicker right hue bar selector overflow
|
||||
## Globals - LightType
|
||||
> LIGHT_DIRECTIONAL = 0
|
||||
|
||||
Directional light
|
||||
|
||||
---
|
||||
|
||||
> LIGHT_POINT = 1
|
||||
|
||||
Point light
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -5618,8 +5622,8 @@ NOTE! Should be TEXTURE_TYPE_TEXTURE. Pixel should be in format { { 255, 255, 25
|
||||
|
||||
> RL.UpdateTextureRec( Texture texture, Rectangle rec, int{} pixels )
|
||||
|
||||
Update GPU texture rectangle with new data
|
||||
NOTE! Should be TEXTURE_TYPE_TEXTURE. Pixel should be in format { { 255, 255, 255, 255 }... } depending on the pixel format
|
||||
Update GPU texture rectangle with new data.
|
||||
Pixel should be in format { { 255, 255, 255, 255 }... } depending on the pixel format
|
||||
|
||||
---
|
||||
|
||||
@@ -5891,7 +5895,7 @@ Load font from file with extended parameters, use NULL for fontChars to load the
|
||||
|
||||
> font = RL.LoadFontFromImage( Image image, Color key, int firstChar )
|
||||
|
||||
Load font from Image ( XNA style)
|
||||
Load font from Image (XNA style)
|
||||
|
||||
- Success return Font
|
||||
|
||||
@@ -5951,6 +5955,18 @@ Draw multiple character (codepoint)
|
||||
|
||||
---
|
||||
|
||||
> RL.DrawTextBoxed(Font font, const char *text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint )
|
||||
|
||||
Draw text using font inside rectangle limits. Function from raylib [text] example - Rectangle bounds
|
||||
|
||||
---
|
||||
|
||||
> RL.DrawTextBoxedSelectable( Font font, string text, Rectangle rec, float fontSize, float spacing, bool wordWrap, Color tint, int selectStart, int selectLength, Color selectTint, Color selectBackTint )
|
||||
|
||||
Draw text using font inside rectangle limits with support for text selection. Function from raylib [text] example - Rectangle bounds
|
||||
|
||||
---
|
||||
|
||||
## Text - Font info functions
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user