You are not logged in.

#1 2009-09-02 17:51:20

elisherer
Member

Draw a center rotated image

I would like to draw a rotated image BUT from the center of it.
meaning the rotation would be around the center and not around the top-left.

Preferably in that scheme:
GRRLIB_DrawImgRotate(f32 x, f32 y, struct GRRLIB_texImg *tex, float degrees, float scaleX, f32 scaleY, u32 color );

The image will be drawn around (x,y) like in GRRLIB_Circle.

That way we could mimic the Banner animations the Wii channels have.

Thanks,
elisherer.

Offline

 

#2 2009-09-02 17:58:17

Crayon
Bad Mother Fucker

Re: Draw a center rotated image

Hi, this is already possible with GRRLIB_SetHandle (I think). Give it a try...

Offline

 

#3 2009-09-02 18:45:40

elisherer
Member

Re: Draw a center rotated image

You were right (ofcourse) it works great... (havn't RTFM lol)

Offline

 

#4 2009-09-03 16:59:28

BlueChip
Moderator

Re: Draw a center rotated image

We have a FM to R ?? 
Where?
LOL


I can be found on efnet, freenode, msn, gtalk, aim, ychat & icq ...PM me for details

Offline

 

Board footer

Powered by FluxBB