Hi Everyone,
I'm interested in adding another calligraphy tool. I'm a calligrapher by way of a hobby, and I think it'd be fun to make a tool that behaved more like a broad-edged pen. What parts of the code do I need to copy and edit so as to make my new pen? And what parts of the code control how I will interface with my new pen tool? (i.e. how do I give it an icon and a button?)
On Sat, 3 Apr 2004, Jason Dusek wrote:
Hi Everyone,
I'm interested in adding another calligraphy tool. I'm a calligrapher by way of a hobby, and I think it'd be fun to make a tool that behaved more like a broad-edged pen. What parts of the code do I need to copy and edit so as to make my new pen? And what parts of the code control how I will interface with my new pen tool? (i.e. how do I give it an icon and a button?)
Mental is probably the best person to answer this but here are a couple files that may get you in the right ballpark:
tools-switch.cpp
dyna-draw-context.cpp
Also, keep an eye out for functions that can be generalized, as opposed to copy and edit, since from a maintenance point of view it can be a big help.
Bryce
participants (2)
-
Bryce Harrington
-
Jason Dusek