Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Konsti, AndrewAMD, 1 invisible), 1,376 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Possibilty to call the font selected by draw_textmode? #318153
04/05/10 16:05
04/05/10 16:05
Joined: Sep 2003
Posts: 303
Germany
Clemens Offline OP
Senior Member
Clemens  Offline OP
Senior Member

Joined: Sep 2003
Posts: 303
Germany
I often use the command draw_text and the position of the text has to be calculated in proportion of the string's size.
Thanks for the new command str_width!
But is it possible to retrieve the font which is selected by draw_textmode, cause that is needed for str_width?

Furthermore: Does anyone know a way for getting the height size of a string/font?

Last edited by Clemens; 04/05/10 16:13.
Re: Possibilty to call the font selected by draw_textmode? [Re: Clemens] #318872
04/10/10 15:22
04/10/10 15:22
Joined: Jul 2008
Posts: 1,178
England
M
MrGuest Offline
Serious User
MrGuest  Offline
Serious User
M

Joined: Jul 2008
Posts: 1,178
England
font.dy is the height,

I asked about obtaining the string being used for textmode but was told to use obj_draw or whatever the function was... absolutely no use whatsoever


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1