Xlib and rotated text?

Alan Coopersmith alan.coopersmith at oracle.com
Fri Mar 18 07:42:09 PDT 2011


On 03/18/11 01:18 AM, walter harms wrote:
> 
> 
> Am 17.03.2011 20:30, schrieb Peter Harris:
>> On 2011-03-17 13:52, Chris wrote:
>>> I've had a look at freetype, but it seems like overkill for what I
>>> need and also a dependency I'm not sure I can "afford" (and it seems
>>> that then I also need fontconfig). So this is a last resort for me.
>>
>> You want to use ciaro/pango/fontconfig/freetype for this, rather than
>> re-inventing the wheel.
>>
>>> So, can I do it in Xlib without writing the complete matric algebra
>>> by myself (if so, where can I find an example/manual/tutorial),
>>
>> If you really really want to use as few libraries as possible, you could
>> draw your text onto a pixmap, then rotate it to your window using
>> XRenderSetPictureTransform and XRenderComposite.
>>
>> http://cgit.freedesktop.org/xorg/proto/renderproto/tree/renderproto.txt#n705
>>
>> http://cgit.freedesktop.org/xorg/lib/libXrender/tree/include/X11/extensions/Xrender.h#n267
>>
> 
> 
> are there any man pages available ?

No.   Documentation is in
http://cgit.freedesktop.org/xorg/lib/libXrender/tree/doc/libXrender.txt

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System




More information about the xorg mailing list