steinbergmedia / vstgui

A user interface toolkit mainly for audio plug-ins
Other
850 stars 121 forks source link

fix 1 bug and disable clip for DrawBitmap #292

Closed setoutsoft closed 1 year ago

setoutsoft commented 1 year ago

D2DBitmap::createHBitmap need add minus to biHeight, otherwise we would get a vertical mirror icon. D2DDrawContext::drawBitmap, we disabled the auto clip mode. If enable the auto clip, we will get a wrong clipped image when a transform matrix such as a rotate matrix was set.

scheffle commented 1 year ago

Please provide a Pull Request per change. Thank you.