Thomas,
I have recently finished a simple line generator in RB. It has
several capabilities you might want to consider for your module. My
approach was to replicate in RB the line formats and procedures of
HPGL.
To display curves with dash patterns, the curves are broken into
small segments. The pattern generator places the pattern over the
entire length of the curve.
Straight line patterns are applied over simple lines specified by end
points.
Patterns can be either fixed length or a percentage of the graphic size.
Any number of line segments may be included as a single line for
pattern purposes.
Patterns may be user designed.
Nothing done in Core Graphics.
Lots of coding, lots of frustration, lots of satisfaction.
Regards,
Art
On Jul 31, 2006, at 12:12 PM, realbasic-nug-
[EMAIL PROTECTED] wrote:
Subject: [ANN] CoreGraphics Module
From: Thomas Cunningham <[EMAIL PROTECTED]>
Date: Sun, 30 Jul 2006 19:35:41 -1000
I have been learning a bit of CoreGraphics using declares on the
Mac and
have decided to release a module. The module extends the graphics
class of
Rb, Mac only. I decided to try and give this extends design
approach versus
classes as it seems to me a more natural way to extend the drawing
choices
in Rb.
I would like to get some feedback on this at this early stage of
development. It's a free download but is encrypted. Use it at your
own risk.
It should work on all version of OS X.
This version allows you to draw lines that have an alpha parameter.
Also a
call that gives you dotted lines. Download comes with a brief demo
on how to
use the module. More about it here,
http://www.maui.net/~mauitom/CoreGraphics.html
Thank you.
--
Thomas C.
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>