Hello,
I recently wrote a few functions that might help someone out there,
it’s mostly about drawing polygons and ellipses.
Note that these functions run on top of SDL, no renderer specific code.
Hello,
I recently wrote a few functions that might help someone out there,
it’s mostly about drawing polygons and ellipses.
Note that these functions run on top of SDL, no renderer specific code.
Small update :
Added a drawLine function that gives you control over drawing the start-
and/or end-point.
Added a drawLineThick function.
2015-11-26 19:46 GMT+01:00 Marcel Bakker <@Marcel_Bakker>:> Hello,
I recently wrote a few functions that might help someone out there,
it’s mostly about drawing polygons and ellipses.
Note that these functions run on top of SDL, no renderer specific code.
Last update for now,
Added a fill- and drawPie function.
A little blinking add here! for a set of basic draw primitives
Performance is searched and hopefully found by collecting and growing
rectangles
, and only place calls to RenderFillRects with an array.
So depending on the size of the primitive
, it could very well fit inside 1 call to SDL.
2015-12-01 19:29 GMT+01:00 Marcel Bakker <@Marcel_Bakker>:> Small update :
Added a drawLine function that gives you control over drawing the start-
and/or end-point.
Added a drawLineThick function.2015-11-26 19:46 GMT+01:00 Marcel Bakker <@Marcel_Bakker>:
Hello,
I recently wrote a few functions that might help someone out there,
it’s mostly about drawing polygons and ellipses.
Note that these functions run on top of SDL, no renderer specific code.