What steps will reproduce the problem?
1.Create a label rotation on an axis, e.g., xAxis.labelRotation = -45 * M_PI /
180.0;
2.Output the graph to PDF data using [dataForPDFRepresentationOfLayer];
3.Print the PDF data: data -> NSImage -> NSImageView -> NSPrintOperation ->
printer
What is the expected output? What do you see instead?
On the screen, the labels are positioned properly, as shown in the attached PNG
file. On the printer, the labels are positioned as if rotation is not properly
taken into account. Instead, the origin point appears to be that which would
be correct were the labels not rotated, as shown in the attached PDF file.
What version of the product are you using? On what operating system?
Mercurial head, current as of 7/1/2011. OSX 10.6.8.
Please provide any additional information below.
The attached files demonstrate the issue; the png file shows
correctly-positioned labels on screen. The PDF is the same plot via the PDF
representation, showing incorrect label placement.
Per Eric Skroch, this issue can be replicated int CPTTestApp.
Original issue reported on code.google.com by allan.ba...@gmail.com on 1 Jul 2011 at 7:02
Original issue reported on code.google.com by
allan.ba...@gmail.com
on 1 Jul 2011 at 7:02Attachments: