Interpolation quality setting for bitmaps in VSTGUI?

A user interface toolkit mainly for audio plug-ins (VST, AudioUnit, etc).
Post Reply
ray
Posts: 97
Joined: Fri Sep 02, 2016 9:37 am

Interpolation quality setting for bitmaps in VSTGUI?

Post by ray » Thu Jul 05, 2018 11:33 am

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

Arne Scheffler
Posts: 254
Joined: Mon Jun 20, 2016 7:53 am

Re: Interpolation quality setting for bitmaps in VSTGUI?

Post by Arne Scheffler » Thu Jul 05, 2018 11:57 am

Hi,
yes please do it. GdiPlus implementation is not needed. GdiPlus support will be removed in the near future.

Cheers,
Arne

ray
Posts: 97
Joined: Fri Sep 02, 2016 9:37 am

Re: Interpolation quality setting for bitmaps in VSTGUI?

Post by ray » Fri Jul 06, 2018 8:42 am

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

Post Reply