![]() |
Just wondering.
Take a look at this code:
NPC Code: I was testing textheight() yesterday,i understand how it work etc,but i can't figure out how the value is set,i mean,this.h returns 14,so what i want to know is how the calcule was made. Quote:
|
pixels? fontsize?
|
Did you even ask a question, osrs? You need
more than a question mark to make something a question. I don't even know what you are asking :\ . |
Quote:
NPC Code: Explain me why that variable is equal to 14. :rolleyes: That's what i wanna know,i didn't get how the calculation is done.. |
It probably checks all characters available to the font and takes the largest height.
|
Yes, it would do the largest height. But it just checks what it's written/drawn and sees how tall it is... it's not all that hard =x
Think about it, triggeraction works, but you don't know HOW other than that Stefan coded it in... does it really matter HOW opposed to it's actual use? ---Shifter |
Quote:
|
Nah, it's possible, depending no HOW you go about showing things... I dunno about Delphi... but it could set vars and draw the image the size of the vars... does it really matter HOW or WHY it works though as long as we both know it works?
---Shifter |
Quote:
Quote:
|
Quote:
---Shifter |
hey guys,no need to fight. :)
|
Quote:
|
Quote:
|
Quote:
---Shifter |
Quote:
|
All times are GMT +2. The time now is 11:32 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.