Article View: comp.windows.interviews
Article #848Use of Panner in Unidraw app
From: Jiasheng Zhou
Date: Thu, 12 Nov 1992 19:50
Date: Thu, 12 Nov 1992 19:50
31 lines
1596 bytes
1596 bytes
----- Begin Included Message ----- From daemon@interviews.Stanford.EDU Thu Nov 12 13:37:07 1992 Date: Thu, 12 Nov 92 13:35:25 CST From: bhogaval@phaser.ssc.gov (Bhogavalli Narasimha) To: interviews@interviews.stanford.edu Subject: Use of Panner in Unidraw app Cc: bhogaval@phaser.ssc.gov Content-Length: 798 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) ----- End Included Message -----
Technical Details
Message-ID:
<9211121950.AA13171@poplar.ssc.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!usenet.ins.cwru.edu!agate!stanford.edu!POPLAR.SSC.GOV!zhoujShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!usenet.ins.cwru.edu!agate!stanford.edu!POPLAR.SSC.GOV!zhouj From: zhouj@POPLAR.SSC.GOV (Jiasheng Zhou) Subject: Use of Panner in Unidraw app Message-ID: <9211121950.AA13171@poplar.ssc.gov> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Thu, 12 Nov 1992 19:50:13 GMT Lines: 32