[cairo] Cairo over directfb

Marc Oscar Singer elf at synapse.com
Tue Oct 7 09:35:49 PDT 2008


Chris Triebel wrote:
>
> I’m working on an LH7A404 ARM embedded project where I want to use 
> pango/cairo to display rotated text to an LCD. I have directfb up and 
> working, but I haven’t been able to get cairo to draw to a directfb 
> surface. I can provide sample code, but I’m inclined to think this is 
> more of a case that I’m not building everything correctly.
>
I have done six or so projects with the 404 and Cairo. In the beginning, 
we tried directFB, but it was far more trouble than it was worth.

It is really easy to rotate your image using a single BLT function that 
reads from the Cairo surface and writes to the frame buffer.
I cannot share the code since it doesn't belong to me. :-) We found that 
even if directFB had worked, it would have been much
slower than our simple BLT.

-- 
Marc Singer
Bureau of Gizmology
elf at synapse.com
t. 206.832.3712
   800.682.0581
f. 206.381.0899

Synapse Product Development, LLC.
1511 6th Avenue, 4th floor
Seattle, WA 98101



More information about the cairo mailing list