Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Clipping of draw2d figures while using PrintFigureOperation
Clipping of draw2d figures while using PrintFigureOperation [message #665310] Thu, 14 April 2011 05:44 Go to next message
sneha is currently offline sneha
Messages: 25
Registered: July 2009
Junior Member
Hi,

I have an application which displays draw2d diagrams in a Eclipse view.
The diagrams are complex similar to UML diagrams. (Multiple UML diagrams
connected with connecting lines).
I am trying to print these figures using class PrintFigureOperation.

I am able to do the printing of figures as expected.
However the figure description (labels) inside these complex figures is
getting clipped.

I tried to scale the diagrams to fit in the print region.
However, the figure description gets clipped inside the figures.

This behavior seems strange since the figures are not getting clipped;
but the description written in them is clipped.

Please let me know any suggestion / inputs to resolve this issue.

Thanks in advance,
Sneha
Re: Clipping of draw2d figures while using PrintFigureOperation [message #666376 is a reply to message #665310] Wed, 20 April 2011 04:31 Go to previous messageGo to next message
sneha is currently offline sneha
Messages: 25
Registered: July 2009
Junior Member
Hi,

So far I am not able to avoid the clipping of data present in figures.

Please let me know if there are some pointers to handle this issue.

Thanks,
Sneha

sneha wrote:
> Hi,
>
> I have an application which displays draw2d diagrams in a Eclipse view.
> The diagrams are complex similar to UML diagrams. (Multiple UML diagrams
> connected with connecting lines).
> I am trying to print these figures using class PrintFigureOperation.
>
> I am able to do the printing of figures as expected.
> However the figure description (labels) inside these complex figures is
> getting clipped.
>
> I tried to scale the diagrams to fit in the print region.
> However, the figure description gets clipped inside the figures.
>
> This behavior seems strange since the figures are not getting clipped;
> but the description written in them is clipped.
>
> Please let me know any suggestion / inputs to resolve this issue.
>
> Thanks in advance,
> Sneha
Re: Clipping of draw2d figures while using PrintFigureOperation [message #667169 is a reply to message #666376] Wed, 27 April 2011 04:06 Go to previous message
sneha is currently offline sneha
Messages: 25
Registered: July 2009
Junior Member
Hi,

Can someone who has used PrintFigureOperation to print draw2d diagrams
help me with this issue?

Thanks,
Sneha

sneha wrote:
> Hi,
>
> So far I am not able to avoid the clipping of data present in figures.
>
> Please let me know if there are some pointers to handle this issue.
>
> Thanks,
> Sneha
>
> sneha wrote:
>> Hi,
>>
>> I have an application which displays draw2d diagrams in a Eclipse view.
>> The diagrams are complex similar to UML diagrams. (Multiple UML
>> diagrams connected with connecting lines).
>> I am trying to print these figures using class PrintFigureOperation.
>>
>> I am able to do the printing of figures as expected.
>> However the figure description (labels) inside these complex figures
>> is getting clipped.
>>
>> I tried to scale the diagrams to fit in the print region.
>> However, the figure description gets clipped inside the figures.
>>
>> This behavior seems strange since the figures are not getting clipped;
>> but the description written in them is clipped.
>>
>> Please let me know any suggestion / inputs to resolve this issue.
>>
>> Thanks in advance,
>> Sneha
Previous Topic:Implementing gridline-like functionality
Next Topic:GEP Installation Problem in FlashBuilder
Goto Forum:
  


Current Time: Wed Jul 23 22:29:06 EDT 2014

Powered by FUDForum. Page generated in 0.01557 seconds