Page 1 of 1

Interpolation quality setting for bitmaps in VSTGUI?

Posted: Thu Jul 05, 2018 11:33 am
by ray
Would you guys consider adding an optional facility to CDrawContext that allows for setting different interpolation quality modes (e.g. using additional flags via setDrawMode()) for scaled bitmaps?

The setting could map to the underlying

-CGInterpolationQuality in Core Graphics
-D2D1_BITMAP_INTERPOLATION_MODE Direct2D
-GdiPlus::InterpolationMode in GdiPlus

I can create a PR that outlines my feature suggestion if you like.

Best,
Reimund

Re: Interpolation quality setting for bitmaps in VSTGUI?

Posted: Thu Jul 05, 2018 11:57 am
by Arne Scheffler
Hi,
yes please do it. GdiPlus implementation is not needed. GdiPlus support will be removed in the near future.

Cheers,
Arne

Re: Interpolation quality setting for bitmaps in VSTGUI?

Posted: Fri Jul 06, 2018 8:42 am
by ray
Arne Scheffler wrote:Hi,
yes please do it. GdiPlus implementation is not needed. GdiPlus support will be removed in the near future.

Cheers,
Arne
Hi Arne,

here's my proposal: https://github.com/steinbergmedia/vstgui/pull/64

Best,
Reimund