mirror of
				https://github.com/Ryujinx/GtkSharp.git
				synced 2025-11-04 13:34:48 +00:00 
			
		
		
		
	cairo: Fix some whitespace and code formatting issues
This commit is contained in:
		
							parent
							
								
									c77fa9d048
								
							
						
					
					
						commit
						21ce761271
					
				| 
						 | 
				
			
			@ -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);
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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)]
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue