-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.Drawing.Surface
Jean-Philippe Bruyère edited this page Oct 26, 2021
·
1 revision
namespace: Crow.Drawing
-
Surface
public class Surface
⬜ | prototype | description |
---|---|---|
Surface (Device device, int width, int height) |
__ | |
Surface (Device device, Span< byte > data, int width, int heigth) |
__ | |
Surface (Device device, string imgPath) |
__ | |
Surface (Device device, IntPtr surfHandle) |
__ |
⬜ | name | description |
---|---|---|
Content |
__ | |
DeviceOffset |
__ | |
Handle |
__ | |
Height |
__ | |
Height |
__ | |
Pointer |
__ | |
ReferenceCount |
__ | |
Status |
__ | |
SurfaceType |
__ | |
VkImage |
__ | |
Width |
__ | |
Width |
__ |
⬜ | prototype | description |
---|---|---|
void AddReference() |
__ | |
void Clear() |
__ | |
Surface CreateForImage(ref byte[] data, Format format, int width, int height, int stride) |
__ | |
Surface CreateForImage(Format format, int width, int height) |
__ | |
Surface CreateSimilar(Content content, int width, int height) |
__ | |
void Destroy() |
__ | |
void Dispose() |
__ | |
void Dispose() |
__ | |
Status Finish() |
__ | |
void Flush() |
__ | |
void Flush() |
__ | |
Surface Lookup(IntPtr surface, bool owned) |
__ | |
void MarkDirty() |
__ | |
void MarkDirty(Crow.Rectangle rectangle) |
__ | |
uint References() |
__ | |
void SetFallbackResolution(double x, double y) |
__ | |
void SetSize(int width, int height) |
__ | |
void WriteTo(IntPtr bitmap) |
__ | |
void WriteToPng(string filename) |
__ | |
void WriteToPng(string path) |
__ |
⬜ | name | description |
---|