DrawingSurface.DrawPixel(int x, int y)
Draws a single pixel onto the surface at (X,Y) in the current colour. The pixel
thickness respects the UseHighResCoordinates
property.
NOTE: This command is not fast enough to use repeatedly to build up an image. Only
use it for single pixel adjustments.
Example:
DrawingSurface *surface = Room.GetDrawingSurfaceForBackground();
surface.DrawingColor = 14;
surface.DrawPixel(50, 50);
surface.Release();
draws a yellow pixel in the top left of the room background
See Also: DrawingSurface.DrawingColor,
DrawingSurface.DrawLine,
DrawingSurface.GetPixel,
DrawingSurface.UseHighResCoordinates
|