Re: [Pgui-devel] Rotation

2001-12-05 Thread Micah Dowty
On 2001.11.20 12:40 Pascal Bauermeister wrote: > Pascal Bauermeister wrote: > > > > Micah Dowty wrote: > > > > > > I just added the "Base rotation angle" config option to implement > this. It > > > rearranges the rotation logic in video.c such that a 90 degree > rotation flag > > > loads the 90+ba

Re: [Pgui-devel] Rotation & Bitmaps

2001-11-26 Thread Christian Grigis
Hello, On Sat, Nov 24, 2001 at 07:48:38PM -0700, Micah Dowty wrote: > There was a small bug in the code for initializing the groprender structure, it > would confuse width and height when setting up the clipping rectangle. I just > committed a fix, and this demo works now. Works beautifully. Th

Re: [Pgui-devel] Rotation & Bitmaps

2001-11-24 Thread Micah Dowty
There was a small bug in the code for initializing the groprender structure, it would confuse width and height when setting up the clipping rectangle. I just committed a fix, and this demo works now. Quoting Christian Grigis <[EMAIL PROTECTED]>: > Hello, > > I am having a problem while displayi

Re: [Pgui-devel] Rotation

2001-11-21 Thread Olivier Bornet
Hello, > - the bitmaps are not rotated, whatever the base rotation !! the last fix of Micah works for me. Thanks. Olivier -- Olivier Bornet SMARTDATA SA [EMAIL PROTECTED] Centre du Parc http://www.smartdata.ch av. des Prés-Beudin 20 Phon

Re: [Pgui-devel] Rotation & Bitmaps

2001-11-20 Thread Olivier Bornet
Hello, > I am also attaching "rotate.c", the code I am using to test rotations. a small error in rotate.c : > pgSetVideoMode (PGDEFAULT, PGDEFAULT, PGDEFAULT, PG_FM_ON, rotation_flag); must be : pgSetVideoMode (PGDEFAULT, PGDEFAULT, PGDEFAULT, PG_FM_SET, rotation_flag); you can

Re: [Pgui-devel] Rotation

2001-11-20 Thread Pascal Bauermeister
Pascal Bauermeister wrote: > > Micah Dowty wrote: > > > > I just added the "Base rotation angle" config option to implement this. It > > rearranges the rotation logic in video.c such that a 90 degree rotation flag > > loads the 90+base degree video wrapper, and so on. > > > > great stuff, thank

Re: [Pgui-devel] Rotation

2001-11-20 Thread Pascal Bauermeister
Micah Dowty wrote: > > I just added the "Base rotation angle" config option to implement this. It > rearranges the rotation logic in video.c such that a 90 degree rotation flag > loads the 90+base degree video wrapper, and so on. > great stuff, thank you. I just tested it yesterday. It eases a

[Pgui-devel] Rotation & Bitmaps

2001-11-19 Thread Christian Grigis
Hello, I am having a problem while displaying a bitmap on a rotated display. The attached code "bitmap.c" illustrates the problem: - a PPM file is created in memory - a bitmap is created from it - a second bitmap is created, and the first bitmap is pgBitmap'ped into it - a canvas widget is creat

Re: [Pgui-devel] Rotation

2001-11-15 Thread Micah Dowty
I just added the "Base rotation angle" config option to implement this. It rearranges the rotation logic in video.c such that a 90 degree rotation flag loads the 90+base degree video wrapper, and so on. Quoting Pascal Bauermeister <[EMAIL PROTECTED]>: > Hello Micah, > > > One can specify pgse

[Pgui-devel] Rotation on uClinux screenshot

2001-03-21 Thread Micah Dowty
There was a small math error in the def_bitmap_rotate90() function when dealing with low bit depth images. I fixed that, and posted a screenshot of my uCsimm box running rotated! Because the blits are so slow going pixel-by-pixel in the current drivers, the aqua theme is horribly slow but it lo

[Pgui-devel] Rotation is in CVS!

2001-03-21 Thread Micah Dowty
There are still a few small issues I need to resolve (scrolling, vertical text, a little error handling) and I haven't tested the ez328 driver with it yet. I'll fix these things up ASAP. But, the bulk of the rotation functionality works. The 90 degree anticlockwise rotation is triggered by a ne

[Pgui-devel] Rotation

2001-03-19 Thread Micah Dowty
Except for bitmaps, charblit_v, and the ability to rotate/unrotate at runtime, the rotation code in CVS now works. I'll post a screenshot as soon as bitmaps work. To keep it simple and fast, I am going to use the same code that will be used to translate bitmaps to a new driver's format to rotat