[cairo] More docs
Russell Shaw
rjshaw at netspace.net.au
Sun Aug 14 07:39:13 PDT 2005
Owen Taylor wrote:
> On Sun, 2005-08-14 at 23:13 +1000, Russell Shaw wrote:
>
>>I had to put in ugly extra blank lines because gtkdoc-mkdb seems to have
>>bugs. If you have:
>>
>><programlisting>
>>Ao.Co = Aa.Ca <OP> Ab.Cb
>>...
>>
>>then the xml generated has:
>>
>><para>
>><programlisting>
>>Ao.Co = Aa.Ca <OP> Ab.Cb
>></para>
>>...
>>
>>I spent far more time trying to debug gtkdoc than it took to find all the
>>cairo papers on the net, understand them, and make this doc:
>
> If you are doing this inline (and I don't think this should be inline;
> while what you have is a good start, there's quite a bit of more
> information that should be provided to the user: it needs pictures and
> descriptions of what the operators used for, so I'd put the stuff into a
> separate .sgml file and then just refer to it from the cairo_operator_t
> description), then the "trick" used in gtk-doc is, instead of using a
> blank line, to use a line with a single space on it.
I would use a separate file and pictures if i was more familiar with
xml and gtk-doc, but it's too big a step because i only learnt this
stuff today. Some docs are better than nothing, and i can always have
another go at it later.
More information about the cairo
mailing list