[pygame] loss of transparency in scaling surfaces

2008-08-19 Thread Sibtey Mehdi
Hi I am drawing a line on pygame screen and created one transparent surface of size (800,700) and scaling down using smoothscale to the pygame screen size .In this condition everything is working fine. If have created the transparent surface of size like 4892X3614 and then scaling down

RE: [pygame] loss of transparency in scaling surfaces

2008-08-19 Thread Sibtey Mehdi
Thanks Lenard, I used colorkey with per-pixel alpha that is working well. Thanks Sibtey Hi I am drawing a line on pygame screen and created one transparent surface of size (800,700) and scaling down using smoothscale to the pygame screen size .In this condition everything is

[pygame] help PGU Utilities

2008-08-07 Thread Sibtey Mehdi
Hi, How to write the resizable Notes on pygame surface similar to paste it note in Microsoft visio. I have just gone through the pgu utilities but couldn't get it properly. Any help on how to use pgu or any better way to write the note is appreciated. Thanks, Sibtey

[pygame] scaling the entire screen

2008-03-18 Thread Sibtey Mehdi
I am creating a offscreen surface, size (5000, 3200) and drawing Rect then I am scaling down that offscreen surface to fit in to the real surface but I will get the scattered lines on the screen or half rect. Is there any way to solve this problem?

RE: [pygame] mapping logical coordinate ????

2008-03-12 Thread Sibtey Mehdi
Thanks,for your kind help But, I am getting the coordinate (3000, 2000, 3400, 2400) from some others tools and want to create the pygame.draw.rect (3000, 2000, 3400, 2400) to show some information. I have create a Surface pygame.Surface ((4000, 3000)) and then tried to scale down it but the

RE: [pygame] how to display pygame graphics within a wxpython window

2008-03-05 Thread Sibtey Mehdi
Ok, but is there any way to tell PyGame to paint any window, I mean by passing the window handle to pygame. hi, Using pygame with wxpython is not supported. See this page for details: http://www.pygame.org/wiki/Gui cheers, On Wed, Mar 5, 2008 at 4:01 PM, Sibtey Mehdi

[pygame] how to display pygame graphics within a wxpython window

2008-03-04 Thread Sibtey Mehdi
Hi How to display pygame graphics within a wxpython window. I have tried the last example on http://wiki.wxpython.org/IntegratingPyGame but it opens the two separate window one for pygame one for frame. I want to create one frame that can use the pygame drawing functionality.

RE: [pygame] How to add Zoom functionality?

2008-03-03 Thread Sibtey Mehdi
To add zoom in, I want to transform the size of the shape when we select that shape and press crl+I key. If the size is increased the scroll bar should be added that's why I am using 'wx'. Ok, so you drew some shapes on the screen. You also want to put in zoom in/out functionality.

[pygame] how to add the scroll bar?

2008-02-26 Thread Sibtey Mehdi
Hi Does any one know how to add the scrollbar using pygame?. I am using pygame for some other type of applications and this functionality is needed to zoom the drawing on the screen. Thanks.. SibteyMehdi

RE: [pygame] how to add the scroll bar?

2008-02-26 Thread Sibtey Mehdi
Thanks, I have tried the wxPython and got it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Mallett Sent: Tuesday, February 26, 2008 8:31 PM To: pygame-users@seul.org Subject: Re: [pygame] how to add the scroll bar? You can't do it with PyGame,

[pygame] how to display a string ?

2008-02-15 Thread Sibtey Mehdi
Hi All I am drawing the rectangles using pyOpenGl and pygame and want to display some string over the rectangles with different color. I have gone through the pyOpenGl references but couldn't get the way. Any one knows about the tutorial then help me out. Thanks. Sibtey

[pygame] Help

2008-02-14 Thread Sibtey Mehdi
Hi All I am new to PyOpenGl and want to use 2D graphics, to create rectangle to represent some information. Is there any 2D graphics library that is supported by pygame and will be a better option instead of using PyOpenGl? Thanks, Sibtey Mehdi