1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
4 
5 [assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")]
6 [assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))]
7 [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
8 [assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute]
9 [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
10 namespace Cairo
11 {
12     [System.SerializableAttribute]
13     public enum Antialias
14     {
15         Default = 0,
16         Gray = 2,
17         None = 1,
18         Subpixel = 3,
19     }
20     public static partial class CairoAPI
21     {
22         public static int Version { get { throw null; } }
23         public static string VersionString { get { throw null; } }
24     }
25     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
26     public partial struct Color
27     {
ColorCairo.Color28         public Color(double r, double g, double b) { throw null;}
ColorCairo.Color29         public Color(double r, double g, double b, double a) { throw null;}
30         public double A { get { throw null; } set { } }
31         public double B { get { throw null; } set { } }
32         public double G { get { throw null; } set { } }
33         public double R { get { throw null; } set { } }
34     }
35     [System.SerializableAttribute]
36     public enum Content
37     {
38         Alpha = 8192,
39         Color = 4096,
40         ColorAlpha = 12288,
41     }
42     public partial class Context : System.IDisposable
43     {
Context(Cairo.Surface surface)44         public Context(Cairo.Surface surface) { }
45         [System.ObsoleteAttribute]
Context(System.IntPtr state)46         public Context(System.IntPtr state) { }
Context(System.IntPtr handle, bool owner)47         public Context(System.IntPtr handle, bool owner) { }
48         public Cairo.Antialias Antialias { get { throw null; } set { } }
49         [System.ObsoleteAttribute("Use SetSourceColor method")]
50         public Cairo.Color Color { set { } }
51         [System.ObsoleteAttribute("Use SetSourceRGBA method")]
52         public Cairo.Color ColorRgb { set { } }
53         [System.ObsoleteAttribute("Use GetFontFace/SetFontFace")]
54         public Cairo.FontFace ContextFontFace { get { throw null; } set { } }
55         public Cairo.PointD CurrentPoint { get { throw null; } }
56         public Cairo.FillRule FillRule { get { throw null; } set { } }
57         public Cairo.FontExtents FontExtents { get { throw null; } }
58         public Cairo.Matrix FontMatrix { get { throw null; } set { } }
59         public Cairo.FontOptions FontOptions { get { throw null; } set { } }
60         [System.ObsoleteAttribute("Use SetFontSize() instead.")]
61         public double FontSize { set { } }
62         [System.ObsoleteAttribute("Use GetGroupTarget()")]
63         public Cairo.Surface GroupTarget { get { throw null; } }
64         public System.IntPtr Handle { get { throw null; } }
65         public bool HasCurrentPoint { get { throw null; } }
66         public Cairo.LineCap LineCap { get { throw null; } set { } }
67         public Cairo.LineJoin LineJoin { get { throw null; } set { } }
68         public double LineWidth { get { throw null; } set { } }
69         public Cairo.Matrix Matrix { get { throw null; } set { } }
70         public double MiterLimit { get { throw null; } set { } }
71         public Cairo.Operator Operator { get { throw null; } set { } }
72         [System.ObsoleteAttribute("Use GetSource/SetSource")]
73         public Cairo.Pattern Pattern { get { throw null; } set { } }
74         public uint ReferenceCount { get { throw null; } }
75         [System.ObsoleteAttribute("Use GetScaledFont/SetScaledFont")]
76         public Cairo.ScaledFont ScaledFont { get { throw null; } set { } }
77         [System.ObsoleteAttribute("Use GetSource/SetSource")]
78         public Cairo.Pattern Source { get { throw null; } set { } }
79         public Cairo.Status Status { get { throw null; } }
80         [System.ObsoleteAttribute("Use GetTarget/SetTarget")]
81         public Cairo.Surface Target { get { throw null; } set { } }
82         public double Tolerance { get { throw null; } set { } }
AppendPath(Cairo.Path path)83         public void AppendPath(Cairo.Path path) { }
Arc(double xc, double yc, double radius, double angle1, double angle2)84         public void Arc(double xc, double yc, double radius, double angle1, double angle2) { }
ArcNegative(double xc, double yc, double radius, double angle1, double angle2)85         public void ArcNegative(double xc, double yc, double radius, double angle1, double angle2) { }
Clip()86         public void Clip() { }
ClipPreserve()87         public void ClipPreserve() { }
ClosePath()88         public void ClosePath() { }
CopyPage()89         public void CopyPage() { }
CopyPath()90         public Cairo.Path CopyPath() { throw null; }
CopyPathFlat()91         public Cairo.Path CopyPathFlat() { throw null; }
CurveTo(Cairo.PointD p1, Cairo.PointD p2, Cairo.PointD p3)92         public void CurveTo(Cairo.PointD p1, Cairo.PointD p2, Cairo.PointD p3) { }
CurveTo(double x1, double y1, double x2, double y2, double x3, double y3)93         public void CurveTo(double x1, double y1, double x2, double y2, double x3, double y3) { }
DeviceToUser(ref double x, ref double y)94         public void DeviceToUser(ref double x, ref double y) { }
DeviceToUserDistance(ref double dx, ref double dy)95         public void DeviceToUserDistance(ref double dx, ref double dy) { }
Dispose()96         public void Dispose() { }
Dispose(bool disposing)97         protected virtual void Dispose(bool disposing) { }
Fill()98         public void Fill() { }
FillExtents()99         public Cairo.Rectangle FillExtents() { throw null; }
FillPreserve()100         public void FillPreserve() { }
~Context()101         ~Context() { }
102         [System.ObsoleteAttribute("Use SelectFontFace() instead.")]
FontFace(string family, Cairo.FontSlant slant, Cairo.FontWeight weight)103         public void FontFace(string family, Cairo.FontSlant slant, Cairo.FontWeight weight) { }
104         [System.ObsoleteAttribute("Use SetFontSize() instead.")]
FontSetSize(double scale)105         public void FontSetSize(double scale) { }
GetContextFontFace()106         public Cairo.FontFace GetContextFontFace() { throw null; }
GetGroupTarget()107         public Cairo.Surface GetGroupTarget() { throw null; }
GetScaledFont()108         public Cairo.ScaledFont GetScaledFont() { throw null; }
GetSource()109         public Cairo.Pattern GetSource() { throw null; }
GetTarget()110         public Cairo.Surface GetTarget() { throw null; }
GlyphExtents(Cairo.Glyph[] glyphs)111         public Cairo.TextExtents GlyphExtents(Cairo.Glyph[] glyphs) { throw null; }
GlyphPath(Cairo.Glyph[] glyphs)112         public void GlyphPath(Cairo.Glyph[] glyphs) { }
113         [System.ObsoleteAttribute("The matrix argument was never used, use GlyphPath(Glyphs []) instead")]
GlyphPath(Cairo.Matrix matrix, Cairo.Glyph[] glyphs)114         public void GlyphPath(Cairo.Matrix matrix, Cairo.Glyph[] glyphs) { }
IdentityMatrix()115         public void IdentityMatrix() { }
InClip(double x, double y)116         public bool InClip(double x, double y) { throw null; }
InFill(double x, double y)117         public bool InFill(double x, double y) { throw null; }
InStroke(double x, double y)118         public bool InStroke(double x, double y) { throw null; }
119         [System.ObsoleteAttribute("Use DeviceToUserDistance instead")]
InverseTransformDistance(ref double dx, ref double dy)120         public void InverseTransformDistance(ref double dx, ref double dy) { }
121         [System.ObsoleteAttribute("Use InverseTransformPoint instead")]
InverseTransformPoint(ref double x, ref double y)122         public void InverseTransformPoint(ref double x, ref double y) { }
LineTo(Cairo.PointD p)123         public void LineTo(Cairo.PointD p) { }
LineTo(double x, double y)124         public void LineTo(double x, double y) { }
Mask(Cairo.Pattern pattern)125         public void Mask(Cairo.Pattern pattern) { }
MaskSurface(Cairo.Surface surface, double surface_x, double surface_y)126         public void MaskSurface(Cairo.Surface surface, double surface_x, double surface_y) { }
MoveTo(Cairo.PointD p)127         public void MoveTo(Cairo.PointD p) { }
MoveTo(double x, double y)128         public void MoveTo(double x, double y) { }
NewPath()129         public void NewPath() { }
NewSubPath()130         public void NewSubPath() { }
Paint()131         public void Paint() { }
PaintWithAlpha(double alpha)132         public void PaintWithAlpha(double alpha) { }
PopGroup()133         public Cairo.Pattern PopGroup() { throw null; }
PopGroupToSource()134         public void PopGroupToSource() { }
PushGroup()135         public void PushGroup() { }
PushGroup(Cairo.Content content)136         public void PushGroup(Cairo.Content content) { }
Rectangle(Cairo.PointD p, double width, double height)137         public void Rectangle(Cairo.PointD p, double width, double height) { }
Rectangle(Cairo.Rectangle rectangle)138         public void Rectangle(Cairo.Rectangle rectangle) { }
Rectangle(double x, double y, double width, double height)139         public void Rectangle(double x, double y, double width, double height) { }
RelCurveTo(Cairo.Distance d1, Cairo.Distance d2, Cairo.Distance d3)140         public void RelCurveTo(Cairo.Distance d1, Cairo.Distance d2, Cairo.Distance d3) { }
RelCurveTo(double dx1, double dy1, double dx2, double dy2, double dx3, double dy3)141         public void RelCurveTo(double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) { }
RelLineTo(Cairo.Distance d)142         public void RelLineTo(Cairo.Distance d) { }
RelLineTo(double dx, double dy)143         public void RelLineTo(double dx, double dy) { }
RelMoveTo(Cairo.Distance d)144         public void RelMoveTo(Cairo.Distance d) { }
RelMoveTo(double dx, double dy)145         public void RelMoveTo(double dx, double dy) { }
ResetClip()146         public void ResetClip() { }
Restore()147         public void Restore() { }
Rotate(double angle)148         public void Rotate(double angle) { }
Save()149         public void Save() { }
Scale(double sx, double sy)150         public void Scale(double sx, double sy) { }
SelectFontFace(string family, Cairo.FontSlant slant, Cairo.FontWeight weight)151         public void SelectFontFace(string family, Cairo.FontSlant slant, Cairo.FontWeight weight) { }
SetContextFontFace(Cairo.FontFace value)152         public void SetContextFontFace(Cairo.FontFace value) { }
SetDash(double[] dashes, double offset)153         public void SetDash(double[] dashes, double offset) { }
SetFontSize(double scale)154         public void SetFontSize(double scale) { }
SetScaledFont(Cairo.ScaledFont font)155         public void SetScaledFont(Cairo.ScaledFont font) { }
SetSource(Cairo.Pattern source)156         public void SetSource(Cairo.Pattern source) { }
SetSource(Cairo.Surface source)157         public void SetSource(Cairo.Surface source) { }
SetSource(Cairo.Surface source, double x, double y)158         public void SetSource(Cairo.Surface source, double x, double y) { }
SetSourceColor(Cairo.Color color)159         public void SetSourceColor(Cairo.Color color) { }
SetSourceRGB(double r, double g, double b)160         public void SetSourceRGB(double r, double g, double b) { }
SetSourceRGBA(double r, double g, double b, double a)161         public void SetSourceRGBA(double r, double g, double b, double a) { }
SetSourceSurface(Cairo.Surface source, int x, int y)162         public void SetSourceSurface(Cairo.Surface source, int x, int y) { }
SetTarget(Cairo.Surface target)163         public void SetTarget(Cairo.Surface target) { }
ShowGlyphs(Cairo.Glyph[] glyphs)164         public void ShowGlyphs(Cairo.Glyph[] glyphs) { }
165         [System.ObsoleteAttribute("The matrix argument was never used, use ShowGlyphs(Glyphs []) instead")]
ShowGlyphs(Cairo.Matrix matrix, Cairo.Glyph[] glyphs)166         public void ShowGlyphs(Cairo.Matrix matrix, Cairo.Glyph[] glyphs) { }
ShowPage()167         public void ShowPage() { }
ShowText(byte[] utf8)168         public void ShowText(byte[] utf8) { }
ShowText(string str)169         public void ShowText(string str) { }
Stroke()170         public void Stroke() { }
StrokeExtents()171         public Cairo.Rectangle StrokeExtents() { throw null; }
StrokePreserve()172         public void StrokePreserve() { }
TextExtents(byte[] utf8)173         public Cairo.TextExtents TextExtents(byte[] utf8) { throw null; }
TextExtents(string s)174         public Cairo.TextExtents TextExtents(string s) { throw null; }
TextPath(byte[] utf8)175         public void TextPath(byte[] utf8) { }
TextPath(string str)176         public void TextPath(string str) { }
Transform(Cairo.Matrix m)177         public void Transform(Cairo.Matrix m) { }
178         [System.ObsoleteAttribute("Use UserToDeviceDistance instead")]
TransformDistance(ref double dx, ref double dy)179         public void TransformDistance(ref double dx, ref double dy) { }
180         [System.ObsoleteAttribute("Use UserToDevice instead")]
TransformPoint(ref double x, ref double y)181         public void TransformPoint(ref double x, ref double y) { }
Translate(double tx, double ty)182         public void Translate(double tx, double ty) { }
UserToDevice(ref double x, ref double y)183         public void UserToDevice(ref double x, ref double y) { }
UserToDeviceDistance(ref double dx, ref double dy)184         public void UserToDeviceDistance(ref double dx, ref double dy) { }
185     }
186     public partial class DirectFBSurface : Cairo.Surface
187     {
DirectFBSurface(System.IntPtr dfb, System.IntPtr dfb_surface)188         public DirectFBSurface(System.IntPtr dfb, System.IntPtr dfb_surface) { }
189     }
190     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
191     public partial struct Distance
192     {
DistanceCairo.Distance193         public Distance(double dx, double dy) { throw null;}
194         public double Dx { get { throw null; } set { } }
195         public double Dy { get { throw null; } set { } }
196     }
197     [System.SerializableAttribute]
198     public enum Extend
199     {
200         None = 0,
201         Pad = 3,
202         Reflect = 2,
203         Repeat = 1,
204     }
205     [System.SerializableAttribute]
206     public enum FillRule
207     {
208         EvenOdd = 1,
209         Winding = 0,
210     }
211     [System.SerializableAttribute]
212     public enum Filter
213     {
214         Best = 2,
215         Bilinear = 4,
216         Fast = 0,
217         Gaussian = 5,
218         Good = 1,
219         Nearest = 3,
220     }
221     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
222     public partial struct FontExtents
223     {
FontExtentsCairo.FontExtents224         public FontExtents(double ascent, double descent, double height, double maxXAdvance, double maxYAdvance) { throw null;}
225         public double Ascent { get { throw null; } set { } }
226         public double Descent { get { throw null; } set { } }
227         public double Height { get { throw null; } set { } }
228         public double MaxXAdvance { get { throw null; } set { } }
229         public double MaxYAdvance { get { throw null; } set { } }
EqualsCairo.FontExtents230         public override bool Equals(object obj) { throw null; }
GetHashCodeCairo.FontExtents231         public override int GetHashCode() { throw null; }
operator ==Cairo.FontExtents232         public static bool operator ==(Cairo.FontExtents extents, Cairo.FontExtents other) { throw null; }
operator !=Cairo.FontExtents233         public static bool operator !=(Cairo.FontExtents extents, Cairo.FontExtents other) { throw null; }
234     }
235     public partial class FontFace : System.IDisposable
236     {
237         [System.ObsoleteAttribute]
FontFace(System.IntPtr handle)238         public FontFace(System.IntPtr handle) { }
FontFace(System.IntPtr handle, bool owned)239         public FontFace(System.IntPtr handle, bool owned) { }
240         public Cairo.FontType FontType { get { throw null; } }
241         public System.IntPtr Handle { get { throw null; } }
242         public uint ReferenceCount { get { throw null; } }
243         public Cairo.Status Status { get { throw null; } }
Dispose()244         public void Dispose() { }
Dispose(bool disposing)245         protected virtual void Dispose(bool disposing) { }
~FontFace()246         ~FontFace() { }
247     }
248     public partial class FontOptions : System.IDisposable
249     {
FontOptions()250         public FontOptions() { }
251         public Cairo.Antialias Antialias { get { throw null; } set { } }
252         public System.IntPtr Handle { get { throw null; } }
253         public Cairo.HintMetrics HintMetrics { get { throw null; } set { } }
254         public Cairo.HintStyle HintStyle { get { throw null; } set { } }
255         public Cairo.Status Status { get { throw null; } }
256         public Cairo.SubpixelOrder SubpixelOrder { get { throw null; } set { } }
Copy()257         public Cairo.FontOptions Copy() { throw null; }
258         [System.ObsoleteAttribute("Use Dispose()")]
Destroy()259         public void Destroy() { }
Dispose()260         public void Dispose() { }
Dispose(bool disposing)261         protected virtual void Dispose(bool disposing) { }
Equals(object other)262         public override bool Equals(object other) { throw null; }
~FontOptions()263         ~FontOptions() { }
GetHashCode()264         public override int GetHashCode() { throw null; }
Merge(Cairo.FontOptions other)265         public void Merge(Cairo.FontOptions other) { }
operator ==(Cairo.FontOptions options, Cairo.FontOptions other)266         public static bool operator ==(Cairo.FontOptions options, Cairo.FontOptions other) { throw null; }
operator !=(Cairo.FontOptions options, Cairo.FontOptions other)267         public static bool operator !=(Cairo.FontOptions options, Cairo.FontOptions other) { throw null; }
268     }
269     [System.SerializableAttribute]
270     public enum FontSlant
271     {
272         Italic = 1,
273         Normal = 0,
274         Oblique = 2,
275     }
276     [System.SerializableAttribute]
277     public enum FontType
278     {
279         Atsui = 3,
280         FreeType = 1,
281         Toy = 0,
282         Win32 = 2,
283     }
284     [System.SerializableAttribute]
285     public enum FontWeight
286     {
287         Bold = 1,
288         Normal = 0,
289     }
290     [System.SerializableAttribute]
291     public enum Format
292     {
293         A1 = 3,
294         A8 = 2,
295         Argb32 = 0,
296         ARGB32 = 0,
297         Rgb16565 = 4,
298         Rgb24 = 1,
299         RGB24 = 1,
300     }
301     public partial class GlitzSurface : Cairo.Surface
302     {
GlitzSurface(System.IntPtr glitz_surface)303         public GlitzSurface(System.IntPtr glitz_surface) { }
304     }
305     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
306     public partial struct Glyph
307     {
GlyphCairo.Glyph308         public Glyph(long index, double x, double y) { throw null;}
309         public long Index { get { throw null; } set { } }
310         public double X { get { throw null; } set { } }
311         public double Y { get { throw null; } set { } }
EqualsCairo.Glyph312         public override bool Equals(object obj) { throw null; }
GetHashCodeCairo.Glyph313         public override int GetHashCode() { throw null; }
operator ==Cairo.Glyph314         public static bool operator ==(Cairo.Glyph glyph, Cairo.Glyph other) { throw null; }
operator !=Cairo.Glyph315         public static bool operator !=(Cairo.Glyph glyph, Cairo.Glyph other) { throw null; }
316     }
317     public partial class Gradient : Cairo.Pattern
318     {
319         [System.ObsoleteAttribute]
Gradient()320         protected Gradient() { }
Gradient(System.IntPtr handle, bool owned)321         protected Gradient(System.IntPtr handle, bool owned) { }
322         public int ColorStopCount { get { throw null; } }
AddColorStop(double offset, Cairo.Color c)323         public Cairo.Status AddColorStop(double offset, Cairo.Color c) { throw null; }
AddColorStopRgb(double offset, Cairo.Color c)324         public Cairo.Status AddColorStopRgb(double offset, Cairo.Color c) { throw null; }
325     }
326     [System.ObsoleteAttribute("Renamed Cairo.Context per suggestion from cairo binding guidelines.")]
327     public partial class Graphics : Cairo.Context
328     {
Graphics(Cairo.Surface surface)329         public Graphics(Cairo.Surface surface) : base (default(Cairo.Surface)) { }
Graphics(System.IntPtr state)330         public Graphics(System.IntPtr state) : base (default(Cairo.Surface)) { }
331     }
332     [System.SerializableAttribute]
333     public enum HintMetrics
334     {
335         Default = 0,
336         Off = 1,
337         On = 2,
338     }
339     [System.SerializableAttribute]
340     public enum HintStyle
341     {
342         Default = 0,
343         Full = 4,
344         Medium = 3,
345         None = 1,
346         Slight = 2,
347     }
348     public partial class ImageSurface : Cairo.Surface
349     {
ImageSurface(Cairo.Format format, int width, int height)350         public ImageSurface(Cairo.Format format, int width, int height) { }
ImageSurface(byte[] data, Cairo.Format format, int width, int height, int stride)351         public ImageSurface(byte[] data, Cairo.Format format, int width, int height, int stride) { }
352         [System.ObsoleteAttribute("Use ImageSurface (byte[] data, Cairo.Format format, int width, int height, int stride)")]
ImageSurface(ref byte[] data, Cairo.Format format, int width, int height, int stride)353         public ImageSurface(ref byte[] data, Cairo.Format format, int width, int height, int stride) { }
ImageSurface(System.IntPtr data, Cairo.Format format, int width, int height, int stride)354         public ImageSurface(System.IntPtr data, Cairo.Format format, int width, int height, int stride) { }
ImageSurface(string filename)355         public ImageSurface(string filename) { }
356         public byte[] Data { get { throw null; } }
357         public System.IntPtr DataPtr { get { throw null; } }
358         public Cairo.Format Format { get { throw null; } }
359         public int Height { get { throw null; } }
360         public int Stride { get { throw null; } }
361         public int Width { get { throw null; } }
362     }
363     public partial class LinearGradient : Cairo.Gradient
364     {
LinearGradient(double x0, double y0, double x1, double y1)365         public LinearGradient(double x0, double y0, double x1, double y1) { }
366         public Cairo.PointD[] LinearPoints { get { throw null; } }
367     }
368     [System.SerializableAttribute]
369     public enum LineCap
370     {
371         Butt = 0,
372         Round = 1,
373         Square = 2,
374     }
375     [System.SerializableAttribute]
376     public enum LineJoin
377     {
378         Bevel = 2,
379         Miter = 0,
380         Round = 1,
381     }
382     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
383     public partial class Matrix : System.ICloneable
384     {
385         public double X0;
386         public double Xx;
387         public double Xy;
388         public double Y0;
389         public double Yx;
390         public double Yy;
Matrix()391         public Matrix() { }
Matrix(double xx, double yx, double xy, double yy, double x0, double y0)392         public Matrix(double xx, double yx, double xy, double yy, double x0, double y0) { }
Clone()393         public object Clone() { throw null; }
Equals(object o)394         public override bool Equals(object o) { throw null; }
GetHashCode()395         public override int GetHashCode() { throw null; }
Init(double xx, double yx, double xy, double yy, double x0, double y0)396         public void Init(double xx, double yx, double xy, double yy, double x0, double y0) { }
InitIdentity()397         public void InitIdentity() { }
InitRotate(double radians)398         public void InitRotate(double radians) { }
InitScale(double sx, double sy)399         public void InitScale(double sx, double sy) { }
InitTranslate(double tx, double ty)400         public void InitTranslate(double tx, double ty) { }
Invert()401         public Cairo.Status Invert() { throw null; }
IsIdentity()402         public bool IsIdentity() { throw null; }
Multiply(Cairo.Matrix b)403         public void Multiply(Cairo.Matrix b) { }
Multiply(Cairo.Matrix a, Cairo.Matrix b)404         public static Cairo.Matrix Multiply(Cairo.Matrix a, Cairo.Matrix b) { throw null; }
operator ==(Cairo.Matrix lhs, Cairo.Matrix rhs)405         public static bool operator ==(Cairo.Matrix lhs, Cairo.Matrix rhs) { throw null; }
operator !=(Cairo.Matrix lhs, Cairo.Matrix rhs)406         public static bool operator !=(Cairo.Matrix lhs, Cairo.Matrix rhs) { throw null; }
Rotate(double radians)407         public void Rotate(double radians) { }
Scale(double sx, double sy)408         public void Scale(double sx, double sy) { }
ToString()409         public override string ToString() { throw null; }
TransformDistance(ref double dx, ref double dy)410         public void TransformDistance(ref double dx, ref double dy) { }
TransformPoint(ref double x, ref double y)411         public void TransformPoint(ref double x, ref double y) { }
Translate(double tx, double ty)412         public void Translate(double tx, double ty) { }
413     }
414     [System.SerializableAttribute]
415     public enum Operator
416     {
417         Add = 12,
418         Atop = 5,
419         Clear = 0,
420         Dest = 6,
421         DestAtop = 10,
422         DestIn = 8,
423         DestOut = 9,
424         DestOver = 7,
425         In = 3,
426         Out = 4,
427         Over = 2,
428         Saturate = 13,
429         Source = 1,
430         Xor = 11,
431     }
432     public partial class Path : System.IDisposable
433     {
Path()434         internal Path() { }
435         public System.IntPtr Handle { get { throw null; } }
Dispose()436         public void Dispose() { }
Dispose(bool disposing)437         protected virtual void Dispose(bool disposing) { }
~Path()438         ~Path() { }
439     }
440     public partial class Pattern : System.IDisposable
441     {
442         [System.ObsoleteAttribute]
443         protected System.IntPtr pattern;
444         [System.ObsoleteAttribute]
Pattern()445         protected Pattern() { }
446         [System.ObsoleteAttribute("Use the SurfacePattern constructor")]
Pattern(Cairo.Surface surface)447         public Pattern(Cairo.Surface surface) { }
448         public Cairo.Extend Extend { get { throw null; } set { } }
449         public System.IntPtr Handle { get { throw null; } }
450         public Cairo.Matrix Matrix { get { throw null; } set { } }
451         public Cairo.PatternType PatternType { get { throw null; } }
452         [System.ObsoleteAttribute]
453         public System.IntPtr Pointer { get { throw null; } }
454         public Cairo.Status Status { get { throw null; } }
455         [System.ObsoleteAttribute("Use Dispose()")]
Destroy()456         public void Destroy() { }
Dispose()457         public void Dispose() { }
Dispose(bool disposing)458         protected virtual void Dispose(bool disposing) { }
~Pattern()459         ~Pattern() { }
Lookup(System.IntPtr pattern, bool owner)460         public static Cairo.Pattern Lookup(System.IntPtr pattern, bool owner) { throw null; }
461         [System.ObsoleteAttribute]
Reference()462         protected void Reference() { }
463     }
464     [System.SerializableAttribute]
465     public enum PatternType
466     {
467         Linear = 2,
468         Radial = 3,
469         Solid = 0,
470         Surface = 1,
471     }
472     public partial class PdfSurface : Cairo.Surface
473     {
PdfSurface(string filename, double width, double height)474         public PdfSurface(string filename, double width, double height) { }
SetSize(double width, double height)475         public void SetSize(double width, double height) { }
476     }
477     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
478     public partial struct Point
479     {
PointCairo.Point480         public Point(int x, int y) { throw null;}
481         public int X { get { throw null; } set { } }
482         public int Y { get { throw null; } set { } }
483     }
484     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
485     public partial struct PointD
486     {
PointDCairo.PointD487         public PointD(double x, double y) { throw null;}
488         public double X { get { throw null; } set { } }
489         public double Y { get { throw null; } set { } }
490     }
491     public partial class PSSurface : Cairo.Surface
492     {
PSSurface(string filename, double width, double height)493         public PSSurface(string filename, double width, double height) { }
BeginPageSetup()494         public void BeginPageSetup() { }
BeginSetup()495         public void BeginSetup() { }
DscComment(string comment)496         public void DscComment(string comment) { }
SetSize(double width, double height)497         public void SetSize(double width, double height) { }
498     }
499     public partial class RadialGradient : Cairo.Gradient
500     {
RadialGradient(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1)501         public RadialGradient(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) { }
502     }
503     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
504     public partial struct Rectangle
505     {
RectangleCairo.Rectangle506         public Rectangle(Cairo.Point point, double width, double height) { throw null;}
RectangleCairo.Rectangle507         public Rectangle(double x, double y, double width, double height) { throw null;}
508         public double Height { get { throw null; } }
509         public double Width { get { throw null; } }
510         public double X { get { throw null; } }
511         public double Y { get { throw null; } }
EqualsCairo.Rectangle512         public override bool Equals(object obj) { throw null; }
GetHashCodeCairo.Rectangle513         public override int GetHashCode() { throw null; }
operator ==Cairo.Rectangle514         public static bool operator ==(Cairo.Rectangle rectangle, Cairo.Rectangle other) { throw null; }
operator !=Cairo.Rectangle515         public static bool operator !=(Cairo.Rectangle rectangle, Cairo.Rectangle other) { throw null; }
ToStringCairo.Rectangle516         public override string ToString() { throw null; }
517     }
518     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
519     public partial struct RectangleInt
520     {
521         public int Height;
522         public int Width;
523         public int X;
524         public int Y;
525     }
526     public partial class Region : System.IDisposable
527     {
Region()528         public Region() { }
Region(Cairo.RectangleInt rect)529         public Region(Cairo.RectangleInt rect) { }
Region(Cairo.RectangleInt[] rects)530         public Region(Cairo.RectangleInt[] rects) { }
531         [System.ObsoleteAttribute]
Region(System.IntPtr handle)532         public Region(System.IntPtr handle) { }
Region(System.IntPtr handle, bool owned)533         public Region(System.IntPtr handle, bool owned) { }
534         public Cairo.RectangleInt Extents { get { throw null; } }
535         public System.IntPtr Handle { get { throw null; } }
536         public bool IsEmpty { get { throw null; } }
537         public int NumRectangles { get { throw null; } }
538         public Cairo.Status Status { get { throw null; } }
ContainsPoint(Cairo.RectangleInt rectangle)539         public Cairo.RegionOverlap ContainsPoint(Cairo.RectangleInt rectangle) { throw null; }
ContainsPoint(int x, int y)540         public bool ContainsPoint(int x, int y) { throw null; }
Copy()541         public Cairo.Region Copy() { throw null; }
Dispose()542         public void Dispose() { }
Dispose(bool disposing)543         protected virtual void Dispose(bool disposing) { }
Equals(object obj)544         public override bool Equals(object obj) { throw null; }
~Region()545         ~Region() { }
GetHashCode()546         public override int GetHashCode() { throw null; }
GetRectangle(int nth)547         public Cairo.RectangleInt GetRectangle(int nth) { throw null; }
Intersect(Cairo.Region other)548         public Cairo.Status Intersect(Cairo.Region other) { throw null; }
IntersectRectangle(Cairo.RectangleInt rectangle)549         public Cairo.Status IntersectRectangle(Cairo.RectangleInt rectangle) { throw null; }
Subtract(Cairo.Region other)550         public Cairo.Status Subtract(Cairo.Region other) { throw null; }
SubtractRectangle(Cairo.RectangleInt rectangle)551         public Cairo.Status SubtractRectangle(Cairo.RectangleInt rectangle) { throw null; }
Translate(int dx, int dy)552         public void Translate(int dx, int dy) { }
Union(Cairo.Region other)553         public Cairo.Status Union(Cairo.Region other) { throw null; }
UnionRectangle(Cairo.RectangleInt rectangle)554         public Cairo.Status UnionRectangle(Cairo.RectangleInt rectangle) { throw null; }
Xor(Cairo.Region other)555         public Cairo.Status Xor(Cairo.Region other) { throw null; }
XorRectangle(Cairo.RectangleInt rectangle)556         public Cairo.Status XorRectangle(Cairo.RectangleInt rectangle) { throw null; }
557     }
558     public enum RegionOverlap
559     {
560         In = 0,
561         Out = 1,
562         Part = 2,
563     }
564     public partial class ScaledFont : System.IDisposable
565     {
566         protected System.IntPtr handle;
ScaledFont(Cairo.FontFace fontFace, Cairo.Matrix matrix, Cairo.Matrix ctm, Cairo.FontOptions options)567         public ScaledFont(Cairo.FontFace fontFace, Cairo.Matrix matrix, Cairo.Matrix ctm, Cairo.FontOptions options) { }
568         public Cairo.FontExtents FontExtents { get { throw null; } }
569         public Cairo.Matrix FontMatrix { get { throw null; } }
570         public Cairo.FontType FontType { get { throw null; } }
571         public System.IntPtr Handle { get { throw null; } }
572         public Cairo.Status Status { get { throw null; } }
Dispose()573         public void Dispose() { }
Dispose(bool disposing)574         protected virtual void Dispose(bool disposing) { }
~ScaledFont()575         ~ScaledFont() { }
GlyphExtents(Cairo.Glyph[] glyphs)576         public Cairo.TextExtents GlyphExtents(Cairo.Glyph[] glyphs) { throw null; }
577         [System.ObsoleteAttribute]
Reference()578         protected void Reference() { }
579     }
580     public partial class SolidPattern : Cairo.Pattern
581     {
SolidPattern(Cairo.Color color)582         public SolidPattern(Cairo.Color color) { }
SolidPattern(Cairo.Color color, bool solid)583         public SolidPattern(Cairo.Color color, bool solid) { }
SolidPattern(double r, double g, double b)584         public SolidPattern(double r, double g, double b) { }
SolidPattern(double r, double g, double b, double a)585         public SolidPattern(double r, double g, double b, double a) { }
586         public Cairo.Color Color { get { throw null; } }
587     }
588     [System.SerializableAttribute]
589     public enum Status
590     {
591         ClipNotRepresentable = 22,
592         FileNotFound = 18,
593         InvalidContent = 15,
594         InvalidDash = 19,
595         InvalidDscComment = 20,
596         InvalidFormat = 16,
597         InvalidIndex = 21,
598         InvalidMatrix = 5,
599         InvalidPathData = 9,
600         InvalidPopGroup = 3,
601         InvalidRestore = 2,
602         InvalidStatus = 6,
603         InvalidString = 8,
604         InvalidVisual = 17,
605         NoCurrentPoint = 4,
606         NoMemory = 1,
607         NullPointer = 7,
608         PatternTypeMismatch = 14,
609         ReadError = 10,
610         Success = 0,
611         SurfaceFinished = 12,
612         SurfaceTypeMismatch = 13,
613         WriteError = 11,
614     }
615     [System.SerializableAttribute]
616     public enum SubpixelOrder
617     {
618         Bgr = 2,
619         Default = 0,
620         Rgb = 1,
621         Vbgr = 4,
622         Vrgb = 3,
623     }
624     public partial class Surface : System.IDisposable
625     {
626         [System.ObsoleteAttribute]
627         protected static System.Collections.Hashtable surfaces;
628         [System.ObsoleteAttribute]
Surface()629         protected Surface() { }
630         [System.ObsoleteAttribute]
Surface(System.IntPtr ptr)631         protected Surface(System.IntPtr ptr) { }
Surface(System.IntPtr handle, bool owner)632         protected Surface(System.IntPtr handle, bool owner) { }
633         public Cairo.Content Content { get { throw null; } }
634         public Cairo.PointD DeviceOffset { get { throw null; } set { } }
635         public System.IntPtr Handle { get { throw null; } }
636         [System.ObsoleteAttribute("Use Handle instead.")]
637         public System.IntPtr Pointer { get { throw null; } }
638         public uint ReferenceCount { get { throw null; } }
639         public Cairo.Status Status { get { throw null; } }
640         public Cairo.SurfaceType SurfaceType { get { throw null; } }
641         [System.ObsoleteAttribute("Use an ImageSurface constructor instead.")]
CreateForImage(Cairo.Format format, int width, int height)642         public static Cairo.Surface CreateForImage(Cairo.Format format, int width, int height) { throw null; }
643         [System.ObsoleteAttribute("Use an ImageSurface constructor instead.")]
CreateForImage(ref byte[] data, Cairo.Format format, int width, int height, int stride)644         public static Cairo.Surface CreateForImage(ref byte[] data, Cairo.Format format, int width, int height, int stride) { throw null; }
CreateSimilar(Cairo.Content content, int width, int height)645         public Cairo.Surface CreateSimilar(Cairo.Content content, int width, int height) { throw null; }
646         [System.ObsoleteAttribute("Use Dispose()")]
Destroy()647         public void Destroy() { }
Dispose()648         public void Dispose() { }
Dispose(bool disposing)649         protected virtual void Dispose(bool disposing) { }
~Surface()650         ~Surface() { }
Finish()651         public Cairo.Status Finish() { throw null; }
Flush()652         public void Flush() { }
Lookup(System.IntPtr surface, bool owned)653         public static Cairo.Surface Lookup(System.IntPtr surface, bool owned) { throw null; }
MarkDirty()654         public void MarkDirty() { }
MarkDirty(Cairo.Rectangle rectangle)655         public void MarkDirty(Cairo.Rectangle rectangle) { }
SetFallbackResolution(double x, double y)656         public void SetFallbackResolution(double x, double y) { }
Show(Cairo.Context gr, double x, double y)657         public void Show(Cairo.Context gr, double x, double y) { }
WriteToPng(string filename)658         public void WriteToPng(string filename) { }
659     }
660     public partial class SurfacePattern : Cairo.Pattern
661     {
SurfacePattern(Cairo.Surface surface)662         public SurfacePattern(Cairo.Surface surface) { }
663         public new Cairo.Extend Extend { get { throw null; } set { } }
664         public Cairo.Filter Filter { get { throw null; } set { } }
665     }
666     [System.SerializableAttribute]
667     public enum SurfaceType
668     {
669         BeOS = 8,
670         DirectFB = 9,
671         Glitz = 5,
672         Image = 0,
673         Pdf = 1,
674         PS = 2,
675         Quartz = 6,
676         Svg = 10,
677         Win32 = 7,
678         Xcb = 4,
679         Xlib = 3,
680     }
681     public partial class SvgSurface : Cairo.Surface
682     {
SvgSurface(string filename, double width, double height)683         public SvgSurface(string filename, double width, double height) { }
RestrictToVersion(Cairo.SvgVersion version)684         public void RestrictToVersion(Cairo.SvgVersion version) { }
685     }
686     [System.SerializableAttribute]
687     public enum SvgVersion
688     {
689         OnePointOne = 0,
690         OnePointTwo = 1,
691     }
692     [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
693     public partial struct TextExtents
694     {
695         public double Height { get { throw null; } set { } }
696         public double Width { get { throw null; } set { } }
697         public double XAdvance { get { throw null; } set { } }
698         public double XBearing { get { throw null; } set { } }
699         public double YAdvance { get { throw null; } set { } }
700         public double YBearing { get { throw null; } set { } }
EqualsCairo.TextExtents701         public override bool Equals(object obj) { throw null; }
GetHashCodeCairo.TextExtents702         public override int GetHashCode() { throw null; }
operator ==Cairo.TextExtents703         public static bool operator ==(Cairo.TextExtents extents, Cairo.TextExtents other) { throw null; }
operator !=Cairo.TextExtents704         public static bool operator !=(Cairo.TextExtents extents, Cairo.TextExtents other) { throw null; }
705     }
706     public partial class Win32Surface : Cairo.Surface
707     {
Win32Surface(System.IntPtr hdc)708         public Win32Surface(System.IntPtr hdc) { }
709     }
710     public partial class XcbSurface : Cairo.Surface
711     {
XcbSurface(System.IntPtr connection, uint drawable, System.IntPtr visual, int width, int height)712         public XcbSurface(System.IntPtr connection, uint drawable, System.IntPtr visual, int width, int height) { }
FromBitmap(System.IntPtr connection, uint bitmap, System.IntPtr screen, int width, int height)713         public static Cairo.XcbSurface FromBitmap(System.IntPtr connection, uint bitmap, System.IntPtr screen, int width, int height) { throw null; }
SetSize(int width, int height)714         public void SetSize(int width, int height) { }
715     }
716     public partial class XlibSurface : Cairo.Surface
717     {
XlibSurface(System.IntPtr ptr, bool own)718         public XlibSurface(System.IntPtr ptr, bool own) { }
XlibSurface(System.IntPtr display, System.IntPtr drawable, System.IntPtr visual, int width, int height)719         public XlibSurface(System.IntPtr display, System.IntPtr drawable, System.IntPtr visual, int width, int height) { }
720         public int Depth { get { throw null; } }
721         public System.IntPtr Display { get { throw null; } }
722         public System.IntPtr Drawable { get { throw null; } }
723         public int Height { get { throw null; } }
724         public System.IntPtr Screen { get { throw null; } }
725         public System.IntPtr Visual { get { throw null; } }
726         public int Width { get { throw null; } }
FromBitmap(System.IntPtr display, System.IntPtr bitmap, System.IntPtr screen, int width, int height)727         public static Cairo.XlibSurface FromBitmap(System.IntPtr display, System.IntPtr bitmap, System.IntPtr screen, int width, int height) { throw null; }
SetDrawable(System.IntPtr drawable, int width, int height)728         public void SetDrawable(System.IntPtr drawable, int width, int height) { }
SetSize(int width, int height)729         public void SetSize(int width, int height) { }
730     }
731 }
732