THBImage SDK v5.0.3.9 - Layered Geometry Graphics Drawing
The THBImageEdit .Net Wrapper now contains Print… functions that prints directly to a .Net Graphics device. We updated the .Net Printing example accordingly.
There are new factory objects THBEncoderFactory and THBImageStandardFactory. We introduced them to keep the filesize of binaries as small as possible.
When recompiling your application with this new THBImage version you will get compilation errors wherever you call CreateTHBEncoder, CreateTHBImageList and CreateTHBImageStandard. Use the new factories there instead.
We improved THBView drawing performance. This makes the new Animation package more impressive. For animation it is beneficial to have at least more than 10 frames per second.
With these performance improvements this shouldn’t be a problem.
Creating THBImageEdit objects is now faster, you will just notice this if you really create a lot of THBImageEdit objects.
DirectX flickering bug resolved.
You can now directly access geometry object coordinates using THBGeometry.Coordinate. Until now you had to recreate a new geometry object to change coordinates.
The new Animation package is the biggest addition in this release.
You create animations by writing an xml file and loading it using THBView.Animation.Load…
After loading animations you can play them. Each animation is defined by its name.
You can play animations from your code by calling THBView.Animation.Play.
But the more interactive way is to place geometry objects (THBRegion objects) on a THBVector layer and when the user clicks on it the animation will be played. (Refer to THBRegion.HyperlinkUrl)
Another way is to use GUI controls to play animations. You can use the properties THBButton.AnimationPressed or THBPicture.AnimationPressed of THBButton and THBPicture controls to play animations by GUI controls.
You can use animations to create a complete GUI.
So what can be animated: Geometry objects, Geometry styles, Layer opacity, GUI controls, THBView properties.
Nearly all important things can be animated.
We will publish some animation examples in the coming weeks.
As always, for a complete list of changes please refer to the History.txt



RSS News Feed