VG.net 1.7 Released
A new sample program using VG.net vector graphics, called PanZoom, demonstrates how to use the new Zoom property in the Canvas class. The program uses this simple code to zoom in when the user clicks on a context menu:
canvas.Zoom *= 1.25;
And this code to zoom out:
canvas.Zoom /= 1.25;
Some other changes in this release:
- Serialization to .myxaml xml files (see previous blog entry)
- Centralization of Image storage in an ImageManager attached to each Picture. By using the ImageManager, we eliminated redundant storage of identical bitmaps within .resx files. ImageManager serves the same purpose as ImageList in windows forms, but is easier to use, since Images are referenced by name, not by index.
- Many classes and properties were renamed. The API is now stable and can be used in production applications.