NativeGeometry API

NativeGeometry has a complete object-oriented API. By using the API of NativeGeometry you can create really amazing layout and behavior.

NativeGeometry changelog

The effortless complex geometry manager!

The changelog is also available in the About screen of NativeGeometry.

  • 3.0.1.0002 (11/01/2013)
    • Happy new year!
    • The select button in the inspector now popup a button allowing you to choose quickly an object, "this card" or "this stack"
    • Improvement: Far better management of execution errors.
      • Error thrown by the engine are now more understandable and more trackable.
      • Relation calculation errors now reports which compiled relation has a problem.
    • Fix: Object placed on the stack database does not look anymore to objects placed on the current card but on object placed on all stack.
      • Thanks to Jason Roberts for reporting and help in tracking.
    • Fix: LiveCode 5.5.3 seems to have slightly changed the way the "value()" function works, this created problems with object lookup in geometry relations.
    • Fix: No more log message "Upgrade of database of stack rev_Nativegeometry_Inspect"

  • 3.0.0.0000 (05/12/2012)
    • New scale feature. Increase/Decrease the font/object size of your entire application.
      • The NativeGeometry palette allow you to instantly change the DPI of your application.
      • The NativeGeometry inspector allow you to choose the scaling method of the object. Font scaling or entire object scaling.

    • New object dependencies solver. With a new high speed graph algorithm, the resolution of dependencies is faster and more reliable.
      • This new engine increased the speed of the compiler
      • The runtime is more precise and avoid less useless calculations

  • Database:
    • The new object dependencies required a new database format, that is incompatible with NativeGeometry 2.
      • NativeGeometry 3 will upgrade automatically your databases to the new format.
      • To downgrade your database, you have to use NativeGeometry 2.2 that handle automatically the downgrade.

  • Engine:
    • New engine property: scale_mode. Specify the scale mode for the object. (font scaling, entire object scaling or no scalling)
    • Engine: Scrollbar with text have now their height or width updated to fit their content.
    • Engine: Improved combobox/option menu size calculation.
    • New function: ng_getSystemScale(), get the scale to apply to follow the system DPI.
    • Updated function: ng_GetSystemFont() returns only the default font and size for the platform. And do not try to calculate anymore the font size according to the DPI.
    • Updated command: ng_setStackFont now support the scalling feature.
    • Fix: The engine is now resizing labels field as expected.
  • Note: A label is a field that has its text locked.
    • Fix: The livecode message box resize now correctly. (NativeGeometry interfered with it)
    • ng_setStackFont() does not corrupt anymore the content of some fields on LiveCode 5.5
    • Evaluation edition now works on mobile platform.

  • NativeGeometry Palette:
    • NativeGeometry API is now directly available inside NativeDoc 3.0.
    • Renamed "Manage condition" in the palette to "Edit script (Manage condition)".
    • Added an small help button in the script editor.
    • About screen is now correctly displayed on LiveCode 5.5

  • Documentation:
    • Updated documentation about NativeSpeak and mobile integration.
    • Documentation updated for NativeGeometry 3. (Scale feature, mobile...)

  • 2.1.1.0000 (28/11/2010)
    • Fix: NativeGeometry now handles correctly objects placed on multiple cards.
      • Just after the "place group onto card...", select all objects of the groups and click "Set object geometry" then OK. This will re-launch the NativeGeometry compiler and it will detect that objects are on multiples card.
    • Fix: Object placed on multiple cards obtains now the card rect and not the stack rect.
    • Fix: NativeGeometry will not "crash" anymore in standalone if a buggy geometry relation is executed.
    • Fix: The arrows in the advanced relation editor is now correctly resized.
    • API documentation generated with NativeDoc 1.6.
    • Added the tutorial "My cross-platform NativeGeometry guide" in the help center.
    • Added a button "Check NativeGeometry update" in the about screen.

  • 2.1.0.0000 (17/10/2010)
    • New evaluation edition
      • NativeGeometry is not limited anymore to 3 objects.
      • At the startup of your application, a NativeGeometry nag screen appear.
      • Every 10 minutes, the nag screen will re-appear.
    • Tutorials are now included inside the help center. (Click "NativeGeometry User Guide and Tutorials")
    • NativeGeometry now can be uninstalled from the "About" screen. (Button "Uninstall")
    • The field in the about screen is now readable.
    • Revolution has been replaced by LiveCode in the documentation.
    • Fixed a bug in the automatic dependency solver with graphic objects.
    • Changing the icon of a button will not anymore produce an incorrect autoresize.
    • Fixed a bug that made NativeGeometry not able to open stack located in a folder name that contained an "of" or an "id".
    • Revolution fixed the bug with default buttons and GTK+, NativeGeometry will not use anymore the workaround in version >= 4.5.
    • Fixed few regressions over NativeSpeak 1.x Geometry Manager
      • Buttons with icons are now correctly resized.
      • Buttons with icons ignores now the minimal OS width.
      • Buttons with icons sizes are now correct, as margins were added.
      • If the icon of a button with textalign set to "center" is > to the text width, the button takes now the width of the icon.
    • The fourth number of NativeGeometry version is used now as the unique build number. Version is now "<Major,Minor>,<Update>,<Build>".

  • 2.0.1.0000 (12/07/2010)
    • Improved the comportement of the geometry inspector. (More natural)
    • Fixed few minor bugs.
    • WARNING: NativeGeometry IDE does not work on Linux, there is some unexplainable problems, probably due to a Revolution bug with "the long id of the target". No problem at all on Windows and MacOS X.
    • The , but not the IDE. This means that your application will works as expected.
    • Improved API documentation.
    • Added two new alias of "the NativeGeometry", set/get the nGeometry. Enables to get/set directly the geometry relation of an object.
    • Fields that have a scrollbar will have the "no_auto_resize" property set to true by default. (Note: It is the IDE that set that, if you add manually a field the property will be set to its default)

  • 2.0.0.0100 Final (12/05/2010)
    • Clicking the "select object" button in the inspector now defines the relation to the associated button.
    • Fixed few minor bugs.

  • 2.0.0.0050 BETA 1 (13/05/2010)
    • Open Beta ! Use fully NativeGeometry for free until 14 junes 2010!
    • Few improvements.
    • Added license Manager.

  • 2.0.0.0010 (05/04/2010)
    • Dam-pro is not anymore, hurrah for NativeSoft!
    • New artworks, designed and drew by Damien Girard ;)
    • Few improvement and minor bugfixes.
    • Polish of the application.

  • 2.0.0.0000 (18/03/2010)
    • First initial preview release.
    • No documentation.
    • Almost all features are implemented.