![]() The SystemInformationMBS.isARM function returns 1 if you run on an ARM based CPU and this currently returns 0 everywhere, but will in future return 1 if your application runs natively on newer Mac hardware with Apple Silicon. For now we already defined function SystemInformationMBS.isBigSur to return whether the newer macOS version 11.0 is running. MBS Xojo Plugins have been updated and now includes over 2600 classes and 70,000 documented features, and the versatile plugins have gained more new functions:Īs Apple announced their move to Apple Silicon processors, we are already working on an update to our plugin to support it. MonkeyBread Software Releases the MBS Xojo Plugins in version 20.3 Nickenich, Germany - (July 21st, 2020) - MonkeyBread Software today is pleased to announce MBS Xojo Plugins 20.3 for macOS, Linux and Windows, the latest update to their product that is easily the most powerful plugin collection currently available for Xojo. Let us know if you have ideas for properties we could add to make your live easier.Ī DynaPDF Starter license is included in OmegaBundle and can be updated to DynaPDF Lite license at a discounted price. This allows you to see the current font set in the debugger. A first one to add is ActiveFontInfo as DynaPDFFontInfoMBS to the properties. But you may still want to use the Error event to ignore warnings, which could raise an exception otherwise.Īnother change we thought about is to add more properties. By using exceptions, you will not miss an error. ![]() The error event can be implemented by subclassing DynaPDFMBS class or by using addHandler command. We add DynaPDFErrorExceptionMBS class to raise an exception if either the Error event is missing or you return the new constant kErrorEventRaise in the Error event. First we have the problem that not everyone implements an Error event to catch problems. For next version 20.4 we have a few more little changes to improve the plugin. And when you call SetFont without passing an encoding, we default to unicode.Ĭhanges like the above may help to make use of the plugin more easier. Unicode support got better over the years and nobody should need those any more. In DynaPDFMBS class we deprecated all the Ansi versions of the functions. The SetCellPicture method for DynaPDFTableMBS class takes directly a picture to make this easier for developers to pass pictures. In DynaPDFPageMBS class we got properties visible in the debugger, so you can directly inspect the boxes for the page. With our own DynapdfGraphicsPathMBS class we got even support for drawing paths with the new Xojo methods to do so. But new users may not run into an error, because no font is set.Įarlier in 20.2 we added support for ignoring ClearRect calls in graphics class to be able to draw over an existing PDF page and not fill all the space with white color. If you change the font, this font reference will be discarded on saving as DynaPDF cleans up the object tree when writing the PDF. We set Helvetica 12 in point as default font for every new PDF document. In the current version 20.3 we added support for ClearRectangle and FillPath methods, one of the changes for API 2.0 in Xojo. Improvements for MBS Xojo DynaPDF Plugin Our MBS Xojo DynaPDF Plugin is quite popular and we try to improve it regularly. In the parameters, we specify the class name and the data either as a string or a memory block. In the JavaVMMBS class we have two new methods, named DefineClass, that allow us to load a class with raw class data from the buffer. In the parameters you pass the function pointer to a C function which later calls back your callback. With the DeclareCallBackMBS class you can create callback functions dynamically. We support also the possibility to define declares at runtime. In comprehension to the built-in declares in Xojo, those functions allow a much more dynamic calling of functions with various calling conventions. The DeclareFunctionMBS class give you the possibility to call C functions. You can enter a path or pass a folderItem when you create an instance of this class. ![]() It inspects the available functions and load functions by name. The DeclareLibraryMBS class Allows you to load a DLL on Windows, a dylib on MacOS and shared object on Linux. The classes of this topic handle the loading of dynamic C libraries and calling functions within them. In this article I want to introduce you the new functionalities from the MBS Xojo Plugins in version 20.3. News from the MBS Xojo Plugins Version 20.3
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |