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
Copy file name to clipboardExpand all lines: raylib/README.md
+22-15Lines changed: 22 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ raylib is a simple and easy-to-use library to enjoy videogames programming.
4
4
5
5
https://www.raylib.com/
6
6
7
-
Implemented APIs (573)
7
+
Implemented APIs (580)
8
8
----------------
9
9
10
10
| Name | Description |
@@ -85,6 +85,8 @@ Implemented APIs (573)
85
85
| sub DrawLineBezier(startPos, endPos, thick, color) | Draw a line using cubic-bezier curves in-out |
86
86
| sub DrawLineBezierCubic(startPos, endPos, startControlPos, endControlPos, thick, color) | Draw line using cubic bezier curves with 2 control points |
87
87
| sub DrawLineBezierQuad(startPos, endPos, controlPos, thick, color) | Draw line using quadratic bezier curves with a control point |
88
+
| sub DrawLineBSpline(points, pointCount, thick, color) | Draw a B-Spline line, minimum 4 points |
89
+
| sub DrawLineCatmullRom(points, pointCount, thick, color) | Draw a Catmull Rom spline line, minimum 4 points |
88
90
| sub DrawLineEx(startPos, endPos, thick, color) | Draw a line defining thickness |
89
91
| sub DrawLineStrip(points, pointCount, color) | Draw lines sequence |
90
92
| sub DrawLineV(startPos, endPos, color) | Draw a line (Vector version) |
| func LoadFileData(fileName, bytesRead) | Load file data as byte array (read) |
404
+
| func LoadFileData(fileName, dataSize) | Load file data as byte array (read) |
403
405
| func LoadFileText(fileName) | Load text data from file (read), returns a '\\0' terminated string |
404
406
| func LoadFont(fileName) | Load font from file into GPU memory (VRAM) |
405
-
| func LoadFontEx(fileName, fontSize, fontChars, glyphCount) | Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set|
407
+
| func LoadFontEx(fileName, fontSize, codepoints, codepointCount) | Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont|
406
408
| func LoadFontFromImage(image, key, firstChar) | Load font from Image (XNA style) |
407
-
| func LoadFontFromMemory(fileType, fileData, dataSize, fontSize, fontChars, glyphCount) | Load font from memory buffer, fileType refers to extension: i.e. '.ttf' |
409
+
| func LoadFontFromMemory(fileType, fileData, dataSize, fontSize, codepoints, codepointCount) | Load font from memory buffer, fileType refers to extension: i.e. '.ttf' |
408
410
| func LoadImage(fileName) | Load image from file into CPU memory (RAM) |
409
411
| func LoadImageAnim(fileName, frames) | Load image sequence from file (frames appended to image.data) |
410
412
| func LoadImageColors(image) | Load color data from image as a Color array (RGBA - 32bit) |
@@ -413,6 +415,7 @@ Implemented APIs (573)
413
415
| func LoadImageFromTexture(texture) | Load image from GPU texture data |
414
416
| func LoadImagePalette(image, maxPaletteSize, colorCount) | Load colors palette from image as a Color array (RGBA - 32bit) |
415
417
| func LoadImageRaw(fileName, width, height, format, headerSize) | Load image from RAW file data |
418
+
| func LoadImageSvg(fileNameOrString, width, height) | Load image from SVG file data or string with specified size |
416
419
| func LoadModel(fileName) | Load model from files (meshes and materials) |
417
420
| func LoadModelAnimations(fileName, animCount) | Load model animations from file |
418
421
| func LoadModelFromMesh(mesh) | Load model from generated mesh (default material) |
@@ -422,6 +425,7 @@ Implemented APIs (573)
422
425
| func LoadShader(vsFileName, fsFileName) | Load shader from files and bind default locations |
423
426
| func LoadShaderFromMemory(vsCode, fsCode) | Load shader from code strings and bind default locations |
424
427
| func LoadSound(fileName) | Load sound from file |
428
+
| func LoadSoundAlias(source) | Create a new sound that shares the same sample data as the source sound, does not own the sound data |
425
429
| func LoadSoundFromWave(wave) | Load sound from wave data |
426
430
| func LoadTexture(fileName) | Load texture from file into GPU memory (VRAM) |
0 commit comments