Texture is irrelevant as long as it is just a string.
I tested SetPortaitTexture. Seems to work as expected. Going to set up a layout now.
*edit*
Ok so the basic stuff is working:
http://code.google.com/p/rothui/sour...SquarePortrait
To bad the PTR just went down.
*edit2*
Ok the PTR got up again. Here we go:
http://www.wowinterface.com/download...ePortrait.html
So what I'm doing in the layout is. I convert a 3D unit model into a 2D circluar version. After that I use SetTexCoord to get a square version again.
Still some minor issues but the general stuff is in place to grab some ideas. I think the dropshadow function I build is pretty near aswell.
When using preset textures from a media folder stuff gets alot easier though because you can make that texture your statusbar texture.