public int ditherBitmap(Rectangle r, Dither d, object data) { GCHandle gch = GCHandle.Alloc(data, GCHandleType.Pinned); int ret = caca_dither_bitmap(_c_cv, r.X, r.Y, r.Width, r.Height, d._dither, gch.AddrOfPinnedObject()); gch.Free(); return(ret); }
public int ditherBitmap(int x, int y, int w, int h, Dither d, object data) { GCHandle gch = GCHandle.Alloc(data, GCHandleType.Pinned); int ret = caca_dither_bitmap(_c_cv, x, y, w, h, d._dither, gch.AddrOfPinnedObject()); gch.Free(); return(ret); }
public int ditherBitmap(int x, int y, int w, int h, Dither d, object data) { GCHandle gch = GCHandle.Alloc(data, GCHandleType.Pinned); int ret = caca_dither_bitmap(_c_cv, x, y, w, h, d._dither, gch.AddrOfPinnedObject()); gch.Free(); return ret; }
public int ditherBitmap(Rectangle r, Dither d, object data) { GCHandle gch = GCHandle.Alloc(data, GCHandleType.Pinned); int ret = caca_dither_bitmap(_c_cv, r.X, r.Y, r.Width, r.Height, d._dither, gch.AddrOfPinnedObject()); gch.Free(); return ret; }