Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

Zooming In on a Selection: Step 6

Show in webframe

/* Set the source and destination rectangles for painting */
SetRect(&rLeadSource, 0, 0, LeadBitmap.GetWidth(), LeadBitmap.GetHeight());
SetRect(&rLeadDest, 0, 0, LeadBitmap.GetWidth(), LeadBitmap.GetHeight());
/* Update the global variables for keeping track of the display */
DisplayLeft = 0;
DisplayTop = 0;
DisplayWidth = LeadBitmap.GetWidth();
DisplayHeight = LeadBitmap.GetHeight();
/* Repaint the whole client area */
::InvalidateRect(this->m_hWnd,NULL,FALSE);
 

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.