Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: wxBitmap scaling

1 view
Skip to first unread message

Troels

unread,
Sep 7, 2009, 6:31:09 AM9/7/09
to
Julian Smart wrote:
>> //
>> // use factor to determine blit parameters
>> //
>> wxMemoryDC temp_dc;
>> temp_dc.SelectObject(mBitmap);
>> dc.SetUserScale(mHFactor, mVFactor);
>>
> Note that the native scaling on Windows is pretty bad and will often
result in a streaky-looking image with weird colours

wxDC.DrawBitmap in trunk is doing it okay now. Not so with stable.
http://trac.wxwidgets.org/ticket/3400

Brgds
Troels

0 new messages