Perlin example for Visual C++
int iXCircle, iYCircle;
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
iXCircle = m_LeadRasterView.GetRaster().GetBitmapWidth() / 2;
iYCircle = m_LeadRasterView.GetRaster().GetBitmapHeight() / 2;
m_pRasterProc->Perlin(m_LeadRasterView.GetRaster(), 0, 10, 8, 50, RGB(0,0,0), RGB(255, 0, 0),iXCircle, iYCircle, 4, 20, PRL_PURE |PRL_CIRCLE);
m_pRasterProc->Release();