Sometimes, all you need is some simple drawing primitives

Downs default_357-line at yahoo.de
Wed Sep 19 17:06:09 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

BCS wrote:
> Downs wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Here's some simple graphics primitives on top of SDL: pset, pget, line,
>> circle and bucket-fill (paint).
>> It's modelled after QBasic, which I still think has the most intuitive,
>> easy to use graphics API I've seen so far.
>>
>> The code is placed in the public domain.
>>
>> On that account, does anybody know a good algorithm for drawing
>> ellipses? The one I came up with is kind of broken for ratios around or
>> over 1:5 ...
>>
> 
> Given me your dsource Username and I'll give you access so you can add
> this to scrapple.

Thanks, but I already have commit access to scrapple :)
Good idea. Adding it.
 --downs aka FeepingCreature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG8blxpEPJRr05fBERAgRnAKCXSL58y/sFUTTYz/MoI+T7Gy5UwgCeOzLO
ba8tmGSW9vo7J0ZYnxn5RLo=
=nbQK
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list