TO DO
The following are some ideas for the future:
* Have a perfect polygon fill routine *
The polygon fill routine I use isn't perfect, and sometimes it fills wrong.
I need to fix this.
* Hatched Fills *
Not just solid fill patterns, but hatched (generated) patterns.
The horizontal gradient fill method of fills should make this possible, It
just needs to be adapted for hatched fills.
* Polygons With Rounded Corners *
Polygons with rounded corners would be difficult, but doable. It has become
quite difficult to get working so far. I haven't given up.
* Rounded Clipping Regions *
This one is a user request. Well, they also requested polygon clipping
regions too, but come on, this is Perl. Circles may be doable, and maybe
even ellipses, but polygons?.
Update: Ok, polygon clipping is possible, but it will likely be slow in Perl.
Nevertheless, what concerns me about this, is it may also slow down the normal
clipping, as extra checks have to be added to determine what kind of clipping
to check for.
* C and Hardware Acceleration *
I consider this the holy grail of this project, and my opportunity to get into
coding in C (I have been putting it off for years).
I have figured out how to "plot" in C, and it works. Which means drawing the
primitives and such would be a no-brainer. However, I don't know how to
integrate the variables from C with Perl. The Inline and XS documentation are
not too well written. Just figuring out how to pass initialized structures to
Perl is a veritable undocumented nightmare. I'd like to do this to eliminate
the need for "fbset", as Perl alone just doesn't retrieve structures properly
for all CPUs.
For an English speaker, a lot of the "tutorials" and such out there read like
Gaelic mixed with Swahili in a Slavic accent, and with a lisp.