Hi Derrell, Hi Marc,
in a few month ago I used to rotate Text in SVG like this:
var canvas1 = new qx.ui.embed.Canvas().set(
{
width : 35,
canvasWidth : 35,
canvasHeight : 160,
syncDimension : true
});
canvas1.addListener("redraw", function(e)
{
var data = e.getData();
var ctx = data.context;
var unitstr = "Text here!!";
ctx.save();
ctx.translate(25, 140);
ctx.rotate(-90 * Math.PI / 180);
ctx.font = "19px 'Arial'";
ctx.fillStyle = "rgba(0, 0, 200, 1)";
ctx.fillText(unitstr, 0, 0);
//ctx.transform(1, 0, -1, 0, 0, 0);
ctx.restore();
},
this);
May be usefull.
SAKsystems
Inh. Mustafa Sak
Varrelmannstr. 16
30453 Hannover
Tel. +49 511 / 165 969 40
Fax +49 511 / 165 969 49
Mobil +49 163 / 312 6144
http://www.saksys.de
<mailto:[email protected]> [email protected]
STEUER-Nr. 2613817458
_____
Von: Derrell Lipman [mailto:[email protected]]
Gesendet: Freitag, 8. Juli 2011 17:38
An: qooxdoo Development
Betreff: [qooxdoo-devel] SVG contrib
Hi Marc,
I'm looking to use your SVG contrib for a project requiring SVG text. There
does not appear to be an interface for specifying _what_ text to render, and
neither of the examples use text.
Is this an oversight, or are you expecting that the user will do low-level
SVG manipulation? If you happen to have an example that shows using text
with your SVG contrib, I'd love to see it.
Thanks!
Derrell
<<attachment: Mustafa Sak ([email protected]).vcf>>
------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
