How does WoW manage decimal point on "SetPoint", "SetSize" and so on?
View Single Post
10-10-17, 02:25 AM
A Pyroguard Emberseer
Join Date: Mar 2010
Originally Posted by
So, I've been testing this while I was creating custom nameplates with oUF (as I stated above) and even if I set their backdrop edge size to 1px, they (edges) will get extended or shrunk by 1px, recursively, while nameplates are continuously moving.
I guess it's happening because those edges are positioned between two pixels (as semlar and Resike had mentioned) while they were moving.
I don't think you can do anything to prevent this for nameplates since the game is moving them and not you.
There is another case when you move frames and their FontStings are jumping around 1-1 pixels, that's also caused by not setting the x, y values correctly, like centering a FontString with 6 pixel heigth on a 7 pixel height frame, and the game can't decide where to render the FontString. Usual solution is to not to use center, left, right, top and bottom anchors for FontStrings.
Last edited by Resike : 10-10-17 at
View Public Profile
Send a private message to Resike
Find More Posts by Resike