summaryrefslogtreecommitdiffhomepage
path: root/src/textures.c
AgeCommit message (Collapse)Author
2020-04-05Some code tweaks, comments and definesraysan5
2020-03-30Update textures.craysan5
2020-03-30Review formating and signegness issuesraysan5
2020-03-29Update ImageDraw*() functions to match arguments of Draw*() (#1156)Rob Loach
* Update ImageDraw*() functions to match arguments of Draw*() Updated draw functions: ImageDrawPixel() ImageDrawPixelV() ImageDrawCircle() ImageDrawCircleV() ImageDrawLine() ImageDrawLineV() ImageDrawRectangle() ImageDrawRectangleV() ImageDrawRectangleRec() * [nodepadpp] Update Notepad++ ImageDraw defintions This updates the Notepad++ definitions with the updated ImageDraw methods. * [examples] Add ImageDraw calls to textures_image_drawing * Update ImageDraw*() methods
2020-03-27Review TRACELOG() messagesraysan5
2020-03-27[textures] Review TRACELOG() messagesraysan5
2020-03-27[textures] Review TRACELOG() messages, categorizedraysan5
2020-03-25Remove trail spacesraysan5
2020-03-21Review formating from PR #1138raysan5
2020-03-21Added draw functions to ImageDraw*() (#1138)Sourav Gupta
Added draw functions: ImageClearBackground() ImageDrawPixel() ImageDrawLineEx() ImageDrawCircle()
2020-03-17Replace external libraries custom allocators by raylib ones #1074raysan5
NOTE: Two libraries still use custom allocators: glfw and stb_vorbis
2020-03-15Corrected typoraysan5
2020-03-15REVIEWED: ImageTextEx() to support line breaks #1131raysan5
NOTE: This functionality has an important issue, line space is fixed to 1.5 font.baseSize pixels, depending on the font and how it has been generated that spacing could be too wide or too narrow...
2020-03-08Changed `if` to `else if`. (#1122)SasLuca
2020-03-03Some code tweaksRay
2020-02-28Replaced fabs() by fabsf() when requiredRay
2020-02-27Corrected return valueRay
2020-02-27REDESIGN: ExportImage()Ray
Use new file I/O ABI
2020-02-27Corrected issue with variable nameRay
2020-02-27Remove trail spaces and some tweaksRay
2020-02-27REDESIGNED: LoadImage() -WIP-Ray
Using new file I/O ABI
2020-02-27REDESIGNED: LoadImageRaw(), LoadAnimatedGIF()Ray
Using new file I/O ABI
2020-02-11Fixed memory leaks in textures.c (#1097)SasLuca
2020-02-04Added func used in commentsRay
2020-02-04Review libc dependencies and remove when possibleRay
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers
2020-02-03Remove all trail spacesRay
2020-02-03Replace TraceLog() function by TRACELOG macroRay
Added SUPPORT_TRACELOG_DEBUG config
2020-01-19Review custom allocatorsraysan5
2020-01-15GetImageAlphaBorder() return 0 in case of blank imageRay
2020-01-15GetImageData() returns NULL if image size is 0Ray
2020-01-05Update year to 2020raysan5
2019-12-29Remove TABSraysan5
2019-12-11Read texture data as RGBA from FBO on GLES 2.0Ray
2019-11-04REVIEW: GetImageData() and GetImageAlphaBorder()raysan5
2019-10-29fix various problems, thanks CppCheck :) (#1005)João Coelho
* explained a bit more the core_window_letterbox example * fixed a few 'ups' moments that could lead to mild head pain and time loss
2019-10-19Corrected bug on ImageDrawRectangleLines()raysan5
2019-10-17Remove trailing spacesRay
2019-10-11REVIEW: ImageAlphaMask()Ray
When adding alpha mask to GRAYSCALE image, if using ImageFormat(), it could change pixel values, now we avoid that, mask is just added as an extra channel
2019-09-30Add security checks on file writtingRay
2019-09-20Review ImageCrop() security checksRay
2019-09-19Added preprocessor macros for GIFRay
2019-09-19ADDED: LoadAnimatedGIF() -WIP-Ray
Still looking for a better way to integrate it into raylib API, maybe add a LoadImageAnim()?
2019-09-14Review issue with HDR pixels loadingraysan5
2019-09-14Review conditionsraysan5
2019-08-07Fix build caused by GetImageAlphaBorder() (#931)Michael Vetter
Fix build failure introduced in 2a913b6587d60dab64c3b81019990e6872a9ac75
2019-08-07ADDED: GetImageAlphaBorder()Ray
2019-08-03Replace tabs with spaces and update year of copyright notices (#927)Leandro Gabriel
* Update year of copyright notices * Fix mistake in comment * Fix typo ("algorythms") * Replace tabs with spaces * Remove trailing whitespace and fix mistake in comment * Fix ExportImageAsCode missing comment rectangle corner * Replace tab with spaces * Replace tabs with spaces
2019-07-24BREAKING CHANGE: Read descriptionRay
Changes: - Font structure has been redesigned, CharInfo structure contained character rectangle within font texture, it has not much sense, considering that it was an information relative to the font atlas generated and not the character itself, so character rectangles have been moved out from CharInfo to Font. - CharInfo included a data parameters to contain character pixel data (usually grayscale), generated on TTF font generation. It was inconsistent with other fonts types, so, now CharInfo includes directly an Image of the glyph. - REDESIGNED: GenImageFontAtlas(), additional recs parameter added, loaded and filled inside the function to export atlas characters rectangles, instead of silently modify the input CharInfo data. - REVIEWED: ImageTextEx(), funtion retrieved the font atlas image from the GPU, that was slow and problematic in several platforms. Now it uses directly the CharInfo image. Support for unicode codepoints has also been added. - REDESIGNED: ImageDraw(), now it includes an additional parameter, the color tint, not only it could be useful for several situations but also function signature is more consistent with similar functions. - ADDED: ImageFromImage() to generate a new image from a piece of another image. - REVIEWED: GetNextCodepoint(), renamed parameters to be more clear. Also all examples and games that were affected by those changes have been reviewed.
2019-07-23Reviewed ImageDraw() and ImageResizeCanvas()Ray
Added security checks in case provided image to functions hasn't been properly loaded... just to avoid program crashes.
2019-06-16Some formatting tweaksRay