Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 225091 - Control.print(GC) does not respect the GC tranform
Summary: Control.print(GC) does not respect the GC tranform
Status: RESOLVED DUPLICATE of bug 250501
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Steve Northover CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 09:44 EDT by Christopher Deckers CLA
Modified: 2009-01-28 11:59 EST (History)
3 users (show)

See Also:


Attachments
The bug showning the transform, that works for a fillRectangle() but not for the print(gc) (2.15 KB, text/java)
2008-04-01 09:44 EDT, Christopher Deckers CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Deckers CLA 2008-04-01 09:44:25 EDT
Created attachment 94361 [details]
The bug showning the transform, that works for a fillRectangle() but not for the print(gc)

Build ID: 3.4M6

Steps To Reproduce:
1. Create an image
2. Get its GC
3. Set a transform on the GC
4. Control.print(gc)
5. See that the transform is not applied


More information:
When we have a huge component and we want to print a small area (say bottom right corner), we could create an image that is just the size of that corner and apply a translation transform. This minimizes the amount of memory needed (small image and not the full size), and would also reduce the time to analyze that image (less garbage being created in the ImageData)
Comment 1 Steve Northover CLA 2008-04-01 14:23:42 EDT
It is unlikely that we will get to this for 3.4.  Silenio, do you have any ideas how we can fix this?
Comment 2 Steve Northover CLA 2009-01-28 11:59:59 EST

*** This bug has been marked as a duplicate of bug 250501 ***