Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drawing arcs, and creating printable images
Message
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00452557
Message ID:
00453263
Views:
24
Hi!

You want too much from VFP ;)

You can do everything using API functions. But than, why not make this in other language?
For example, you can draw everything you want in the memory DC and than write bitmap image of that DC into bitmap file, which than will be displayed where you want. However, printer DC drawing gives you more advantages and quality, so better use such DC (you can create printer DC using CreateCD API function and some other required for printing).

For starting, however, you will require to read a lot articles about how to work with API functions, specially when printing.

It looks quite complex for beginners in the low- and middle-level programming, so think wisely if you really need all this mess.

>>>Hello everybody,
>>>
>>>How can i draw arcs within VFP. Lines, Circles, an elipses are no problem, but there is no vfp function i know that can draw arcs.
>>>I'm working on something where i make a drawing on my screen with some lines, circles and arcs. I want that to be on my screen, but i also want to print it.
>>>Where should i think for for realising this.
>>>Probably there is a image editing control or something where i can programmaticly do all this? The user doesn't need to modify the pricture. I draw it from some parameters the user specifies.
>>>
>>>TOA,
>>

>>You can write you own function/method to draw arcs using PSet method of the form.
>

>Thanks,
>
>But can i use that for printing the drawing too. I want to be able to print it using the reports, but also when i send it to word or outlook.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform