chart scaling problem [message #488878] |
Wed, 30 September 2009 11:07  |
Eclipse User |
|
|
|
Hello,
I am using paperclips to print pages and show previews. Printing works well,
but when previewing the transformation stored in the GC
(gc.get/setTransform) is not respected. Instead everything is painted
unscaled from the untranslated origin of the GC. This seems to be a bug. Any
help is greatly appreciated.
Enrico
|
|
|
|
|
|
Re: chart scaling problem (more precise problem description) [message #489369 is a reply to message #489310] |
Fri, 02 October 2009 11:49  |
Eclipse User |
|
|
|
Thanks
Enrico Schnepel wrote:
> Done.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=291152
>
> Enrico
>
> "Jason Weathersby" <jasonweathersby@windstream.net> schrieb im Newsbeitrag
> news:ha2dmv$u7m$2@build.eclipse.org...
>> Enrico,
>>
>> Can you open a bug for this?
>>
>> Jason
>>
>> Enrico Schnepel wrote:
>>> Hello again,
>>>
>>> to be more precise:
>>>
>>> A printer image GC is initiliazed with 300 dpi and scaled to fit into the
>>> screen and thus having a scaling factor of about 0.14... . Birt draws a
>>> chart on the printer image GC without any scaling/translation and
>>> therefore - after drawing the image on the screen - out of my screen
>>> boundaries exept the white background pane which is at its right place.
>>> when setting the rendering boundaries to 0.14... of the previosly used
>>> chart size, the drawing might be in the right place, but the fonts are
>>> shown 0.14...^-1 times larger as they should be. When moving the
>>> displayed area of the enlarged page the chart is drawn always in the same
>>> position on the screen and doesn't move around with the rest of the page
>>> (This is where the translation comes into play).
>>>
>>> Enrico
>>>
>>> Am 30.09.09 17:07, schrieb Enrico Schnepel:
>>>> Hello,
>>>>
>>>> I am using paperclips to print pages and show previews. Printing works
>>>> well,
>>>> but when previewing the transformation stored in the GC
>>>> (gc.get/setTransform) is not respected. Instead everything is painted
>>>> unscaled from the untranslated origin of the GC. This seems to be a bug.
>>>> Any
>>>> help is greatly appreciated.
>>>>
>>>> Enrico
>>>>
>>>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.06097 seconds