View Single Post
11-10-10, 05:26 PM   #5
lilgulps
A Theradrim Guardian
 
lilgulps's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 62
Code:
local addon = CreateFrame("Frame", "Base2", UIParent)
addon:SetHeight(128)
addon:SetWidth(128)
addon:SetUserPlaced(true)
addon:SetPoint("Center", 100, 0)

local tex = addon:CreateTexture(nil, "ARTWORK")
tex:SetTexture(file)
tex:SetAllPoints(addon)
tex:SetRotation(math.rad(90))
Rotated it 90 degrees but skews the image slightly, any idea why?

The height and width are the same are they not?

So I assume this shouldn't happen... : /
  Reply With Quote