Thread Tools Display Modes
08-23-11, 07:51 AM   #1
killerpet1986
A Fallenroot Satyr
 
killerpet1986's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 22
Horizontally flip an image

Does anyone know how to flip an image horizontally?

  Reply With Quote
08-23-11, 08:01 AM   #2
Coote
A Scalebane Royal Guard
 
Coote's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 440
http://www.wowpedia.org/SetTexCoord_Transformations


I think SetTexCoord should do it.
__________________

"This is the fifteen-thousandth four hundredth and ninety-eighth occurence".
  Reply With Quote
08-23-11, 08:06 AM   #3
killerpet1986
A Fallenroot Satyr
 
killerpet1986's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2008
Posts: 22
Thumbs up

Originally Posted by TMcMahon51 View Post
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)
  Reply With Quote

WoWInterface » Developer Discussions » Graphics Help » Horizontally flip an image

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off