Bug 4543 - DCR - need flipping image support ala awt.Graphics.drawImage() (1FZ0C7G)
Summary: DCR - need flipping image support ala awt.Graphics.drawImage() (1FZ0C7G)
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P4 minor (vote)
Target Milestone: ---   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-11 14:18 EDT by Mike Wilson CLA
Modified: 2005-02-16 12:07 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Wilson CLA 2001-10-11 14:18:38 EDT
PJM (8/1/00 10:06:12 AM)
	Ware writing some code in java.awt.Graphics to support the
	awt notion of image flipping.  This is basically just flipping an image 
around
	the X or Y access.  We should probably add this to SWT itself, in the
	image package.  This is needed for the drawImage() API (see javaDoc for
	more information on this API).

	Actually, now that I think about it, we should have a few 
	more goodies in here, including cropping and scaling.  Done as natives.

	Not a pressing need, just something I've noticed that would be nice to 
have.

NOTES:

JM (8/4/00 3:49:33 PM)
	Also must remember we need support for flipping alpha blending.

JM (8/6/00 12:27:37 PM)
	The support for flipping ImageData in vertical and/or horizontal 
direction already
	exists in the stretching code, just need to attach it to some API.

CM (2/6/01 1:42:53 PM)
	SQ to investigate.
Comment 1 DJ Houghton CLA 2001-10-29 16:20:36 EST
PRODUCT VERSION:

	SWT 0.32

Comment 2 Silenio Quarti CLA 2005-02-16 12:07:31 EST
Fixed in Eclipse 3.1 M5.

See GC.setTransform().