I want to use hairlines as the grid on Log-linear graphs so I guess I
should be using Vector graphics. I have never looked at the Object2D
class but I think that is where I will find the solution. Wow this is a
very steep learning curve.
Thank you for pointing me in the right direction.
Barrie
On Nov 29, 2004, at 8:40 PM, Phil Mobley wrote:
On Nov 29, 2004, at 4:13 PM, Barrie Jones wrote:
In RB, the finest line that I can print is defined as g.penWidth = 1
and g.penHeight = 1. This results in a line width of 1/72 inch on
both the above printers.
You are currently working in pixels or a raster item -- so the
smallest visible element is always going to be one pixel. This is
what the hairline should be based on with raster items. If you are
going to draw thicker lines, then you will need to multiply it by the
scale -- a 1 point thick line on a 288 dpi printer, you would change
the pixelWidth to 4.
There is another approach which is even less documented than the
raster approach, but may be more of what you a looking for -- vector
graphics using the Object2D class. You are able to set the stroke
weight to doubles and it would be scalable for any printer. A 0.25
point line would be 0.25 points thick on a 300 dpi printer or a 1800
dpi printer.
Take a look at the Object2D class to see if that is what you are
looking for.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>
|