dracola
 
Argentina
37 Posts |
Posted - Mar 23 2016 : 01:24:45
|
How to insert image inside object with transparent outside the object???
this my code so far : //add object ellips ImageEnVect1.AddNewObject(iekELLIPSE, Rect(50, 50, 500, 500), clRed); ImageEnVect1.ObjPenWidth[0]:=22;
//insert image to object ImageEnVect1.ObjKind[0]:= iekBITMAP; ImageEnVect1.SetObjBitmapFromFile(0,'C:\Image1.jpg'); ImageEnVect1.Update;
result is like this:

What i want is like this :

How to make transparent outside the object? Thank's & best rgds |
|