[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

RE: [XaraXtreme-dev] Some question about XARFormatDocument




> 
>   I have some question about XARFormatDocument.pdf.
> 
> 1. Is xara an open standard file format? for examples:
>   SWF is not, you can read the Specification, but you can't
>   use it to create software which supports SWF file playback.
>   can I use xar do anything I wanted? like extend it and create
>   my own drawing software?

Yes, you can do anything you like with the XAR format, there are no restrictions.

> 
> 2. found some bugs in XARFormatDocument.pdf:
> (1) page 70 bottom,  it said for relative path, the data is:
>   number of coords(4bytes) + <verb, coords list>(9bytes), but
>   for two points path, I got size is 18 which can divid by 9,
>   so, the Data should not include number, because the
>   number = record size / 9
> (2) same page: the relative co-ordinate (0x11223344, 0xAABBCCDD)
>   will be stored as the following stream of bytes:
>   0x44, 0xDD, 0x33, 0xCC, 0x22, 0xBB, 0x11, 0xAA
>   but the actuly sequence I got is:
>   [0x0, 0x0, 0x0, 0x0, 0x0, 0x1, 0x0, 0x77]
>   [0xff, 0x0, 0xfe, 0x0, 0xdb, 0x0, 0x8, 0x0]
>   which present: (0, 375) (-75000, 0)
> 3. page 265 said TAG_REGULAR_SHAPE_PHASE_2 has been deprecated
>   in favour of
> TAG_POLYGON_COMPLEX_ROUNDED_STELLATED_REFORMED.
>   but why Rectangle & Ellipse all saved as TAG_REGULAR_SHAPE_PHASE_2

Thanks a lot for the feedback Eric - we'll get the document appropriately updated.

Neil

> 
> Regards
> 
> Eric
> 
> 
> __________________________________________________
> 赶快注册雅虎超大容量免费邮箱?
> http://cn.mail.yahoo.com