OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cgmo-webcgm message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [cgmo-webcgm] changes in DOM specification for redraw control


I tend to agree with Lofton regarding the boolean. Using keywords such as: disableAll, disableStyles, etc... might allow us more control in the future.
 
I find current wording a bit loose though... After a first read, I had the following questions in mind:
- what happens if I change .src
- what happens if I apply an XCF
- do tooltips, highlighting, viewports etc... still work?
 
I think saying "current view" in the description is problematic. We should also clarify if this is a Picture or viewer 'setting'. It's on the Picture interface, so I assume it is meant for the current picture... meaning that if a new picture is loaded, this setting reverts back to the default value. Is that the intent?
 
Ben


From: Lofton Henderson [mailto:lofton@rockynet.com]
Sent: Tuesday, February 12, 2008 9:55 PM
To: Forrest Carpenter; cgmo-webcgm@lists.oasis-open.org
Subject: Re: [cgmo-webcgm] changes in DOM specification for redraw control

Thanks for the drafting assignment, Forrest.

A couple of comment and questions:

1.) I wonder if Boolean is the best choice for the 'state' parameter?  I know that it encompasses all of the functionality that we want for 2.1.  But is it possible that there might be a future version with more functional choices?  (No opinion ... just a question.)

2.) What other sections of the spec are affected?  I looked at 2.7 and think it is NOT affected -- redraw() is too detailed there, probably.  On the other hand, Ch.8 ECMASCRIPT definitely needs mods. Are there any others?  Ch.7 Conformance?  Appendixes?

Regards,
-Lofton.


At 03:28 PM 2/12/2008 -0600, Forrest Carpenter wrote:

  All,

 

Here are my proposed changes in the specification for redraw control.

 

Regards,

Forrest

 

          IDL  Defination

interface WebCGMPicture : WebCGMNode { 

  readonly attribute float            width;

  readonly attribute float            height;

  readonly attribute WebCGMString     pictid;

  boolean            applyCompanionFile(in WebCGMString fileURI);

  WebCGMNode         getAppStructureById(in WebCGMString apsId);

  WebCGMNodeList     getAppStructuresByName(in WebCGMString apsName);

  void               highlight(in WebCGMNodeList nodes,

                               in boolean state);

  void               setPictureVisibility(in WebCGMString visibility);

  void               setStyleProperty(in WebCGMString style,

                                  in WebCGMString value);

  void               reloadPicture();

  void               enableRedraw(in Boolean state);

};

 

enableRedraw

Controls the redrawing of the picture after a DOM call that changes current view of the metafile. Examples would be change in style, change in visibility, pan, and zoom.  The default value is True. Note when the value is changed from False to True a redraw of the picture will occur.

 

Parameters

 

state of type Boolean

A true value will enable redraw, whereas false will disable redraw.

Return value

No return value.

Exceptions

No exceptions.

 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.20.4/1275 - Release Date: 2/12/2008 3:20 PM


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]