mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* PrinterResolution.cs: Fixed signature, implemented, restyled, removed non-CLS compliant members svn path=/trunk/mcs/; revision=16328
52 lines
758 B
C#
52 lines
758 B
C#
//
|
|
// System.Drawing.Printing.PrinterResolution.cs
|
|
//
|
|
// Author:
|
|
// Dennis Hayes ([email protected])
|
|
// Andreas Nahr ([email protected])
|
|
//
|
|
// (C) 2002 Ximian, Inc
|
|
// (C) 2003 Andreas Nahr
|
|
//
|
|
using System;
|
|
|
|
namespace System.Drawing.Printing
|
|
{
|
|
|
|
public class PrinterResolution
|
|
{
|
|
private PrinterResolutionKind kind;
|
|
private int x;
|
|
private int y;
|
|
|
|
private PrinterResolution ()
|
|
{
|
|
}
|
|
|
|
internal PrinterResolution (int x, int y, PrinterResolutionKind kind)
|
|
{
|
|
this.x = x;
|
|
this.y = y;
|
|
this.kind = kind;
|
|
}
|
|
|
|
public int X {
|
|
get {
|
|
return x;
|
|
}
|
|
}
|
|
|
|
public int Y {
|
|
get {
|
|
return y;
|
|
}
|
|
}
|
|
|
|
public PrinterResolutionKind Kind {
|
|
get {
|
|
return kind;
|
|
}
|
|
}
|
|
}
|
|
}
|