Ever wanted to use Drawfiles on your Webpages. Well this is for you then. The Java Drawfile Renderer can display most Drawfiles or with a little alteration. All Object types are handled with the following restrictions :
Acorn Font | Java Font |
See the demonstration or download a copy (includes source showing how to use the Drawfile code in your own applets).
Possible future work:
Comparison of JavaDraw and MyWorld Java's Drawfile viewer (from observation)
Object | JavaDraw | MyWorld Java |
Sprites | All handled | No |
Gifs | No | Yes |
Text | Rotated and Scaled | Yes (no rotations or scaling) |
Paths | Thickness, Arrowheads, Join styles Not all fills handled correctly | No thickness, no Arrowheads, Slightly better fill handling but not perfect |
JPEG | Depends on Browser | |
TextArea | Yes - Alignment not handled | No |
Further information can be found at the DCU Computer Applications archive of 4th Year projects - Java DrawFile Renderer.
This is based on the Sprite processing in the Drawfile Renederer, with the ability to read sprites defined in the following modes:
20 , 21, ????
and new type sprites defined by number of colours and dpi.
This code is written with a proper API with methods to extract information about each sprite. COMING SOON
This basic program outputs colored code to screen or a color printer. Download
This program converts Java or C++ to HTML. A template HTML file can be set up. This file must contain a '*'. The source code will be added at this point. Download