New Forum | Previous | Next | (P-PDF) Developers
Topic: Drawing a captured signature
Conf: (P-PDF) Developers, Msg: 85414
Date: 4/3/2003 03:34 AM
I am a relative newcomer to the Acrobat SDK. I am trying to write a digital signature plug-in that interfaces with an actual signature pad. I am trying to figure how to draw my signature's appearance dictionary. The API that comes with the Signature pad allows me to capture an array of points that signify the begin and end points of the "segments" that make up the signature. In other words, I have the data that I need to draw a signature, but I'm not sure how to use that data to create a CosObj, so that I can call DigSigAPCreateLayeredStream ( with some other CosObj's ) and be on my merry way. I guess my question is simply this: How do I construct my very own CosObj image from scratch? Is it even possible to do this? I do have a rather unsavory alternative, which is to get a bitmap of my signature, convert it to jpeg and go from there, but I'd prefer to take the data and create my own CosObj directly, if I can. Any Advice?