[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug awt/23700] CropImageFilter setting wrong dimensions
From: |
fitzsim at redhat dot com |
Subject: |
[Bug awt/23700] CropImageFilter setting wrong dimensions |
Date: |
2 Sep 2005 18:50:53 -0000 |
------- Additional Comments From fitzsim at redhat dot com 2005-09-02 18:50
-------
The problem turned out to be the consumer.setPixel lines:
consumer.setPixels(bounds.x, bounds.y,
bounds.width, bounds.height,
model, cropped, 0, bounds.width);
What we actually want is to start setting pixels at 0, 0 not bounds.x, bounds.y.
I committed a fix for this.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23700