W3C home > Mailing lists > Public > public-webcgm-wg@w3.org > August 2008

createWebCGMRect

From: Bezaire, Benoit <bbezaire@ptc.com>
Date: Mon, 25 Aug 2008 10:05:10 -0400
Message-ID: <B0D4682CF6F84041AC7C42AA6E9E81330B5F3DFE@HQ-MAIL3.ptcnet.ptc.com>
To: "WebCGM WG" <public-webcgm-wg@w3.org>
Hi All,
 
The current WebCGM Working Draft doesn't have a createWebCGMRect()
method. The setView() method takes a rectangle as input parameter, and
while the getObjectExtent() method returns a rect, it could be useful
for the user to create an empty rect. Could the following be considered
on the WebCGMPicture interface (same location as setView() ):
 
createWebCGMRect
Creates an WebCGMRect object outside of the document. The object is
initialized such that all values are set to 0 NVDC units. 

	No Parameters

	Return value
	
WebCGMRect	 	An WebCGMRect object.	

	No Exceptions
Received on Monday, 25 August 2008 14:06:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 25 August 2008 14:06:13 GMT