madflame991 Posted October 14, 2008 Share Posted October 14, 2008 I installed the latest beta and it wasn't there, I searched the forum again and again and didn't find it... thou I found references to it (or maybe it's hiding from me) Where can I get the _MeasureString function? thx Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others Link to comment Share on other sites More sharing options...
therks Posted October 14, 2008 Share Posted October 14, 2008 I've never even heard of that function... what does it do? My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
martin Posted October 14, 2008 Share Posted October 14, 2008 I installed the latest beta and it wasn't there, I searched the forum again and again and didn't find it... thou I found references to it (or maybe it's hiding from me)Where can I get the _MeasureString function?thxGDIPlus.au3 Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
madflame991 Posted October 14, 2008 Author Share Posted October 14, 2008 GDIPlus.au3It's not there... I checked, also SciTE doesn't even highlight it_MeasureString($text,$font,$size) is supposed to return the width of the string $text with the specified size and fontI found it here: http://www.autoitscript.com/forum/index.ph...=_measurestring Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others Link to comment Share on other sites More sharing options...
martin Posted October 14, 2008 Share Posted October 14, 2008 It's not there... I checked, also SciTE doesn't even highlight it_MeasureString($text,$font,$size) is supposed to return the width of the string $text with the specified size and fontI found it here: http://www.autoitscript.com/forum/index.ph...=_measurestringAre you saying that in your copy of GDIPlus.au3 there is no function _GDIPlus_GraphicsMeasureString?Or are you saying it doesn't do what you want? Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
madflame991 Posted October 14, 2008 Author Share Posted October 14, 2008 Are you saying that in your copy of GDIPlus.au3 there is no function _GDIPlus_GraphicsMeasureString?Geez, I'm sorry! didn't thought of searching for anything else than "_MeasureString"THX! Game Game Gadget! - read about indie games, gadgets, chiptunes and demoscenesAssembly-like language interpreter and custom machine emulatorSuper Mario Screen Mate - official website or autoit forum pageCogut - Puzzle Game + Editor like sokoban and others Link to comment Share on other sites More sharing options...
Pain Posted October 14, 2008 Share Posted October 14, 2008 or _WinAPI_GetTextExtentPoint32() Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now