W3C home > Mailing lists > Public > www-forms@w3.org > August 2004

Re: SVG scribble control?

From: Dave Raggett <dsr@w3.org>
Date: Tue, 3 Aug 2004 19:49:59 +0100 (BST)
To: Micah Dubinko <micah@dubinko.info>
Cc: www-forms@w3.org
Message-ID: <Pine.LNX.4.58.0408031940070.2857@holly>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 3 Aug 2004, Micah Dubinko wrote:

> What about:
> 
> <upload ref="pen/data" mediatype="image/svg+xml">
> ...
> 
> Note that the XForms rec specifically calls out the "scribble" 
> technique, in section 8.1.6.

Yes, I studied that section carefully. Your example doesn't
quite address my requirements:

  a) to collect ink trace data, e.g. as InkML
  b) to include SVG map data as an underlay

This could be considered as a compound control with two
fields, one for output only (the map) and the other for
input (as InkML) and output on a transparent layer that
lies above the map.

Naturally, it would be reasonable to consider SVG+XForms
combinations where SVG is used as the containing document for
the XForms controls, where the SVG is part of the presentation.
The map data itself is part of the application data, even
though it is represented in SVG.

Many thanks,

  Dave Raggett


> 
> .micah
> 
> Dave Raggett wrote:
> 
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >Has there been any consideration of an input control that collects
> >pen trace data (scribble) over an image or a graphic represented by
> >SVG?  For instance, a control showing a rectangular portion of a
> >map over which you can make a gesture with a stylus or electronic
> >pen.
> >
> >In essence this is a kind of upload control but one which is
> >specialized to collecting pen gestures over an associated
> >presentation, which forms an integral part of the content, and
> >as such can't be treated as part of the styling.
> >
> >Some possible designs:
> >
> > a) an XForms element with a link to the image/graphic
> >    where the width/height is set via CSS
> >
> > b) an XForms element acting as a container for SVG
> >
> >Such controls would be valuable for composite multimodal input,
> >for example, where you say "zoom in here" while drawing a rough
> >circle on the map. When submitted, the form would contain a
> >representation of the command (zoom) together with the ink
> >trace data represented in XML, see http://www.w3.org/TR/InkML/
> >
> >It would then be up to a server-side script to interpret this
> >data and to return the updated map.
> >
> >A refinement would be a way to just update the map, avoiding
> >the need to reload the entire page.
> >
> >Regards,
> >- -- 
> > Dave Raggett <dsr@w3.org>  W3C lead for voice and multimodal.
> > http://www.w3.org/People/Raggett +44 1225 866240 (or 867351)
> > 
> >-----BEGIN PGP SIGNATURE-----
> >Version: GnuPG v1.2.4 (GNU/Linux)
> >
> >iD4DBQFBD5amb3AdEmxAsUsRAithAJinh/IwVOv5ShWxjkfIdz8ozKSmAKDnntje
> >Qf79Z9VFEkQMpEH3G365YQ==
> >=5iWp
> >-----END PGP SIGNATURE-----
> >
> >  
> >
> 

- -- 
 Dave Raggett <dsr@w3.org>  W3C lead for voice and multimodal.
 http://www.w3.org/People/Raggett +44 1225 866240 (or 867351)
 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBD95eb3AdEmxAsUsRAvzpAKD2jCs7yzriFbToYXvSD1CQ4T79lQCdF+ml
TBVAygD2kyqAO8TvPOZhcDU=
=KAU5
-----END PGP SIGNATURE-----
Received on Tuesday, 3 August 2004 14:49:10 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:21:58 GMT