W3C home > Mailing lists > Public > www-svg@w3.org > October 2000

SVGLIst::createItem() and SVGPathSeg

From: Steve Dickson <sdickson@savagesoftware.com>
Date: Tue, 10 Oct 2000 09:53:00 -0700
Message-id: <fc.0085846d00014e6b0085846d00014e6b.14e6c@savagesoftware.com>
To: www-svg@w3.org
The SVGList interface provides a createItem() method that "creates an
initialized item of the appropriate type for [the] list".  The
SVGAnimatedPathData interface contains a number of SVGList attributes
which operate on elements of type SVGPathSeg.  The createItem() method in
these lists creates a SVGPathSeg object.  However, there is no way to tell
SVGList::createItem() what kind of SVGPathSeg segment to create and the
SVGPathSeg interface does not provide any means of setting the segment's
type.  It seems that any SVGPathSeg segment created by
SVGList::createItem() cannot be used.  Am I overlooking something?
Steven Dickson, Software Developer,
Savage Software
Received on Tuesday, 10 October 2000 12:53:37 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:49 UTC