Commit Graph

13 Commits

Author SHA1 Message Date
Matt Dawson
7e83dbb92e Removed negative scaling. Moved texture sample to center of pixel. 2020-05-09 01:13:26 -07:00
Matt Dawson
8f8872537b Changed to use fb_alloc_mark, gb_alloc_free_till_mark. Renamed Image hint type and enums. Formatting fixes 2020-05-08 17:31:13 -07:00
Matt Dawson
a94b16a49d draw_image_bilinear_interp_alpha_palletes_and_center_image 2020-05-03 21:24:51 -07:00
mattdawson
c4bcfd80e4 Change example to generate a palette rather than use pre-created
Also changed to sho the palette at top of screen.
This script wont work until the fixes to filters with y_size < k_size are merged. #764
2020-04-24 18:34:27 +12:00
mattdawson
30383d32b6 Fixed not checking that image is grayscale image for custom palette. Made demo simpler. 2020-04-23 21:58:37 +12:00
mattdawson
91efa307e0 Add custom palettes to draw image with demo 2020-04-23 21:33:01 +12:00
Matt Dawson
414c6e1a51
draw_image performance and negative scaling. (#758)
Improve draw_image performance and negative scaling.
2020-04-22 17:43:14 +02:00
Kwabena W. Agyeman
cd586f66bc Upgrade text drawing to support rotations of the character and string. 2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
ee321933d2 Update ellipse drawing without limit. 2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
5b3cd7c9db Make rotation not an optional argument for ellipses. 2019-02-16 21:19:05 -05:00
Kwabena W. Agyeman
0554c189a9 Add back the ability for draw keypoints to handle keypoint tuples.
Can call it without a keypoint object now again.
2019-01-04 00:32:27 -05:00
Kwabena W. Agyeman
b47dbe2c15 Kwabena/drawing updates (#422)
* Add ellipse drawing function.
2018-12-31 18:32:13 +02:00
iabdalkader
1c7178269d Move examples, libraries and unit-tests to /scripts 2018-05-25 20:53:36 +02:00