THBImage SDK v5.0.5.6 Vector symbols, Curve drawing
THBVector changes
- SVG (Scalable vector graphics) decoder performance improved
- new object THBVectorSymbol: Contains one or more geometry objects. To draw symbols use the THBPointSymbolGeometry objects that you add to a THBLayer.
- new object THBVectorSymbols: stores all symbols available in this THBVector object
- new object THBPointSymbolGeometry: vector symbol to place at points using scale, rotate, translation plus symbolname
- THBVector.Symbols - Lookuptable for geometry symbols
- thbPathCommand constants changed to be identical to WIN API constants
- Better curve drawing using gdi and gdi+ drawing provider.
- new function THBGeometryList.HitTestRect: returns a new geometry list that contains all geometry objects that touch the hit rectangle. we just allow geometry objects that touch the hitrectangle
THBView changes
- THBViewSelected.FromRectangle now does an exact search instead of an rough MBR search.
- new function THBViewSelected.FromPointWithKeys: Select all objects under this point. This function is the same as FromPoint but considers CTRL and SHIFT keys too.
- new function THBViewSelected.FromRectangleWithKeys: Select all objects touching this rectangle. This function is the same as FromRectangle but considers CTRL and SHIFT keys too. Holding the CTRL key removes the new geometry from the existing selection. Holding the SHIFT key adds the new geometry to the existing selection.
- THBView Selection now works better with CTRL and SHIFT keys. SHIFT always adds geometry while CTRL always removes geometry. This works with the multiselection window too.
- Mouse capture behavior of many commands like pan, magnify, drawing slightly changed
- new function THBViewAnimation.ClearGeometries: remove all geometry objects of an animation
- new function THBViewAnimation.AddGeometry: add a new geometry object to an animation.
The animation can animate the geometry if you add it here otherwise the animation has no access to it.
By default an animation can just access and animate geometry objects that are created using the CreateTHBGeometry animation action.