[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cgmo-webcgm] DOM questions and implementation feedback
Hi all, Just a friendly reminder to point out that we have questions to resolve. Let me add another one: 4) What happens if a user changes the raster-intensity of a black & white image? Does an implementation have to convert the black & white image to grayscale before changing the intensity? Or is this functionality only intended for grayscale and color images and therefore has no effect on black & white images? Thanks! -- Benoit mailto:benoit@itedo.com Tuesday, August 17, 2004, 1:33:07 PM, Benoit wrote: BB> Hi all, BB> First the questions... BB> 1) Are APS style attributes cumulative or not? Example: BB> - assume we have a rectangle filled with black. BB> - we set it to red by calling setStyleAttr( "fill-color", "#FF0000" ); BB> - we then set it to a relative color using setStyleAttr( BB> "fill-color", "50%" ); BB> What is the resulting color? 50% red or 50% black? I believe the BB> spec needs to be clear on this, wording will have to be BB> added. BB> 2) Is the style attribute "fill-color" suppose to fill objects that BB> don't already have a fill-color? If yes, what does WebCGM say BB> about filling non-closed objects? calling setStyleAttr( BB> "fill-color", "50%" ) on a non-filled object should do what? BB> 3) Since WebCGM only allows for restricted text elements, what is BB> the usefulness of changing the font-size? ie, it can't exceed the BB> box height?! BB> On to implementation feedback... BB> i) As I've said in the last conference call, the metafileDescription BB> attribute on the Picture interface doesn't make much sense to me. I BB> think it is really hard for a script writer to use the returned BB> value. BB> I would like to propose that we change the Metafile interface to: BB> interface Metafile { BB> readonly attribute Picture firstPicture; BB> readonly attribute DOMString metafileID; BB> readonly attribute DOMString ProfileId; BB> readonly attribute DOMString ProfileEd; BB> readonly attribute usigned short metafileVersion; BB> attribute DOMString src; BB> }; BB> OR BB> interface Metafile { BB> readonly attribute DOMString metafileDescription; // returns clearText value BB> readonly attribute Picture firstPicture; BB> readonly attribute DOMString metafileID; BB> readonly attribute DOMString ProfileId; BB> readonly attribute DOMString ProfileEd; BB> readonly attribute usigned short metafileVersion; BB> attribute DOMString src; BB> }; BB> feedback would be appreciated. BB> ii) We have some methods in the WebCGM DOM that take DOMStringList BB> as input parameters but we have no methods for creating a DOMStringList BB> object or to append/remove DOMStrings from DOMStringList objects. BB> The DOMStringList interface will need to be modified. And we will BB> also have to find an interface to add a createDOMStringList() BB> method. BB> I haven't heard from the group in a few days regarding the BB> ecmascript binding request; should I assume that people have started BB> implementing without it or is this still an open issue? BB> Regards,
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]