Page 1 of 1

Problem with Blt when showing clipped surface?

PostPosted: Apr 7, 2004 @ 7:49am
by GDuser
Hi all,

Is it possible to use Blt to display a surface already been clippered? I know the common is to use BltFast but then I can't scale/rotate the surface at the same time ...

pBackBuffer->SetClipper(NULL);
pBackBuffer->Blt(NULL, &m_image, NULL, NULL, NULL);

Also, when showing a really long (vertical) image, Blt() only shows the very central part of the m_image. I have been testing and trying out different ways but still no luck :(

Any comments/suggestions would be appreciated! Thx! :oops: