On 6/6/06, Unger Richard <[EMAIL PROTECTED]> wrote: > Hi! > > To me these operations sound more like enhanced blits -> ie if they are > defined at all, they should be defined between 2 surfaces (src,dst) rather > than rotating a surface "in place". > > However I would caution about the complications of a general implementation > of this feature - after all, DFB supports many pixel formats, and different > buffer types... A full implementation of this feature may be a lot of work. > > It might be better to think about using another library (ImageMagick) to load > and rotate the image in memory, and then blit that to your DFB surface... >
Or cairo it handles the generic matrix. > Richie > > > > > -----Ursprüngliche Nachricht----- > > Von: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Im Auftrag von Daniel Laird > > Gesendet: Mittwoch, 31. Mai 2006 16:18 > > An: [email protected] > > Betreff: Re: [directfb-dev] how to rotate a image display in DirectFB? > > > > > > I think you have to do the rotation yourself on the raw data. > > I am not sure how possible this is. > > > > I think this is an issue! > > > > I think the following: > > Rotate function could be added to the IDirectFBSurface API. > > (four orientations 90,180,270,0) Whilst we were at it > > FlipSurface could be added: Here i mean a Horizontal Flip/ > > Vertical Flip i.e mirror image in the horizontal/vertical. > > > > These sorts of functions are generic and could be added > > easily so that all people benefitted. That way any surface > > could have this done to it even the ones being use by Image > > providers. You could then do the decode/rotate on an > > offscreen surface and then Flip so it was visable. > > > > However, whilst RGB is ok to do these things with(still time > > consuming) YUV is a pain to do. > > > > What do people think about the addition of these functions. > > -- > > View this message in context: > > http://www.nabble.com/how+to+rotate+a+image+display+in+DirectF > > B--t1710149.html#a4645002 > > Sent from the DirectFB Dev forum at Nabble.com. > > > > > > _______________________________________________ > > directfb-dev mailing list > > [email protected] > > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > > > > _______________________________________________ > directfb-dev mailing list > [email protected] > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev > _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
