ISInterface:GetPixels

From Lavish Software Wiki
Jump to navigation Jump to search

Syntax

  • bool GetPixels(int X, int Y, unsigned long nRows, unsigned long nColumns, RGBCOLOR **Rows)

Purpose

To obtain the colors of a lot of pixels

Usage

Parameters

  • int X
[in] X coordinate of the starting pixel
  • int Y
[in] Y coordinate of the starting pixel
  • unsigned long nRows
[in] Number of rows
  • unsigned long nColumns
[in] Number of columns
  • RGBCOLOR **Rows
[in] Buffer to put the data in (see CPixelMap)

Return Value

  • bool
Returns true on success, false on failure

Examples

Note

  • This method is not currently implemented. It will always return false. (Per Lax in #ismods IRC channel on December 2, 2011)

See Also