View Single Post
07-24-16, 04:32 AM   #6
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by Layback_ View Post
Hi Resike,

If that is the issue, what would be the best solution to draw a border with a .blp file (16x16 white square) that I attached?
Thats a bit more advanced stuff, I don't think you need that right now. Also it might be useless since your border is very simple

But basically you split up the texture phisically or virtuaally with SetTextCoords to 8 parts (9 if you also need to middle) and SetPointing the textures yourself. With this method you gain full control over the textures and pointing and scaling wise gives you much better accuracy, allowing to create absolutely non-blurry pixel perfection border images at any scale level with even very narrow edge files.

http://tr1.cbsistatic.com/hub/i/2015...indowSmall.gif
  Reply With Quote