[Gambas-user] Image smoothing
Benoît Minisini
gambas at ...1...
Thu Jul 14 04:06:18 CEST 2016
Le 09/07/2016 10:41, juan duque a écrit :
> Obviously my English is somewhat lacking. Apologies.
>
> I think this is not a bug but rather a design with some shortcomings.
>
> Smoothing (or interpolation) of an image is often convenient but not
> desirable in all cases.
> Attached a sample program (this would be a magnifying glass).
>
> Is there any way of disable smoothing in the image/paint/draw component?
>
Use Paint.Antialias = False with Paint.DrawImage().
Or you can use the Paint.ZoomImage() method.
Regards,
--
Benoît Minisini
More information about the User
mailing list