API SetPortraitToTexture

Applies a circular mask to a texture, making it resemble a portrait.
 SetPortraitToTexture(texture, path)
==Arguments==
:;texture:
:;path:
==Example==
local f = CreateFrame("Frame")
f:SetPoint("CENTER")
f:SetSize(64, 64)
f.tex = f:CreateTexture()
f.tex:SetAllPoints(f)
SetPortraitToTexture(f.tex, "interface/icons/inv_mushroom_11")
==Patch changes==
==See also==
*