Hi,
Does anyone know a library that works with SDL for
drawing 2D primitives (lines, circles, etc. …) with
support for attributes (like line thickness), color
filling, different filling patterns & drawing modes
(XOR, NOT, etc. … )?
Thanks in advance,
Mahmoud Al Gammal__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals. http://personals.yahoo.com
Hi,
Does anybody know if there’s a library for drawing 2D primitives ( lines,
rectangles, circles, …, with support for filling, line attributes, etc. …
) that can work with SDL in Windows ( & BeOS if possible ) ?
I don’t know of one (not that I really bothered to look), but I could write
a custom one of these up for you, if you like. I am taking a graphics
course right now and everything you mentioned we were just taught (including
how to do them fast). I have code for fast circles, lines, rectangles,
fills, and patterns. I have all the algorithms in my notebook and they
would be completely cross platform.> ----- Original Message -----
From: mahmoudfg@yahoo.com (Mahmoud Al Gammal)
To:
Sent: Thursday, October 18, 2001 11:18 AM
Subject: [SDL] Drawing 2D Primitives
Hi,
Does anybody know if there’s a library for drawing 2D primitives (
lines,
rectangles, circles, …, with support for filling, line attributes, etc.
…
) that can work with SDL in Windows ( & BeOS if possible ) ?
From: mahmoudfg@yahoo.com (Mahmoud Al Gammal)
To:
Sent: Thursday, October 18, 2001 11:18 AM
Subject: [SDL] Drawing 2D Primitives
Hi,
Does anybody know if there’s a library for drawing 2D primitives (
lines,
rectangles, circles, …, with support for filling, line attributes, etc.
…
) that can work with SDL in Windows ( & BeOS if possible ) ?
Hi,
Does anybody know if there’s a library for drawing 2D primitives (
lines,
rectangles, circles, …, with support for filling, line attributes, etc.
…> ) that can work with SDL in Windows ( & BeOS if possible ) ?
Joe, while these things are not complex, you oughtta consider putting the
info someplace where people can easily find it. Most of it is contained
in the standard 2D graphics books, but then again books are expensive when
they are covering a niche market (such as graphics programming) and are
really hard for some people to get ahold of.
(There is the argument that someone who can’t afford a $40 book probably
can’t afford to waste times writing video games and stuff, but I don’t buy
that argument one bit personally…)On Fri, Oct 19, 2001 at 01:48:23AM -0500, Joe Tennies wrote:
I don’t know of one (not that I really bothered to look), but I could write
a custom one of these up for you, if you like. I am taking a graphics
course right now and everything you mentioned we were just taught (including
how to do them fast). I have code for fast circles, lines, rectangles,
fills, and patterns. I have all the algorithms in my notebook and they
would be completely cross platform.
–
Joseph Carter Free software developer
against stupidity the gods themselves contend in vain