Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Getting ink information

0 views
Skip to first unread message

Yusuf Goolamabbas

unread,
Oct 16, 1995, 3:00:00 AM10/16/95
to Wayne Citrin
>>>>> "Wayne" == Wayne Citrin <cit...@cs.colorado.edu> writes:

In article <citrin-1510...@saas-fee.cs.colorado.edu>
cit...@cs.colorado.edu (Wayne Citrin) writes:

Wayne> According to the NPG, objects of clPolygonView have a field
Wayne> called ink, which is a binary object of class 'ink,
Wayne> containing the (presumably unrectified) ink information for
Wayne> that polygon. I would like to capture that inking
Wayne> information, but I can't find any information on how to
Wayne> extract it. Does anyone know of a way to decode that
Wayne> information and get, say, the corresponding ink points
Wayne> array? (Not the array from the shape's points field, which
Wayne> is simply the set of corner and end points of the rectified
Wayne> shape.)

I am looking for similar information. I would like to conver Ink to
either a BMP/GIF/PICT image. Is there any PD/shareware converter which
does this already. What about the Newtons built in Print command which
can print individual strokes to Postscript printer. Can I redirect the
postscript to a file and convert it to EPS, then load it in xv and do
the conversion.

--
Yusuf Goolamabbas yus...@cc.gatech.edu
Graphics, Visualization, & Usability Center (O) 404.894.8791
College of Computing Georgia Tech
http://www.cc.gatech.edu/grads/g/Yusuf.Goolamabbas/home.html

Bill Kearney

unread,
Oct 16, 1995, 3:00:00 AM10/16/95
to
Alan Drogin (dro...@panix.com) wrote:
: Essentially, Apple has not released the format of Digital Ink. Perhaps if
: you e-mail them they'll do it under non-disclosure. Otherwise, you are
: correct (this has been discussed here a few months ago), you must capture
: with a viewClickScript a points array (PIE has a good example sample of
: this).

A representative from Paragraph stated this info is not available. Since
they're the folks that created the ink mechanisms for Apple I'd go with
this info. The ink format is a form of compressed splines. 6 bit I
believe. You'd go banannas figuring it out. (trust me on this)

You cannot, at this time, get any decent info from an ink object. The
data is in there, but no Newtonscript tools exist to access it. It's
likely this would improve in OS upgrades.

Meanwhile your only alternative is to grab the points on the fly and
store them on your own. This is slow and tedious. Compiling helps.
Better OS calls help more. Ah well.

Bill

--
| Bill Kearney | wkea...@access.digex.net | copyright 1995
| Butler, MD | http://access.digex.net/~wkearney/ | W.G.Kearney
| 410-239-0060 | ftp://ftp.digex.net/pub/access/wkearney |

This random quote brought to you by the fortune program:

There are three kinds of lies: Lies, Damn Lies, and Statistics.
-- Disraeli

0 new messages