Help: with create a surface from my own RGBA data

2012-04-03 Thread agraham
Hi Guys, I am a complete Perl-SDL "newbie" and have spent a few days reading the docs on CPAN perl-SDL. I'm using version 2.536. I would like to create a surface from my own RGBA data and there seems to be no way to do that unless you do it a pixel at a time :( I am trying to hack Net::VNC

Re: Help: with create a surface from my own RGBA data

2012-04-05 Thread agraham
On 04/05/2012 06:02 PM, Tobias Leich wrote: Hi, do you know the pixel format of the data you have? Do you get scanlines that you wanna pass to an SDL::Surface? Or do you get just the whole image? May I invite you to irc? Would be much easier than mails... #sdl at irc.perl.org. Cheers, FROGGS

SDL::Video::fill_rect and NULL rect

2012-05-12 Thread agraham
Hi guys, A bug, I think, SDL::Video::fill_rect( $surface, $rect, $color) works, but if $rect = undef, it does not work. fill_rect as documented here: http://sdl.perl.org/SDL-Video.html#blit_surface indicates it should. it states 'If dest_rect is NULL, the whole surface will be filled with c

Re: sdl-config file for Alien::SDL

2012-07-10 Thread agraham
On 07/10/2012 03:24 PM, Kartik Thakore wrote: It will be sdl-config -p Kartik Thakore On 2012-07-10, at 4:56 AM, "Lars Dɪᴇᴄᴋᴏᴡ 迪拉斯" wrote: sdl-config is already part of the package libSDL-devel. Name it alien-sdl-config or something. Guys, Does this means Alien::SDL package will no longer