W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2006

[whatwg] Canvas lack of drawString method

From: Gervase Markham <gerv@mozilla.org>
Date: Tue, 24 Oct 2006 10:35:00 +0100
Message-ID: <453DDE44.9010903@mozilla.org>
David Hyatt wrote:
> and then the API would be something like:
> 
> drawText(y-coord of baseline, "barchart", myText)

I like this idea :-)

At the risk of overcomplicating, vertical text is a common requirement 
for graphs and charts. If this is simpler to implement than the 
"arbitrary text rotation" case, is it worth having a way of saying the 
baseline is vertical rather than horizontal? Or would this be a job for 
fitTextToPath()?

Gerv
Received on Tuesday, 24 October 2006 02:35:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:49 UTC