[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: Re: Looking for XRender examples
From: Vlad <vladc6 () yahoo ! com>
Date: 2007-12-06 18:39:37
Message-ID: 57859.98998.qm () web54409 ! mail ! yahoo ! com
[Download RAW message or body]
--- Carl Worth <cworth@cworth.org> wrote:
> On Thu, 06 Dec 2007 10:44:10 +0000 (GMT), KAMALNEET SINGH wrote:
> > Some notes on xclock's usage of XRender:
> > * Destination surface is created using XftDrawPicture.
> > * Source surface is created using
> > XftDrawSrcPicture. XftDrawSrcPicture uses XCreatePixmap to
> create a
> > 1x1 pixmap and then uses it as a drawable to create a new
> Picture. And
> > then uses XRenderFillRectangle to draw the color onto it.
>
> For an application using XRender "only" you can use
> XRenderCreatePicture instead of relying on the Xft library as well.
>
> As soon as you want to render text through XRender, you will quickly
> find that there's quite a bit of work required to manage everything
> necessary. At that point, you might find it quite helpful to use an
> existing library. Originally, Xft was the recommended library, (and
> should still work fine, of course). But today active development has
> instead moved
I highly recommend Qt for high-performance text and graphics
rendering. Qt has a very intuitive and mature C++ API and bindings for
other languages (Python, Java, Ruby, etc). It is actively developed as
open source software and supported commercially.
http://trolltech.com/products/qt
http://doc.trolltech.com/4.3/index.html
Vlad
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. \
http://tools.search.yahoo.com/newsearch/category.php?category=shopping \
_______________________________________________ xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic