summaryrefslogtreecommitdiffhomepage
path: root/src/rtextures.c
AgeCommit message (Collapse)Author
2023-03-07REVIEWED: Data types validationRay
2023-03-06Remove trailing spacesRay
2023-02-25Update rtextures.cRay
2023-02-21Update rtextures.cRay
2023-02-21REVIEWED: `IsImageReady()` and `IsTexureReady()`Ray
Reordered some functions to avoid config.h issues when disabling some features.
2023-02-09Fixed some grammar mistakes and typos. (#2914)Julio C. Galindo
* Fixed some grammar mistakes. * Fixed some typos.
2023-02-05Clean trailing spacesRay
2023-01-28ADDED: IsModelReady(), IsMaterialReady(), IsTextureReady(), ↵Rob Loach
IsRenderTextureReady() (#2895)
2023-01-27ADDED: `IsShaderReady()`, `IsImageReady()`, `IsFontReady()`, ↵Rob Loach
`IsWaveReady()`, `IsSoundReady()`, `IsMusicReady()` (#2892) These IsReady() functions provide a method in order to verify whether or not the object was loaded successfully. They're useful to make sure the assets are there prior to using them.
2023-01-20Fix warnings in raylib project from MSVC (#2871)Jeffery Myers
2023-01-01Update year to 2023Ray
2022-12-07ADDED: `ColorTint()`, `ColorContrast()`Ray
2022-12-05ADDED: `ColorBrightness()`Ray
2022-12-02format tweakRay
2022-11-29REVIEWED: Image fileformat support: PIC, PNMRay
2022-11-29ADDED: Optional support for PNM images (.ppm, .pgm)Ray
2022-11-10Minor formating tweaksRay
2022-11-10WARNING: REMOVED: `DrawTextureTiled()`Ray
This function implementation has been moved to the related example. Current implementation can be probably customized depending on user needs.
2022-11-10WARNING: REMOVED: `DrawTextureQuad()`Ray
This function can be easely replicated using `DrawtexturePro()` and actually it was doing some assumptions not transparent to the user. Even the function name was confusing. No example was available for it and actually noone requested one example.
2022-11-10WARNING: REMOVED: `DrawTexturePoly()`Ray
Function moved to `examples/textures/textures_polygon.c`, so users can learn from the implementation and create custom variants as required.
2022-10-26fixed blur issue on opaque pictures & added example (#2775)nobytesgiven
Co-authored-by: nobytesgiven <[email protected]>
2022-10-25Added Box and Gaussian blurring (#2770)nobytesgiven
* Added Box and Gaussian blurring * Removed dependence of gaussian blur to box blur & Fixed precision errors Co-authored-by: nobytesgiven <[email protected]>
2022-10-14Fix ImageTextEx and ImageDrawTextEx scaling (#2756)hkc
* Use RL_QUADS/RL_TRIANGLES for single-pixel drawing Addresses problem mentioned in https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263 (in short: when drawing pixels using DrawPixel{,V} in camera mode, upscaled pixel becomes a line instead of bigger pixel) * [rtextures] Fixed scaling down in ImageTextEx Closes #2755
2022-10-14ADDED: `GenImageText()`Ray
Probably useless but interesting for education. It generated a grayscale image directly from text data.
2022-09-30minor tweaksRay
2022-09-22WARNING: Several changes on UTF-8/Codepoints APIRay
- ADDED: `GetCodepointPrevious()` - RENAMED: `GetCodepoint()` -> `GetCodepointNext()`, actually, reimplemented - `GetCodepoint()` has been kept for the moment, for compatibility and also because implementation is different - RENAMED: `TextCodepointsToUTF8()` to `LoadUTF8()`, simpler name and more aligned with raylib conventions (functions loading memory start with Load*()), parameters should be descriptive of functionailty. - ADDED: `UnloadUTF8()`, aligned with `LoadUTF8()` to avoid allocators issues.
2022-09-19REVIEWED: New functions coding conventionsRay
2022-09-19Added: `ImageDrawCircleLines`, `ImageDrawCircleLinesV` (#2713)Rob Loach
This adds `ImageDrawCircleLines()` and `ImageDrawCircleLinesV()` to draw outlines of circles, and updates `ImageDrawCircle()` draw a filled circle to match the effect of `DrawCircle()` and `DrawCircleLines()`.
2022-09-17Move compressed textures loading to a separate self-contained libraryRay
2022-09-17ADDED: `GenImagePerlinNoise()`Ray
2022-09-05WARNING: BREAKING: Removed `rlCheckRenderBatchLimit()` requirementRay
Updated version to `rlgl 4.2`
2022-08-13minor tweaksRay
2022-08-02Remove trailing spacesRay
2022-07-31Use American spelling of colourSpace (#2604)BlueStag
2022-07-27rtextures: Improve numerical stability of float multiplication (#2596)Piotr Wierciński
Dimensions of Rectangle should be casted to int before multiplication, otherwise there is a risk for underallocation/overallocation of memory.
2022-07-26rtextures: Fix ImageFromImage crash (#2594)Piotr Wierciński
Height of the rectangle can be float, which may lead to doing extra iteration of loop and writing out of bounds.
2022-07-10REVIEWED: `ImageResize()` #2572Ray
2022-06-16fix: round off error in ColorAlphaBlend (#2524)Roy Qu
2022-05-07Corrected typoRay
2022-04-23Optimize Some Image Functions. (#2429)Anilforextra
2022-03-20REVIEWED: Avoid some float -> double promotionsRay
2022-03-19Verify there is enough space in the batch for the npatch geometry. (#2401)Jeffery Myers
2022-03-18Fix too many opening parens in src/rtextures.c (#2398)João Távora
This is a tiny change that makes code in src/rtextures.c "fold" correctly in editors/IDE's by matching the number of opening parenthesis to closing parenthesis. One of those editors is Emacs ;-)
2022-02-18Removed trailing spacesraysan5
2022-01-26Support export .jpeg filesRay
2022-01-22Update rtextures.cRay
2022-01-03Review tracelogsRay
2021-12-31Update year to 2022raysan5
2021-12-19REVIEWED: `LoadTextureCubemap()` #2224Ray
2021-12-19REVIEWED: LoadTextureCubemap() #2223Ray