WoWInterface

WoWInterface (http://www.wowinterface.com/forums/index.php)
-   Graphics Help (http://www.wowinterface.com/forums/forumdisplay.php?f=14)
-   -   Horizontally flip an image (http://www.wowinterface.com/forums/showthread.php?t=41241)

killerpet1986 08-23-11 07:51 AM

Horizontally flip an image
 
Does anyone know how to flip an image horizontally?


Coote 08-23-11 08:01 AM

http://www.wowpedia.org/SetTexCoord_Transformations


I think SetTexCoord should do it.

killerpet1986 08-23-11 08:06 AM

Quote:

Originally Posted by TMcMahon51 (Post 243630)
http://www.wowpedia.org/SetTexCoord_Transformations


I think SetTexCoord should do it.

perfect!

I was using


FIM_AnimatedPony:SetTexCoord(x1, x2, y1, y2);

displays them to the right

FIM_AnimatedPony:SetTexCoord(x2, x1, y1, y2);

swapping x1 and x2 displays them to the left.

Thank you

(Have a banana)
:banana:


All times are GMT -6. The time now is 07:13 PM.

vBulletin © 2014, Jelsoft Enterprises Ltd
©2012 ZAM Network LLC