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

View file

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