Sometimes, all you need is some simple drawing primitives

BCS BCS at pathlink.com
Wed Sep 19 16:46:11 PDT 2007


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.



More information about the Digitalmars-d mailing list