[Gtk-sharp-list] Cairo integration patches: preview.
Miguel de Icaza
miguel@novell.com
Sat, 29 Nov 2003 17:38:04 -0500
--=-vT1M0OgPtNSstPTGchhS
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
This is a small preview of the Cairo integration patches. We are going
to make some changes to the Cairo naming conventions, so this patch
should not be applied to CVS.
But with this, you can use the CairoSample.cs program that implements a
widget using Cairo, and no Gdk.
After we are done with the naming changes, we should get some docs for
Cairo on CVS as well.
Miguel.
--=-vT1M0OgPtNSstPTGchhS
Content-Disposition: attachment; filename=cairo-patch.diff
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name=cairo-patch.diff; charset=ISO-8859-1
SW5kZXg6IGdkay9EcmF3YWJsZS5jdXN0b20NCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NClJDUyBmaWxlOiAvY3ZzL3B1
YmxpYy9ndGstc2hhcnAvZ2RrL0RyYXdhYmxlLmN1c3RvbSx2DQpyZXRyaWV2aW5nIHJldmlzaW9u
IDEuNg0KZGlmZiAtdSAtdSAtcjEuNiBEcmF3YWJsZS5jdXN0b20NCi0tLSBnZGsvRHJhd2FibGUu
Y3VzdG9tCTI3IE9jdCAyMDAzIDIwOjAwOjE1IC0wMDAwCTEuNg0KKysrIGdkay9EcmF3YWJsZS5j
dXN0b20JMjkgTm92IDIwMDMgMjI6MTg6MDcgLTAwMDANCkBAIC00MSwzICs0MSwxOCBAQA0KIAln
ZGtfZHJhd19saW5lcyhIYW5kbGUsIGdjLkhhbmRsZSwgcG9pbnRzLCBwb2ludHMuTGVuZ3RoKTsN
CiB9DQogDQorW0RsbEltcG9ydCgibGliZ2RrLXdpbjMyLTIuMC0wLmRsbCIpXQ0KK2ludGVybmFs
IHN0YXRpYyBleHRlcm4gSW50UHRyIGdka194MTFfZHJhd2FibGVfZ2V0X3hkaXNwbGF5IChJbnRQ
dHIgcmF3KTsNCisNCitbRGxsSW1wb3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