Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Mono.Cairo.cs « v4.7 « src - github.com/mono/reference-assemblies.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: fdb3d9ee0b0625b2c711c5265fa7f98016b6ea24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

[assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")]
[assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))]
[assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)]
[assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute]
[assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)]
namespace Cairo
{
    [System.SerializableAttribute]
    public enum Antialias
    {
        Default = 0,
        Gray = 2,
        None = 1,
        Subpixel = 3,
    }
    public static partial class CairoAPI
    {
        public static int Version { get { throw null; } }
        public static string VersionString { get { throw null; } }
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct Color
    {
        public Color(double r, double g, double b) { throw null;}
        public Color(double r, double g, double b, double a) { throw null;}
        public double A { get { throw null; } set { } }
        public double B { get { throw null; } set { } }
        public double G { get { throw null; } set { } }
        public double R { get { throw null; } set { } }
    }
    [System.SerializableAttribute]
    public enum Content
    {
        Alpha = 8192,
        Color = 4096,
        ColorAlpha = 12288,
    }
    public partial class Context : System.IDisposable
    {
        public Context(Cairo.Surface surface) { }
        [System.ObsoleteAttribute]
        public Context(System.IntPtr state) { }
        public Context(System.IntPtr handle, bool owner) { }
        public Cairo.Antialias Antialias { get { throw null; } set { } }
        [System.ObsoleteAttribute("Use SetSourceColor method")]
        public Cairo.Color Color { set { } }
        [System.ObsoleteAttribute("Use SetSourceRGBA method")]
        public Cairo.Color ColorRgb { set { } }
        [System.ObsoleteAttribute("Use GetFontFace/SetFontFace")]
        public Cairo.FontFace ContextFontFace { get { throw null; } set { } }
        public Cairo.PointD CurrentPoint { get { throw null; } }
        public Cairo.FillRule FillRule { get { throw null; } set { } }
        public Cairo.FontExtents FontExtents { get { throw null; } }
        public Cairo.Matrix FontMatrix { get { throw null; } set { } }
        public Cairo.FontOptions FontOptions { get { throw null; } set { } }
        [System.ObsoleteAttribute("Use SetFontSize() instead.")]
        public double FontSize { set { } }
        [System.ObsoleteAttribute("Use GetGroupTarget()")]
        public Cairo.Surface GroupTarget { get { throw null; } }
        public System.IntPtr Handle { get { throw null; } }
        public bool HasCurrentPoint { get { throw null; } }
        public Cairo.LineCap LineCap { get { throw null; } set { } }
        public Cairo.LineJoin LineJoin { get { throw null; } set { } }
        public double LineWidth { get { throw null; } set { } }
        public Cairo.Matrix Matrix { get { throw null; } set { } }
        public double MiterLimit { get { throw null; } set { } }
        public Cairo.Operator Operator { get { throw null; } set { } }
        [System.ObsoleteAttribute("Use GetSource/SetSource")]
        public Cairo.Pattern Pattern { get { throw null; } set { } }
        public uint ReferenceCount { get { throw null; } }
        [System.ObsoleteAttribute("Use GetScaledFont/SetScaledFont")]
        public Cairo.ScaledFont ScaledFont { get { throw null; } set { } }
        [System.ObsoleteAttribute("Use GetSource/SetSource")]
        public Cairo.Pattern Source { get { throw null; } set { } }
        public Cairo.Status Status { get { throw null; } }
        [System.ObsoleteAttribute("Use GetTarget/SetTarget")]
        public Cairo.Surface Target { get { throw null; } set { } }
        public double Tolerance { get { throw null; } set { } }
        public void AppendPath(Cairo.Path path) { }
        public void Arc(double xc, double yc, double radius, double angle1, double angle2) { }
        public void ArcNegative(double xc, double yc, double radius, double angle1, double angle2) { }
        public void Clip() { }
        public void ClipPreserve() { }
        public void ClosePath() { }
        public void CopyPage() { }
        public Cairo.Path CopyPath() { throw null; }
        public Cairo.Path CopyPathFlat() { throw null; }
        public void CurveTo(Cairo.PointD p1, Cairo.PointD p2, Cairo.PointD p3) { }
        public void CurveTo(double x1, double y1, double x2, double y2, double x3, double y3) { }
        public void DeviceToUser(ref double x, ref double y) { }
        public void DeviceToUserDistance(ref double dx, ref double dy) { }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        public void Fill() { }
        public Cairo.Rectangle FillExtents() { throw null; }
        public void FillPreserve() { }
        ~Context() { }
        [System.ObsoleteAttribute("Use SelectFontFace() instead.")]
        public void FontFace(string family, Cairo.FontSlant slant, Cairo.FontWeight weight) { }
        [System.ObsoleteAttribute("Use SetFontSize() instead.")]
        public void FontSetSize(double scale) { }
        public Cairo.FontFace GetContextFontFace() { throw null; }
        public Cairo.Surface GetGroupTarget() { throw null; }
        public Cairo.ScaledFont GetScaledFont() { throw null; }
        public Cairo.Pattern GetSource() { throw null; }
        public Cairo.Surface GetTarget() { throw null; }
        public Cairo.TextExtents GlyphExtents(Cairo.Glyph[] glyphs) { throw null; }
        public void GlyphPath(Cairo.Glyph[] glyphs) { }
        [System.ObsoleteAttribute("The matrix argument was never used, use GlyphPath(Glyphs []) instead")]
        public void GlyphPath(Cairo.Matrix matrix, Cairo.Glyph[] glyphs) { }
        public void IdentityMatrix() { }
        public bool InClip(double x, double y) { throw null; }
        public bool InFill(double x, double y) { throw null; }
        public bool InStroke(double x, double y) { throw null; }
        [System.ObsoleteAttribute("Use DeviceToUserDistance instead")]
        public void InverseTransformDistance(ref double dx, ref double dy) { }
        [System.ObsoleteAttribute("Use InverseTransformPoint instead")]
        public void InverseTransformPoint(ref double x, ref double y) { }
        public void LineTo(Cairo.PointD p) { }
        public void LineTo(double x, double y) { }
        public void Mask(Cairo.Pattern pattern) { }
        public void MaskSurface(Cairo.Surface surface, double surface_x, double surface_y) { }
        public void MoveTo(Cairo.PointD p) { }
        public void MoveTo(double x, double y) { }
        public void NewPath() { }
        public void NewSubPath() { }
        public void Paint() { }
        public void PaintWithAlpha(double alpha) { }
        public Cairo.Pattern PopGroup() { throw null; }
        public void PopGroupToSource() { }
        public void PushGroup() { }
        public void PushGroup(Cairo.Content content) { }
        public void Rectangle(Cairo.PointD p, double width, double height) { }
        public void Rectangle(Cairo.Rectangle rectangle) { }
        public void Rectangle(double x, double y, double width, double height) { }
        public void RelCurveTo(Cairo.Distance d1, Cairo.Distance d2, Cairo.Distance d3) { }
        public void RelCurveTo(double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) { }
        public void RelLineTo(Cairo.Distance d) { }
        public void RelLineTo(double dx, double dy) { }
        public void RelMoveTo(Cairo.Distance d) { }
        public void RelMoveTo(double dx, double dy) { }
        public void ResetClip() { }
        public void Restore() { }
        public void Rotate(double angle) { }
        public void Save() { }
        public void Scale(double sx, double sy) { }
        public void SelectFontFace(string family, Cairo.FontSlant slant, Cairo.FontWeight weight) { }
        public void SetContextFontFace(Cairo.FontFace value) { }
        public void SetDash(double[] dashes, double offset) { }
        public void SetFontSize(double scale) { }
        public void SetScaledFont(Cairo.ScaledFont font) { }
        public void SetSource(Cairo.Pattern source) { }
        public void SetSource(Cairo.Surface source) { }
        public void SetSource(Cairo.Surface source, double x, double y) { }
        public void SetSourceColor(Cairo.Color color) { }
        public void SetSourceRGB(double r, double g, double b) { }
        public void SetSourceRGBA(double r, double g, double b, double a) { }
        public void SetSourceSurface(Cairo.Surface source, int x, int y) { }
        public void SetTarget(Cairo.Surface target) { }
        public void ShowGlyphs(Cairo.Glyph[] glyphs) { }
        [System.ObsoleteAttribute("The matrix argument was never used, use ShowGlyphs(Glyphs []) instead")]
        public void ShowGlyphs(Cairo.Matrix matrix, Cairo.Glyph[] glyphs) { }
        public void ShowPage() { }
        public void ShowText(byte[] utf8) { }
        public void ShowText(string str) { }
        public void Stroke() { }
        public Cairo.Rectangle StrokeExtents() { throw null; }
        public void StrokePreserve() { }
        public Cairo.TextExtents TextExtents(byte[] utf8) { throw null; }
        public Cairo.TextExtents TextExtents(string s) { throw null; }
        public void TextPath(byte[] utf8) { }
        public void TextPath(string str) { }
        public void Transform(Cairo.Matrix m) { }
        [System.ObsoleteAttribute("Use UserToDeviceDistance instead")]
        public void TransformDistance(ref double dx, ref double dy) { }
        [System.ObsoleteAttribute("Use UserToDevice instead")]
        public void TransformPoint(ref double x, ref double y) { }
        public void Translate(double tx, double ty) { }
        public void UserToDevice(ref double x, ref double y) { }
        public void UserToDeviceDistance(ref double dx, ref double dy) { }
    }
    public partial class DirectFBSurface : Cairo.Surface
    {
        public DirectFBSurface(System.IntPtr dfb, System.IntPtr dfb_surface) { }
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct Distance
    {
        public Distance(double dx, double dy) { throw null;}
        public double Dx { get { throw null; } set { } }
        public double Dy { get { throw null; } set { } }
    }
    [System.SerializableAttribute]
    public enum Extend
    {
        None = 0,
        Pad = 3,
        Reflect = 2,
        Repeat = 1,
    }
    [System.SerializableAttribute]
    public enum FillRule
    {
        EvenOdd = 1,
        Winding = 0,
    }
    [System.SerializableAttribute]
    public enum Filter
    {
        Best = 2,
        Bilinear = 4,
        Fast = 0,
        Gaussian = 5,
        Good = 1,
        Nearest = 3,
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct FontExtents
    {
        public FontExtents(double ascent, double descent, double height, double maxXAdvance, double maxYAdvance) { throw null;}
        public double Ascent { get { throw null; } set { } }
        public double Descent { get { throw null; } set { } }
        public double Height { get { throw null; } set { } }
        public double MaxXAdvance { get { throw null; } set { } }
        public double MaxYAdvance { get { throw null; } set { } }
        public override bool Equals(object obj) { throw null; }
        public override int GetHashCode() { throw null; }
        public static bool operator ==(Cairo.FontExtents extents, Cairo.FontExtents other) { throw null; }
        public static bool operator !=(Cairo.FontExtents extents, Cairo.FontExtents other) { throw null; }
    }
    public partial class FontFace : System.IDisposable
    {
        [System.ObsoleteAttribute]
        public FontFace(System.IntPtr handle) { }
        public FontFace(System.IntPtr handle, bool owned) { }
        public Cairo.FontType FontType { get { throw null; } }
        public System.IntPtr Handle { get { throw null; } }
        public uint ReferenceCount { get { throw null; } }
        public Cairo.Status Status { get { throw null; } }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        ~FontFace() { }
    }
    public partial class FontOptions : System.IDisposable
    {
        public FontOptions() { }
        public Cairo.Antialias Antialias { get { throw null; } set { } }
        public System.IntPtr Handle { get { throw null; } }
        public Cairo.HintMetrics HintMetrics { get { throw null; } set { } }
        public Cairo.HintStyle HintStyle { get { throw null; } set { } }
        public Cairo.Status Status { get { throw null; } }
        public Cairo.SubpixelOrder SubpixelOrder { get { throw null; } set { } }
        public Cairo.FontOptions Copy() { throw null; }
        [System.ObsoleteAttribute("Use Dispose()")]
        public void Destroy() { }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        public override bool Equals(object other) { throw null; }
        ~FontOptions() { }
        public override int GetHashCode() { throw null; }
        public void Merge(Cairo.FontOptions other) { }
        public static bool operator ==(Cairo.FontOptions options, Cairo.FontOptions other) { throw null; }
        public static bool operator !=(Cairo.FontOptions options, Cairo.FontOptions other) { throw null; }
    }
    [System.SerializableAttribute]
    public enum FontSlant
    {
        Italic = 1,
        Normal = 0,
        Oblique = 2,
    }
    [System.SerializableAttribute]
    public enum FontType
    {
        Atsui = 3,
        FreeType = 1,
        Toy = 0,
        Win32 = 2,
    }
    [System.SerializableAttribute]
    public enum FontWeight
    {
        Bold = 1,
        Normal = 0,
    }
    [System.SerializableAttribute]
    public enum Format
    {
        A1 = 3,
        A8 = 2,
        Argb32 = 0,
        ARGB32 = 0,
        Rgb16565 = 4,
        Rgb24 = 1,
        RGB24 = 1,
    }
    public partial class GlitzSurface : Cairo.Surface
    {
        public GlitzSurface(System.IntPtr glitz_surface) { }
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct Glyph
    {
        public Glyph(long index, double x, double y) { throw null;}
        public long Index { get { throw null; } set { } }
        public double X { get { throw null; } set { } }
        public double Y { get { throw null; } set { } }
        public override bool Equals(object obj) { throw null; }
        public override int GetHashCode() { throw null; }
        public static bool operator ==(Cairo.Glyph glyph, Cairo.Glyph other) { throw null; }
        public static bool operator !=(Cairo.Glyph glyph, Cairo.Glyph other) { throw null; }
    }
    public partial class Gradient : Cairo.Pattern
    {
        [System.ObsoleteAttribute]
        protected Gradient() { }
        protected Gradient(System.IntPtr handle, bool owned) { }
        public int ColorStopCount { get { throw null; } }
        public Cairo.Status AddColorStop(double offset, Cairo.Color c) { throw null; }
        public Cairo.Status AddColorStopRgb(double offset, Cairo.Color c) { throw null; }
    }
    [System.ObsoleteAttribute("Renamed Cairo.Context per suggestion from cairo binding guidelines.")]
    public partial class Graphics : Cairo.Context
    {
        public Graphics(Cairo.Surface surface) : base (default(Cairo.Surface)) { }
        public Graphics(System.IntPtr state) : base (default(Cairo.Surface)) { }
    }
    [System.SerializableAttribute]
    public enum HintMetrics
    {
        Default = 0,
        Off = 1,
        On = 2,
    }
    [System.SerializableAttribute]
    public enum HintStyle
    {
        Default = 0,
        Full = 4,
        Medium = 3,
        None = 1,
        Slight = 2,
    }
    public partial class ImageSurface : Cairo.Surface
    {
        public ImageSurface(Cairo.Format format, int width, int height) { }
        public ImageSurface(byte[] data, Cairo.Format format, int width, int height, int stride) { }
        [System.ObsoleteAttribute("Use ImageSurface (byte[] data, Cairo.Format format, int width, int height, int stride)")]
        public ImageSurface(ref byte[] data, Cairo.Format format, int width, int height, int stride) { }
        public ImageSurface(System.IntPtr data, Cairo.Format format, int width, int height, int stride) { }
        public ImageSurface(string filename) { }
        public byte[] Data { get { throw null; } }
        public System.IntPtr DataPtr { get { throw null; } }
        public Cairo.Format Format { get { throw null; } }
        public int Height { get { throw null; } }
        public int Stride { get { throw null; } }
        public int Width { get { throw null; } }
    }
    public partial class LinearGradient : Cairo.Gradient
    {
        public LinearGradient(double x0, double y0, double x1, double y1) { }
        public Cairo.PointD[] LinearPoints { get { throw null; } }
    }
    [System.SerializableAttribute]
    public enum LineCap
    {
        Butt = 0,
        Round = 1,
        Square = 2,
    }
    [System.SerializableAttribute]
    public enum LineJoin
    {
        Bevel = 2,
        Miter = 0,
        Round = 1,
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial class Matrix : System.ICloneable
    {
        public double X0;
        public double Xx;
        public double Xy;
        public double Y0;
        public double Yx;
        public double Yy;
        public Matrix() { }
        public Matrix(double xx, double yx, double xy, double yy, double x0, double y0) { }
        public object Clone() { throw null; }
        public override bool Equals(object o) { throw null; }
        public override int GetHashCode() { throw null; }
        public void Init(double xx, double yx, double xy, double yy, double x0, double y0) { }
        public void InitIdentity() { }
        public void InitRotate(double radians) { }
        public void InitScale(double sx, double sy) { }
        public void InitTranslate(double tx, double ty) { }
        public Cairo.Status Invert() { throw null; }
        public bool IsIdentity() { throw null; }
        public void Multiply(Cairo.Matrix b) { }
        public static Cairo.Matrix Multiply(Cairo.Matrix a, Cairo.Matrix b) { throw null; }
        public static bool operator ==(Cairo.Matrix lhs, Cairo.Matrix rhs) { throw null; }
        public static bool operator !=(Cairo.Matrix lhs, Cairo.Matrix rhs) { throw null; }
        public void Rotate(double radians) { }
        public void Scale(double sx, double sy) { }
        public override string ToString() { throw null; }
        public void TransformDistance(ref double dx, ref double dy) { }
        public void TransformPoint(ref double x, ref double y) { }
        public void Translate(double tx, double ty) { }
    }
    [System.SerializableAttribute]
    public enum Operator
    {
        Add = 12,
        Atop = 5,
        Clear = 0,
        Dest = 6,
        DestAtop = 10,
        DestIn = 8,
        DestOut = 9,
        DestOver = 7,
        In = 3,
        Out = 4,
        Over = 2,
        Saturate = 13,
        Source = 1,
        Xor = 11,
    }
    public partial class Path : System.IDisposable
    {
        internal Path() { }
        public System.IntPtr Handle { get { throw null; } }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        ~Path() { }
    }
    public partial class Pattern : System.IDisposable
    {
        [System.ObsoleteAttribute]
        protected System.IntPtr pattern;
        [System.ObsoleteAttribute]
        protected Pattern() { }
        [System.ObsoleteAttribute("Use the SurfacePattern constructor")]
        public Pattern(Cairo.Surface surface) { }
        public Cairo.Extend Extend { get { throw null; } set { } }
        public System.IntPtr Handle { get { throw null; } }
        public Cairo.Matrix Matrix { get { throw null; } set { } }
        public Cairo.PatternType PatternType { get { throw null; } }
        [System.ObsoleteAttribute]
        public System.IntPtr Pointer { get { throw null; } }
        public Cairo.Status Status { get { throw null; } }
        [System.ObsoleteAttribute("Use Dispose()")]
        public void Destroy() { }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        ~Pattern() { }
        public static Cairo.Pattern Lookup(System.IntPtr pattern, bool owner) { throw null; }
        [System.ObsoleteAttribute]
        protected void Reference() { }
    }
    [System.SerializableAttribute]
    public enum PatternType
    {
        Linear = 2,
        Radial = 3,
        Solid = 0,
        Surface = 1,
    }
    public partial class PdfSurface : Cairo.Surface
    {
        public PdfSurface(string filename, double width, double height) { }
        public void SetSize(double width, double height) { }
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct Point
    {
        public Point(int x, int y) { throw null;}
        public int X { get { throw null; } set { } }
        public int Y { get { throw null; } set { } }
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct PointD
    {
        public PointD(double x, double y) { throw null;}
        public double X { get { throw null; } set { } }
        public double Y { get { throw null; } set { } }
    }
    public partial class PSSurface : Cairo.Surface
    {
        public PSSurface(string filename, double width, double height) { }
        public void BeginPageSetup() { }
        public void BeginSetup() { }
        public void DscComment(string comment) { }
        public void SetSize(double width, double height) { }
    }
    public partial class RadialGradient : Cairo.Gradient
    {
        public RadialGradient(double cx0, double cy0, double radius0, double cx1, double cy1, double radius1) { }
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct Rectangle
    {
        public Rectangle(Cairo.Point point, double width, double height) { throw null;}
        public Rectangle(double x, double y, double width, double height) { throw null;}
        public double Height { get { throw null; } }
        public double Width { get { throw null; } }
        public double X { get { throw null; } }
        public double Y { get { throw null; } }
        public override bool Equals(object obj) { throw null; }
        public override int GetHashCode() { throw null; }
        public static bool operator ==(Cairo.Rectangle rectangle, Cairo.Rectangle other) { throw null; }
        public static bool operator !=(Cairo.Rectangle rectangle, Cairo.Rectangle other) { throw null; }
        public override string ToString() { throw null; }
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct RectangleInt
    {
        public int Height;
        public int Width;
        public int X;
        public int Y;
    }
    public partial class Region : System.IDisposable
    {
        public Region() { }
        public Region(Cairo.RectangleInt rect) { }
        public Region(Cairo.RectangleInt[] rects) { }
        [System.ObsoleteAttribute]
        public Region(System.IntPtr handle) { }
        public Region(System.IntPtr handle, bool owned) { }
        public Cairo.RectangleInt Extents { get { throw null; } }
        public System.IntPtr Handle { get { throw null; } }
        public bool IsEmpty { get { throw null; } }
        public int NumRectangles { get { throw null; } }
        public Cairo.Status Status { get { throw null; } }
        public Cairo.RegionOverlap ContainsPoint(Cairo.RectangleInt rectangle) { throw null; }
        public bool ContainsPoint(int x, int y) { throw null; }
        public Cairo.Region Copy() { throw null; }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        public override bool Equals(object obj) { throw null; }
        ~Region() { }
        public override int GetHashCode() { throw null; }
        public Cairo.RectangleInt GetRectangle(int nth) { throw null; }
        public Cairo.Status Intersect(Cairo.Region other) { throw null; }
        public Cairo.Status IntersectRectangle(Cairo.RectangleInt rectangle) { throw null; }
        public Cairo.Status Subtract(Cairo.Region other) { throw null; }
        public Cairo.Status SubtractRectangle(Cairo.RectangleInt rectangle) { throw null; }
        public void Translate(int dx, int dy) { }
        public Cairo.Status Union(Cairo.Region other) { throw null; }
        public Cairo.Status UnionRectangle(Cairo.RectangleInt rectangle) { throw null; }
        public Cairo.Status Xor(Cairo.Region other) { throw null; }
        public Cairo.Status XorRectangle(Cairo.RectangleInt rectangle) { throw null; }
    }
    public enum RegionOverlap
    {
        In = 0,
        Out = 1,
        Part = 2,
    }
    public partial class ScaledFont : System.IDisposable
    {
        protected System.IntPtr handle;
        public ScaledFont(Cairo.FontFace fontFace, Cairo.Matrix matrix, Cairo.Matrix ctm, Cairo.FontOptions options) { }
        public Cairo.FontExtents FontExtents { get { throw null; } }
        public Cairo.Matrix FontMatrix { get { throw null; } }
        public Cairo.FontType FontType { get { throw null; } }
        public System.IntPtr Handle { get { throw null; } }
        public Cairo.Status Status { get { throw null; } }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        ~ScaledFont() { }
        public Cairo.TextExtents GlyphExtents(Cairo.Glyph[] glyphs) { throw null; }
        [System.ObsoleteAttribute]
        protected void Reference() { }
    }
    public partial class SolidPattern : Cairo.Pattern
    {
        public SolidPattern(Cairo.Color color) { }
        public SolidPattern(Cairo.Color color, bool solid) { }
        public SolidPattern(double r, double g, double b) { }
        public SolidPattern(double r, double g, double b, double a) { }
        public Cairo.Color Color { get { throw null; } }
    }
    [System.SerializableAttribute]
    public enum Status
    {
        ClipNotRepresentable = 22,
        FileNotFound = 18,
        InvalidContent = 15,
        InvalidDash = 19,
        InvalidDscComment = 20,
        InvalidFormat = 16,
        InvalidIndex = 21,
        InvalidMatrix = 5,
        InvalidPathData = 9,
        InvalidPopGroup = 3,
        InvalidRestore = 2,
        InvalidStatus = 6,
        InvalidString = 8,
        InvalidVisual = 17,
        NoCurrentPoint = 4,
        NoMemory = 1,
        NullPointer = 7,
        PatternTypeMismatch = 14,
        ReadError = 10,
        Success = 0,
        SurfaceFinished = 12,
        SurfaceTypeMismatch = 13,
        WriteError = 11,
    }
    [System.SerializableAttribute]
    public enum SubpixelOrder
    {
        Bgr = 2,
        Default = 0,
        Rgb = 1,
        Vbgr = 4,
        Vrgb = 3,
    }
    public partial class Surface : System.IDisposable
    {
        [System.ObsoleteAttribute]
        protected static System.Collections.Hashtable surfaces;
        [System.ObsoleteAttribute]
        protected Surface() { }
        [System.ObsoleteAttribute]
        protected Surface(System.IntPtr ptr) { }
        protected Surface(System.IntPtr handle, bool owner) { }
        public Cairo.Content Content { get { throw null; } }
        public Cairo.PointD DeviceOffset { get { throw null; } set { } }
        public System.IntPtr Handle { get { throw null; } }
        [System.ObsoleteAttribute("Use Handle instead.")]
        public System.IntPtr Pointer { get { throw null; } }
        public uint ReferenceCount { get { throw null; } }
        public Cairo.Status Status { get { throw null; } }
        public Cairo.SurfaceType SurfaceType { get { throw null; } }
        [System.ObsoleteAttribute("Use an ImageSurface constructor instead.")]
        public static Cairo.Surface CreateForImage(Cairo.Format format, int width, int height) { throw null; }
        [System.ObsoleteAttribute("Use an ImageSurface constructor instead.")]
        public static Cairo.Surface CreateForImage(ref byte[] data, Cairo.Format format, int width, int height, int stride) { throw null; }
        public Cairo.Surface CreateSimilar(Cairo.Content content, int width, int height) { throw null; }
        [System.ObsoleteAttribute("Use Dispose()")]
        public void Destroy() { }
        public void Dispose() { }
        protected virtual void Dispose(bool disposing) { }
        ~Surface() { }
        public Cairo.Status Finish() { throw null; }
        public void Flush() { }
        public static Cairo.Surface Lookup(System.IntPtr surface, bool owned) { throw null; }
        public void MarkDirty() { }
        public void MarkDirty(Cairo.Rectangle rectangle) { }
        public void SetFallbackResolution(double x, double y) { }
        public void Show(Cairo.Context gr, double x, double y) { }
        public void WriteToPng(string filename) { }
    }
    public partial class SurfacePattern : Cairo.Pattern
    {
        public SurfacePattern(Cairo.Surface surface) { }
        public new Cairo.Extend Extend { get { throw null; } set { } }
        public Cairo.Filter Filter { get { throw null; } set { } }
    }
    [System.SerializableAttribute]
    public enum SurfaceType
    {
        BeOS = 8,
        DirectFB = 9,
        Glitz = 5,
        Image = 0,
        Pdf = 1,
        PS = 2,
        Quartz = 6,
        Svg = 10,
        Win32 = 7,
        Xcb = 4,
        Xlib = 3,
    }
    public partial class SvgSurface : Cairo.Surface
    {
        public SvgSurface(string filename, double width, double height) { }
        public void RestrictToVersion(Cairo.SvgVersion version) { }
    }
    [System.SerializableAttribute]
    public enum SvgVersion
    {
        OnePointOne = 0,
        OnePointTwo = 1,
    }
    [System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
    public partial struct TextExtents
    {
        public double Height { get { throw null; } set { } }
        public double Width { get { throw null; } set { } }
        public double XAdvance { get { throw null; } set { } }
        public double XBearing { get { throw null; } set { } }
        public double YAdvance { get { throw null; } set { } }
        public double YBearing { get { throw null; } set { } }
        public override bool Equals(object obj) { throw null; }
        public override int GetHashCode() { throw null; }
        public static bool operator ==(Cairo.TextExtents extents, Cairo.TextExtents other) { throw null; }
        public static bool operator !=(Cairo.TextExtents extents, Cairo.TextExtents other) { throw null; }
    }
    public partial class Win32Surface : Cairo.Surface
    {
        public Win32Surface(System.IntPtr hdc) { }
    }
    public partial class XcbSurface : Cairo.Surface
    {
        public XcbSurface(System.IntPtr connection, uint drawable, System.IntPtr visual, int width, int height) { }
        public static Cairo.XcbSurface FromBitmap(System.IntPtr connection, uint bitmap, System.IntPtr screen, int width, int height) { throw null; }
        public void SetSize(int width, int height) { }
    }
    public partial class XlibSurface : Cairo.Surface
    {
        public XlibSurface(System.IntPtr ptr, bool own) { }
        public XlibSurface(System.IntPtr display, System.IntPtr drawable, System.IntPtr visual, int width, int height) { }
        public int Depth { get { throw null; } }
        public System.IntPtr Display { get { throw null; } }
        public System.IntPtr Drawable { get { throw null; } }
        public int Height { get { throw null; } }
        public System.IntPtr Screen { get { throw null; } }
        public System.IntPtr Visual { get { throw null; } }
        public int Width { get { throw null; } }
        public static Cairo.XlibSurface FromBitmap(System.IntPtr display, System.IntPtr bitmap, System.IntPtr screen, int width, int height) { throw null; }
        public void SetDrawable(System.IntPtr drawable, int width, int height) { }
        public void SetSize(int width, int height) { }
    }
}