You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RLAPIvoidDrawPolyLines(Vector2center, intsides, floatradius, floatrotation, Colorcolor); // Draw a polygon outline of n sides
1071
1083
1072
1084
RLAPIvoidSetShapesTexture(Texture2Dtexture, Rectanglesource); // Define default texture used to draw shapes
1073
1085
@@ -1183,15 +1195,17 @@ RLAPI void DrawText(const char *text, int posX, int posY, int fontSize, Color co
1183
1195
RLAPIvoidDrawTextEx(Fontfont, constchar*text, Vector2position, floatfontSize, floatspacing, Colortint); // Draw text using font and additional parameters
1184
1196
RLAPIvoidDrawTextRec(Fontfont, constchar*text, Rectanglerec, floatfontSize, floatspacing, boolwordWrap, Colortint); // Draw text using font inside rectangle limits
intselectStart, intselectLength, ColorselectText, ColorselectBack); // Draw text using font inside rectangle limits with support for text selection
1198
+
intselectStart, intselectLength, ColorselectTint, ColorselectBackTint); // Draw text using font inside rectangle limits with support for text selection
1199
+
RLAPIvoidDrawTextCodepoint(Fontfont, intcodepoint, Vector2position, floatscale, Colortint); // Draw one character (codepoint)
1187
1200
1188
1201
// Text misc. functions
1189
1202
RLAPIintMeasureText(constchar*text, intfontSize); // Measure string width for default font
1190
1203
RLAPIVector2MeasureTextEx(Fontfont, constchar*text, floatfontSize, floatspacing); // Measure string size for Font
1191
-
RLAPIintGetGlyphIndex(Fontfont, intcharacter); // Get index position for a unicode character on font
1204
+
RLAPIintGetGlyphIndex(Fontfont, intcodepoint); // Get index position for a unicode character on font
1192
1205
1193
1206
// Text strings management functions (no utf8 strings, only byte chars)
1194
1207
// NOTE: Some strings allocate memory internally for returned strings, just be careful!
1208
+
RLAPIintTextCopy(char*dst, constchar*src); // Copy one string to another, returns bytes copied
1195
1209
RLAPIboolTextIsEqual(constchar*text1, constchar*text2); // Check if two text string are equal
1196
1210
RLAPI unsignedintTextLength(constchar*text); // Get text length, checks for '\0' ending
1197
1211
RLAPIconstchar*TextFormat(constchar*text, ...); // Text formatting with variables (sprintf style)
0 commit comments