libXrender - documentation?

Alex Deucher alexdeucher at gmail.com
Wed Jan 21 07:31:36 PST 2009


On Wed, Jan 21, 2009 at 10:23 AM, Alex Deucher <alexdeucher at gmail.com> wrote:
> On Wed, Jan 21, 2009 at 8:14 AM, Thomas Dickey <dickey at his.com> wrote:
>> On Wed, 21 Jan 2009, Clemens Eisserer wrote:
>>
>>> Hi Charles,
>>>
>>> Unfourtunatly XRender is not very well documented, probably the best
>>> thing available is the specification.
>>
>> hmm - googling on that (xrender specification) doesn't find much - just
>> these random notes here for instance:
>>
>>        http://keithp.com/~keithp/render/protocol.html
>>
>> which only covers a very small fraction of the library.
>>
>> (Since it's apparently undocumented - I looked some time ago and concluded
>> that the documentation covered at most 10% of the code, the "best" thing
>> available would appear to be the source code - with the caveat that
>> change-history also appears to be lacking).
>>
>>> The reason is that most programmers use higher-level APIs like Cairo
>>> or QT4 to access XRender, so if you don't have a good reason why you
>>> directly want to mess with it I recommend using cairo too.
>>
>> In that case, a pointer to the detailed api of cairo would help Charles.
>
> http://cgit.freedesktop.org/xorg/proto/renderproto/tree/renderproto.txt

mis-read you last sentence, this is, of course, the xrender proto, not cairo.

Alex



More information about the xorg mailing list