[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [cgmo-webcgm] setting the viewport (was pan/zoom)
I'm starting to wonder if some of these 'rectangle' API shouldn't be using 4 floats instead of a string. Might be easier for the script writer. -----Original Message----- From: Galt, Stuart A [mailto:stuart.a.galt@boeing.com] Sent: Monday, March 24, 2008 6:04 PM To: CGM Open WebCGM TC Subject: [cgmo-webcgm] setting the viewport (was pan/zoom) Hello, Chapter 1 - no changes Chapter 2 - no changes Chapter 3 - no changes Chapter 4 - no changes Chapter 5 In 5.7.5 Add to the IDL void setViewPort (in WebCGMString port); In the methods section add: setViewPort Sets the viewport to the specified rectangle expressed in NVDC units. To set the viewport around two APS you could get the object extent of both APS and then set the viewport to the new rectangle defined by the minimum x value, minimum y value, maximum x value, maximum y value. Parameter port of type WebCGM String The two corner points of a rectangle in NVDC Exceptions No exceptions. chapter 6 - no changes chapter 7 - no changes chapter 8 - add to the WebCGM object methods The WebCGMPicture object has the following methods: ... setViewPort(port) This method has no return value. The port parameter is of type String. -- Stuart Galt SGML Resource Group stuart.a.galt@boeing.com (206) 544-3656 --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]