Karen,

Being able to easily paste vector graphics into a Word document would be
useful, I agree.

Currently, there is a way to get vector graphics without using Object2D. You
can print any of the examples to a PDF or PS. Have a look at the
Window1.FilePrint menu handler in the examples. It draws directly to the
printer graphics object returned by OpenPrinterDialog. Drawing to such an
object via any of the Graphics.drawXXXX methods is done in a "vectorized"
fashion for maximum print quality (I haven't tried that on Windows with
Adobe PDF-Writer, but it certainly works on the Mac). Have a look at the
following PDF file:

http://opensource.the-meiers.org/examples/DataPlotClasses_Example.pdf

This can actually be opened with Adobe Illustrator, where it can be edited.
You will see that each line segment, shape (circles etc.), string, etc. is
its own vector object. From there it can be exported to different vector
graphic formats, including wmf, emf, and eps. The only thing that is not
drawn as a vector object is the Y-Label string, due to a RB bug in
StringShape (which, ironically, is the only Object2D used in the entire
project :-) ).

Given sufficient time, I am planning on revisiting the code to implement
drawing with Object2D, if I can get it to draw at similar speeds (especially
for data with a larger number of data points). But if anyone needs vector
graphics today, there is way (at least on the Mac).

Cheers,

Roger



> From: Karen <[EMAIL PROTECTED]>
> Reply-To: REALbasic NUG <[email protected]>
> Date: Sun, 11 Feb 2007 14:17:15 -0500
> To: REALbasic NUG <[email protected]>
> Subject: Re: [ANN] DataPlot Classes (Open Source)
> 
> 
> On Feb 11, 2007, at 1:53 PM, Roger Meier wrote:
> 
> 
>> I'm very interested in learning what other people would use these
>> classes
>> for. It would help me understand what is important (e.g. Vector
>> graphics)
>> and what is not. Please let me know.
> 
> Scaling using picture scaling would never look as good scaling of
> well done with vector graphics. This has significant impact when you
> want professional looking print output. Also being able to paste a
> vector picture into say MS Word should allow the user to resize from
> within word without losing quality (say when writing a report).
> 
> In summary for on screen drawing within your program raster graphics
> are perfectly fine and may even give the best result because (but
> resolution independent OS's are coming too) but for the uses I
> mention above vector graphics should be superior
> 
> - Karen
> _______________________________________________
> Unsubscribe or switch delivery mode:
> <http://www.realsoftware.com/support/listmanager/>
> 
> Search the archives:
> <http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to