Discussion:
[Clanlib-devel] Error in SDL line drawing method
r***@gmx.net
2006-03-30 15:37:03 UTC
Permalink
Dear Clanlib devlopers,


I was wondering why CL_Display::draw_line and draw_lines produced perfect
rectangles instead of a simple line. As far as I could find out, there is a
mistake in method CL_GraphicContext_SDL::draw_line
(CL_GraphicContext_SDL.h). It calls a recangle- rather than a line-drawing
subroutine. Perhaps you could have a look?

Cheers, Rene
--
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen f�r GMX Partner: http://www.gmx.net/de/go/partner
Kenneth Gangstoe
2006-03-30 15:39:44 UTC
Permalink
The SDL target is not maintained by any of the main devs, so if you want it
fixed, we need a patch :)

- Kenneth
Post by r***@gmx.net
Dear Clanlib devlopers,
I was wondering why CL_Display::draw_line and draw_lines produced perfect
rectangles instead of a simple line. As far as I could find out, there is a
mistake in method CL_GraphicContext_SDL::draw_line
(CL_GraphicContext_SDL.h). It calls a recangle- rather than a line-drawing
subroutine. Perhaps you could have a look?
Cheers, Rene
--
GMX Produkte empfehlen und ganz einfach Geld verdienen!
Satte Provisionen für GMX Partner: http://www.gmx.net/de/go/partner
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
clanlib-devel mailing list
https://lists.sourceforge.net/lists/listinfo/clanlib-devel
Jason Green
2006-03-30 15:45:45 UTC
Permalink
Post by r***@gmx.net
Dear Clanlib devlopers,
I was wondering why CL_Display::draw_line and draw_lines produced perfect
rectangles instead of a simple line. As far as I could find out, there is
a
Post by r***@gmx.net
mistake in method CL_GraphicContext_SDL::draw_line
(CL_GraphicContext_SDL.h). It calls a recangle- rather than a line-drawing
subroutine. Perhaps you could have a look?
You need to install the sdl_gfx package in order to draw lines with
clanSDL. It's available in most Linux distros as well as on ClanLib's
website precompiled for Windows.
Jason Green
2006-03-30 15:46:29 UTC
Permalink
Post by Jason Green
You need to install the sdl_gfx package in order to draw lines with
clanSDL. It's available in most Linux distros as well as on ClanLib's
website precompiled for Windows.
Oh yeah, then re-configure and re-compile clanSDL afterwards.

Loading...