Quantcast WoWInterface - View Single Post - Editing of tga files.
View Single Post
05-13-12, 01:35 PM   #3
A Pyroguard Emberseer
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 1,732
Whenever you call texture:SetTexCoord() to trim an image, you need to set the texture container to the new size too using texture:SetSize() or a combination of texture:SetWidth() and texture:SetHeight() or the image stretches like that. Note the container size is in pixels while the texture coords are as a percentage.
ESOUI AddOns | WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)
  Reply With Quote