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

StretchDiBits fails with SetWorldTransform

10 views
Skip to first unread message

ajay

unread,
Sep 11, 2009, 2:36:29 AM9/11/09
to
Hi,

I am doing SetWorldTransform in a printer DC to rotate the data by 90
degree and scale it by half. But I see that StretchDiBits is unable to
put any data on DC even though it returns the correct number of scan
lines. My DC width, height is 4500,6000. If i dont do the rotation but
keep the scaling then it works. Also if i divide the image in smaller
parts then StretchDuBits works again. Do anyone have any idea why i
have to divide the image while rotating?

Thanks a lot.
Ajay

ajay

unread,
Sep 11, 2009, 2:38:00 AM9/11/09
to
I am doing SetGraphicsMode(GM_ADVANCED) prior to StretchDiBits.
0 new messages