On Fri, Jul 8, 2011 at 12:05, Mustafa Sak <[email protected]> wrote:

> ** **
>
> 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(****
>
>
Thanks, Mustafa. Unfortunately, your answer pertains to Canvas, not to SVG,
which is a different technology.

Derrell



>       {****
>
>         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****
>
> [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****
>
> ** **
>
>
> ------------------------------------------------------------------------------
> 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
>
>
------------------------------------------------------------------------------
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

Reply via email to