Files
RaindropViewer/Assets/Plugins/LibreMetaverse/Catnip/Drawing/Bitmap.cs
T

55 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Catnip.Drawing;
using Catnip.Drawing.Imaging;
using SixLabors.ImageSharp;
//fake image class that actually just calls unity image internally.
namespace Catnip.Drawing
{
public sealed class Bitmap : Catnip.Drawing.Image
{
//Initializes a new instance of the Bitmap class with the specified size and format.
public Bitmap(int width, int height, PixelFormat format32bppArgb)
{
Width = width;
Height = height;
}
public Bitmap(int width, int height)
{
Width = width;
Height = height;
}
public override int Width { get; internal set; }
public override int Height { get; internal set; }
public Catnip.Drawing.Imaging.PixelFormat PixelFormat { get; internal set; }
public BitmapData LockBits(Rectangle rectangle, object readOnly, PixelFormat format32bppArgb)
{
throw new NotImplementedException();
}
public void Dispose()
{
throw new NotImplementedException();
}
public void UnlockBits(BitmapData outputData)
{
throw new NotImplementedException();
}
public void RotateFlip(object rotate270FlipNone)
{
throw new NotImplementedException();
}
}
}