mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
80 lines
1009 B
C#
Executable File
80 lines
1009 B
C#
Executable File
//
|
|
// System.Drawing.Imaging.BitmapData.cs
|
|
//
|
|
// Author:
|
|
// Miguel de Icaza ([email protected]
|
|
//
|
|
// (C) 2002 Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
using System;
|
|
|
|
namespace System.Drawing.Imaging
|
|
{
|
|
public sealed class BitmapData {
|
|
int width, height, stride, reserved;
|
|
PixelFormat pixel_format;
|
|
IntPtr address;
|
|
|
|
public int Height {
|
|
get {
|
|
return height;
|
|
}
|
|
|
|
set {
|
|
height = value;
|
|
}
|
|
}
|
|
|
|
public int Width {
|
|
get {
|
|
return width;
|
|
}
|
|
|
|
set {
|
|
width = value;
|
|
}
|
|
}
|
|
|
|
public PixelFormat PixelFormat {
|
|
get {
|
|
return pixel_format;
|
|
}
|
|
|
|
set {
|
|
pixel_format = value;
|
|
}
|
|
}
|
|
|
|
public int Reserved {
|
|
get {
|
|
return reserved;
|
|
}
|
|
|
|
set {
|
|
reserved = value;
|
|
}
|
|
}
|
|
|
|
public IntPtr Scan0 {
|
|
get {
|
|
return address;
|
|
}
|
|
|
|
set {
|
|
address = value;
|
|
}
|
|
}
|
|
|
|
public int Stride {
|
|
get {
|
|
return stride;
|
|
}
|
|
|
|
set {
|
|
stride = value;
|
|
}
|
|
}
|
|
}
|
|
}
|