[cl-pdf-devel] Plotting rotated text in chart axis

Marc Battyani marc.battyani at fractalconcept.com
Sun Feb 5 17:59:19 UTC 2006


"Jonathon McKitrick" <jcm at FreeBSD-uk.eu.org> wrote:
>
> I'm trying to modify draw-object specialized on horizontal-value-axis.
>
> Oddly enough, there is no problem calling draw-centered, left, or right-text.
> But when I try set-text-matrix, so that I can plot text on an angle, I have
> problems.  It actually does work, but Adobe on IE and Windows complains that
> 'Tm' is illegal where it is in the path, or wherever it thinks it is.
>
> Any idea how I can get text to render at a 45 degree angle, rather than
> horizontally here?

Something like with-saved-context, translate x y, rotate 45 then draw text should work
IMO.

Marc





More information about the cl-pdf-devel mailing list