Submitted by mark on Thu, 03/26/2015 - 01:49
I finally came up with a strategy to extend TTextArea with HTML support: Keep it simple and start with an editor which just edits a single line and displays the internal and rendered representations at once. About two years ago I tried to do the same directly with TTextArea and ended up in debugging hell.
This time it looks like I'm going have something I can easily integrate into TTextArea, replace THTMLView with, use it in the vector graphics editor for text fields and speech bubbles, a collaborative real-time editor, a screenwriting app, ...
And additional data structures might only be required for the paragraphs displayed on the screen.
Submitted by mark on Sat, 02/28/2015 - 15:44
I was so happy about coming up with a design for non-affine transformations in Fischland, that I almost forgot that I don't just need these for vector paths, but also for bitmaps. I did a first crude experiment without anti-aliasing nor sophisticated algorithms which people might usually use for this. Next step will be adding subdivisions for more complicated transformations.
Submitted by mark on Thu, 02/19/2015 - 00:04
- Fixes to the mouse enter/leave handling solved the menubar issues.
- I began to implement non-affine transformations:
- Transformations will be implemented as groups, which retrieve the paths from the figures they contain and return transformed paths in turn. This will allow non-destructive transformations which can be nested, removed and parametrized with text fields, e.g. to specify a rotation of, say, 90° and later change that to 120°. This could also be exploited to turn Fischland into an animation program.
- I haven't decided yet whether figures will return paths or if a special TPen class will convert drawing operations into paths. I thinks it's going to be the later as it provides a more intuitive interface.
Submitted by mark on Fri, 01/09/2015 - 00:23
Started experimenting on how to implement a free form deformation. For this I am going to drop the transformation matrix from TFigure and replace it with an interface to manipulate all points of a figure. This also means I need an algorithm to divide figures like rectangles so that they will be affected by the deformation.
Submitted by mark on Tue, 01/06/2015 - 07:17
Submitted by mark on Thu, 10/24/2013 - 23:48
After lying dormant for a few years, I finally came around to make a new attempt to port TOAD and Fischland to Mac OS X:
There is still a lot to do to but a major change is that all graphic output (coordinates and color) is now floating point based as it is native for Cocoa or Cairo.
Submitted by mark on Sun, 09/18/2011 - 15:09
Submitted by mark on Sat, 08/13/2011 - 15:43
The Subversion repository of TOAD was gone for more than a year now. Not that anybody noticed.
There's now a Git repository available from which you can pull the sources:
git clone http://git.mark13.org/toad.git. Not that anybody will notice.
Submitted by mark on Mon, 06/07/2010 - 01:30
Submitted by mark on Mon, 05/31/2010 - 20:17
Fields of the Nephilim pre-gig warm up party at the Bat City