[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.platform.swt] Re: How to CUT an image region

"Robert Bacs" <boby@xxxxxxxxxxx> ha scritto nel messaggio 
news:d77b61$sjb$1@xxxxxxxxxxxxxxxxxxx
> Hi,
>
> You can, just create an image with the desired size, make a new GC on it 
> and
> use
> drawImage(Image image, int srcX, int srcY, int srcWidth, int srcHeight, 
> int
> destX, int destY, int destWidth, int destHeight) method.
>

Thanks! U helped me a lot.
Cheers!