JCL Help:TJclBitmap32.PixelPtr

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Points to the adress of the pixel at coordinates X, Y.


Pascal

 public property PixelPtr [X, Y: Integer]: PColor32;


Description

Converts coordinates of a pixel to its address in memory. Since TJclBitmap32 uses 32-bit DIBs, its memory is allocated as continuous string of 4-byte TColor32 values, starting at the top left corner.
Pixel with (0, 0) coordinates has the same address as specified in Bits property.


See Also

TJclBitmap32.Bits TJclBitmap32.Pixel TJclBitmap32.ScanLine TJclBitmap32 TColor32


About

Donator

Alex Denissov


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page