Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drawing A Picture In VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01298950
Message ID:
01298980
Vues:
26
Hi Kevin,

With VFPPaint, ou can draw maually, as you do with MSPaint, pixel per pixel, lines, rectangles, ellipsis.

Apart from that, you can also paste any image to the canvas, so if you have a certain shape saved as image, it can be pasted normally.

Make sure that your shapes have the transparencies set correctly, in order to paste correctly in your canvas ! You may give it a try. Feel free to call again.


>Cesar,
>
>I would like to be able to drop predefined shapes on a canvas and save it as a JPG or BMP.
>
>Would VFP Paint be what I'm looking for?
>
>
>
>
>>>>Is it possible to allow the user to draw a picture in VFP?
>>>>
>>>>What would be nice is to be able to drag shapes, circles, rectangles, squares, diamonds, and such onto a
>>>>drawing surface, allow the user to add text or free draw, and then save it as an image file.
>>>>
>>>>Anyone know if this can be done in VFP?
>>>
>>>I think GdiPlusX project on VFPx includes VFP Paint that does all that.
>>
>>
>>Hi Sergey,
>>
>>The sample that ships with GdiPlusX is the very first lightweight version of VFP Paint.
>>
>>The most recommended is to download GdiPlusX, and use the latest version from here.
>>
>>Special thanks to Bhavbuty Nathmani, that helped me a lot in this latest version, testing and implementing the UNDO/REDO feature.
>>
>>http://weblogs.foxite.com/cesarchalom/archive/2007/10/17/5120.aspx
>>
>>Regards
>>
>>Cesar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform