The Artima Developer Community
Sponsored Link

.NET Buzz Forum
VG.net 2.1b Released; ImageZoom Sample

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Frank Hileman

Posts: 95
Nickname: frankhil
Registered: May, 2004

Frank Hileman is the lead developer for VG.net, a fast vector graphics system for .net developers.
VG.net 2.1b Released; ImageZoom Sample Posted: Aug 14, 2004 9:39 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Frank Hileman.
Original Post: VG.net 2.1b Released; ImageZoom Sample
Feed Title: Frank Hileman's Blog
Feed URL: http://weblogs.asp.net/frank_hileman/rss?containerid=13
Feed Description: Vector Graphics with VG.net, MyXaml, and Visual Studio Integration
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Frank Hileman
Latest Posts From Frank Hileman's Blog

Advertisement

VG.net ImageZoom sample

Click on the image above to download and run the new ImageZoom sample executable.

We released Version 2.1b of the VG.net vector graphics system. Some of the changes:

  • You can now add multi-line text to any Shape in the Picture Designer.
  • The ZoomToParentRectangle method was added to Picture. Use this method in conjunction with ClipRectangle to zoom a Sub Picture to a rectangle specified in the Parent coordinate space.
  • The ImageZoom sample source code is provided to VG.net customers. This sample demonstrates how to use the ClipRectangle property and ZoomToParentRectangle method to zoom to selected areas of an Image.
  • Several bugs with the ClipRectangle property were fixed. You can now set and resize the ClipRectangle on a Sub Picture within the designer.
  • Other bug fixes and small enhancements. Please read the Readme file included in the release for more information.

Download the free Lite version of 2.1b at www.vgdotnet.com.

There was a strong focus on the Picture ClipRectangle property in this release. What is the purpose of this property? It allows you to define a “view port” through which you can see a portion of a Sub Picture (a Sub Picture is a child Picture). The ImageZoom sample illustrates this concept nicely.

Set ClipRectangle on a Sub Picture to clip it to a rectangle specified in the Parent coordinate space. To zoom to a specific area within your Sub Picture, use the ZoomToParentRectangle method. This method modifies the Scaling and Translation properties on the Sub Picture to perform a zoom. Since the ClipRectangle is specified in the Parent coordinate space of the Sub Picture, the ClipRectangle is not affected by any transformation on the Sub Picture.

The images in ImageZoom were generously provided by Vlad Gerasimov at Vladstudio: http://www.vladstudio.com

Read: VG.net 2.1b Released; ImageZoom Sample

Topic: Interoperability woes - beware! Previous Topic   Next Topic Topic: nmap and XP SP2

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use