Eto.Drawing Bitmap.Lock in C# (CSharp): 4 esempi trovati. Questi sono i migliori esempi reali in C# (CSharp) per Eto.Drawing.Bitmap.Lock, estratti da progetti open source. Li puoi valutare, per aiutarci a migliorare la qualità dei nostri esempi.
Locks the data of the image to directly access the bytes of the image
This locks the data to read and write to directly using unsafe pointers. After reading or updating the data, you must call BitmapData.Dispose() to unlock the data before using the bitmap. e.g.: using (var bd = bitmap.Lock ()) { byte* pdata = bd.Data; // access data }