[Gtk-sharp-list] Pango.Cairo and DemoPrinting Gtk# 2.10

Mikkel Kruse Johnsen mikkel at linet.dk
Thu Aug 10 03:39:00 EDT 2006


I'm not sure what you mean by "cairo backend". Pango.Cairo allow using
Pango to render to Cairo surfaces.


So I think it should be wrapped.

Yes "pango_cairo_show_layout" is the only function nedded for the
Printing Demo, but there must be other functions that is usefull. (I'm
no pango nor cairo expert, so I could'nt say).


On Wed, 2006-08-09 at 15:45 -0500, Mike Kestner wrote:

> On Tue, 2006-08-08 at 21:41 +0200, Mikkel Kruse Johnsen wrote:
> > Hi Again
> > 
> > Here is an update for the DemoPrinting. I have wrapped Pango.Cairo
> > (some of it) and made a patch for it.
> > 
> > 1. unpack pangocairo.tar.gz in base gtk-sharp.
> > 2. Copy DemoPrinting.cs to samples/GtkDemo
> > 3. Patch it with PangoCairoPrinting.patch
> > 4. run bootstrap-2.10
> > 
> > There is no more manually wrapping in DemoPrinting.
> > 
> > Could someone take a look at it and see if it can go into svn or if it
> > needs more work and give me some feedback !!
> So if I understand the patch correctly, pango_cairo_show_layout is the
> only cairo backend method needed?
> I don't think we want to expose the backend code in pango-sharp.  If
> there is really no way to draw a layout on a PrintContext without going
> direct to the cairo backend, that seems like a bug.

Med Venlig Hilsen

Mikkel Kruse Johnsen
Ørholmgade 6 st. tv
mikkel at linet.dk
DK-2200 København N

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060810/035934d0/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 1792 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060810/035934d0/attachment.bin 

More information about the Gtk-sharp-list mailing list