Skip to content

Pixel Perfect Implementation.#261

Open
Spike2D wants to merge 1 commit into
DaleHuntGB:masterfrom
Spike2D:master
Open

Pixel Perfect Implementation.#261
Spike2D wants to merge 1 commit into
DaleHuntGB:masterfrom
Spike2D:master

Conversation

@Spike2D
Copy link
Copy Markdown

@Spike2D Spike2D commented Feb 24, 2026

(Had to fix the pull request so the file differences shown up correctly)

This implements means to obtain pixel perfect position when setting sizes, points and frames in code, leveraging the user from tweaking with settings to find the perfect positions.

Benefits of this includes;

  • UIScale is unrelevant
  • no need for decimals on settings
  • Anchors could be hardcoded if wanted
  • Pixel perfect solution out of the box for the user

Improvements;

  • As it is I've included some examples on the code base of usage, all of the indicators and such have not been revised, but I could do it if Unhalted decides he wants to use this

@lichie567
Copy link
Copy Markdown

"PixelPerfect" is a plague upon wow addons... The lack of it is one of the biggest reasons I use this addon. Especially on higher resolution screens, addons utilizing "pixel perfect" scaling never line up properly due to precision lost during rounding of decimals. If you ever decide to merge something like this, please allow it to be disabled.

@Spike2D
Copy link
Copy Markdown
Author

Spike2D commented May 19, 2026

Being optional would be excellent for everyone of course, on the contrary the lack of any Pixel Scaling is the reason I currently don't use this addon at all, since half of the time the addon fails to draw every pixel it needs to look good on the screen, it's not really even a addon issue is a issue on how the game handles this, Addons just trying to fix the issue.

Regardless I doubt this will be merged or even implemented at this point, so I don't think you have to worry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants