DWT Linux supports D2

Jacob Carlborg doob at me.com
Thu Apr 7 00:14:01 PDT 2011


On 2011-04-07 00:49, dsimcha wrote:
> On 4/6/2011 4:08 PM, Jacob Carlborg wrote:
>> I finished (or mostly) porting DWT linux to D2. The browser package is
>> exclude from the build. Most of the snippets build and (I think) most of
>> them run. Please create a ticket for any compile time or run time errors.
>>
>> Build base and SWT: "rake base swt"
>> Build SWT snippets: "rake swtsnippets"
>>
>> Library dependencies:
>> http://dsource.org/projects/dwt/wiki/ImportLibraries
>>
>> http://dsource.org/projects/dwt
>> http://hg.dsource.org/projects/dwt2
>>
>
> Great work! I'm thinking of doing a Plot2kill port eventually. How's
> DWT's basic drawing API (lines, rectangles, text, ...)? Can it save
> drawings in vector formats (SVG, EPS, PDF, etc.) like GTK/Cairo can?

I guess it can do most of the things you would except. Althogh I'm not 
sure about saving drawings in vector formats. I think the supported 
image formats are: BMP, GIF, JPEG, PNG, ICO and TIFF.

You can have a look at the SWT snippets: 
http://www.eclipse.org/swt/snippets/

There also a library called draw2d which is available in the DWT2 
repository, don't know if that could be of any help. But I haven't 
ported that library.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-announce mailing list