summaryrefslogtreecommitdiffhomepage
path: root/src/shapes.c
AgeCommit message (Collapse)Author
2019-05-08Remove trail spacesRay
2019-04-28WARNING: Functions renamedraysan5
Two functions have been renamed for coherence; previous naming was confusing for several users: - DrawPolyEx() ---> DrawTriangleFan() - DrawPolyExLines() ---> DrawLineStrip()
2019-04-23Fix for DrawRectangleRoundedDemizdor
2019-04-08Review creation yearsRay
2019-04-07Happy new year 2019ChillerDragon
2019-04-04Review merged PR formattingRay
Removed trail spaces
2019-03-31Reimplemented DrawRoundedRectLines()Demizdor
2019-03-31Added `DrawRoundedRectLines()`Vlad Adrian
2019-03-30Added DrawRoundedRect()Demizdor
2019-03-29Some formatting reviewRay
2019-03-29Added DrawRing(), DrawRingLines() and DrawCircleSectorLines()Demizdor
2019-03-28REDESIGNED: DrawCircleSector()Ray
2019-03-28Small tweakRay
2019-02-28Some spacing reviewRay
2019-02-22Change ternary operator formattingRay
2019-02-22Remove TABSRay
2019-02-21Remove end-line spacesRay
2019-02-14Fix config.h flagsJens Pitkanen
2019-02-13ADDED: DrawCircleSector()Ray
2018-12-29Use QUADS for DrawPolyEx()raysan5
2018-12-26REVIEWED: DrawRectanglePro()raysan5
2018-12-24Review DrawPolyEx()raysan5
Also reviewed rlCheckBufferLimit()
2018-12-18Support externally provided compilation flagsRay
Useful in case raylib compilation want to be automated and compilation config flags provided by command line.
2018-11-19Corrected issue with MSAARay
2018-11-07Corrected 1px thick issueRay
2018-11-07Corrected issue with line drawingRay
2018-11-06Review parameter issue with MSVCRay
2018-11-06Remove end-line spacesRay
2018-11-06Support custom texture on shapes drawingRay
By default, internal white texture was used to draw most of the shapes; some time ago, support for white font character from default internal font was added. That way, all basic drawing (shapes, text) could be performed without a texture change and in a single drawing pass. Now, we move a step further and we allow configuring the texture (and rectangle) used to do the shapes drawing.
2018-08-14Review PR formattingRay
2018-08-14Shapes: Simplifies CheckCollisionRecsJoseph-Eugene Winzer
By comparing the edges of the rectangles relative to each other we can determine if they intersect or not.
2018-08-06Reviewed spacings on latest PRRay
2018-08-05Fix compiler warnings of libKim Kulling
2018-08-05Fix compiler warings in texture.c and more.Kim Kulling
2018-07-05Corrected issue with GetFontDefault()raysan5
Note for me: Replace All is NOT your friend...
2018-07-05Renamed GetDefaultFont() to GetFontDefault()raysan5
Library consistency rename... yes, I know, it breaks the API...
2018-05-28fabsf() not working with TCCRay
Replaced by fabs() that seem to work ok
2018-05-20Added function: rlCheckBufferLimit()raysan5
2018-05-06Use fabsf for floats, and avoid implicit type castingSherjil Ozair
2018-05-04Rectangle parameters changed to floatRay San
- Some examples tweaks - Reviewed ImageFormat() - Use float for text fontSize
2018-04-29Support shapes drawing using only QUADSraysan5
Also added new compilation FLAGS for that pourpose
2018-04-07Refactor all #define SUPPORT_* into a config.hAhmad Fatoum
That way, a user needs only to touch a single file to configure what features raylib is built with. Include guards are left out intentionally, because config.h should only be included in source files, not headers. Later on, config.h can also define the raylib version (#461).
2018-02-02Added function DrawRectangleLinesEx()Ray San
2018-01-06Corrected issue with new functionalityraysan5
Using default font texture as base white texture for rectangles reduces draw calls considerably, actually, raygui can be drawn with a single pass!
2018-01-01Removed function DrawRectangleT()raysan5
Functionality integrated in DrawRectangle() and selectable with config flag USE_DEFAULT_FONT_TEXTURE
2017-12-20Updated copyright yearRay San
2017-10-13Fix bug, add some whitespaceAhmad Fatoum
2017-10-12Fix warning about unsequenced modification of variableAhmad Fatoum
Variable t was read and modified without interleaving sequence points, technically undefined behavior. Report by Clang's -Wunsequenced
2017-09-30Review gradient rectangle drawingRay
Added: DrawRectangleGradientV() Added: DrawRectangleGradientH()
2017-08-27Added function DrawRectangleGradientEx()raysan5
Moved function DrawRectangleT() from text module to shapes Added some comments