|
Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
Zooming In on a Selection: Step 1
LBase LeadBase;
LeadBase.LoadLibraries(LT_ALL_LEADLIB);
L_INT nRet = LeadBitmap.Load(TEXT("v:\\images\\eagle.cmp"));
SetRect(&rLeadSource, 0, 0, LeadBitmap.GetWidth(), LeadBitmap.GetHeight());
SetRect(&rLeadDest, 0, 0, LeadBitmap.GetWidth(), LeadBitmap.GetHeight());
DisplayLeft = 0;
DisplayTop = 0;
DisplayWidth = LeadBitmap.GetWidth();
DisplayHeight = LeadBitmap.GetHeight();