cairo: Fix some whitespace and code formatting issues

This commit is contained in:
Bertrand Lorentz 2013-07-26 16:11:56 -05:00
parent c77fa9d048
commit 21ce761271
4 changed files with 16 additions and 18 deletions

View file

@ -304,7 +304,7 @@ namespace Cairo {
}
[Obsolete("Use GetScaledFont/SetScaledFont")]
public Cairo.ScaledFont ScaledFont {
public ScaledFont ScaledFont {
set {
SetScaledFont (value);
}
@ -662,7 +662,7 @@ namespace Cairo {
NativeMethods.cairo_device_to_user_distance (handle, ref dx, ref dy);
}
public Cairo.Matrix Matrix {
public Matrix Matrix {
set {
NativeMethods.cairo_set_matrix (handle, value);
}
@ -808,7 +808,6 @@ namespace Cairo {
get {
return GetContextFontFace ();
}
set {
SetContextFontFace (value);
}

View file

@ -36,12 +36,11 @@ using System.Runtime.InteropServices;
namespace Cairo
{
// sort these so it is easier to find what is missing
// http://www.cairographics.org/manual/ix01.html
// sort the functions like in the following page so it is easier to find what is missing
// http://cairographics.org/manual/index-all.html
internal static class NativeMethods
{
const string cairo = "libcairo-2.dll";
[DllImport (cairo, CallingConvention=CallingConvention.Cdecl)]