DK11 for .NET | TatukGIS.NDK.TGIS_BitmapAbstract.LockPixels | Fields | Methods | Properties
Prepare bitmap for direct pixel access operation.
// C# public virtual abstract void LockPixels( ref Int32[] _pixels, bool _writable, TGIS_BitmapFormat _format, TGIS_BitmapLinesOrder _order );
' VisualBasic Public Overridable MustOverride Sub LockPixels( ByRef _pixels As Int32(), ByVal _writable As Boolean, ByVal _format As TGIS_BitmapFormat, ByVal _order As TGIS_BitmapLinesOrder )
// Oxygene public procedure LockPixels( var _pixels : TGIS_Pixels; _writable : Boolean; _format : TGIS_BitmapFormat; _order : TGIS_BitmapLinesOrder ); virtual; abstract;
Name | Type | Description |
---|---|---|
_pixels | Int32[] TGIS_Pixels | pixel buffer (allocated and maintained by LockPixels .. UnlockPixels |
_writable | bool Boolean | True if pixels will be modified |
_format | TGIS_BitmapFormat | desired format of locked pixels; on some platforms some system level operation required different pixel format then default |
_order | TGIS_BitmapLinesOrder | desired line order of locked pixels; on some platforms some system level operation required different order then default |
Must be paired with UnlockPixels.