Article View: comp.windows.interviews
Article #845Use of Panner in Unidraw app
From: Bhogavalli Narasimha
Date: Thu, 12 Nov 1992 19:35
Date: Thu, 12 Nov 1992 19:35
17 lines
1239 bytes
1239 bytes
Hello IV users, Can somebody help me with this problem? I am running IV 3.1beta on Sun OS 4.1.1 using Sun C++ 2.1. I have a Unidraw application which draws a tree like structure. The Nodes in the tree (derived from GraphicComps) consist of Rectangle with Text inside. Nodes in the tree expand when selected with an "Expand Tool" engaged. Before drawing the children, I compute the area required for the children nodes and check if there are any objects already drawn in the area using ViewsIntersecting function of GraphicView. My problem is that when the tree is magnified using the panner, how do I get the scale of magnification? If I do not have the scale of magnification, I am not able to compute the correct area to check for intersection. Thank you, Rao (bhogaval@phaser.ssc.gov)
Technical Details
Message-ID:
<9211121935.AA00516@phaser.ssc.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!stanford.edu!PHASER.SSC.GOV!bhogavalShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!stanford.edu!PHASER.SSC.GOV!bhogaval From: bhogaval@PHASER.SSC.GOV (Bhogavalli Narasimha) Subject: Use of Panner in Unidraw app Message-ID: <9211121935.AA00516@phaser.ssc.gov> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Thu, 12 Nov 1992 19:35:25 GMT Lines: 17