Vignette example for Visual C++
int iXCenter, iYCenter;
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
iXCenter = m_LeadRasterView.GetRaster().GetBitmapWidth() / 2;
iYCenter = m_LeadRasterView.GetRaster().GetBitmapHeight() / 2;
m_pRasterProc->Vignette(m_LeadRasterView.GetRaster(), iXCenter, iYCenter, 50, 100, iXCenter, iYCenter, RGB(0,0,255), VIG_ELLIPSE | VIG_FILLIN);
m_pRasterProc->Release();