~~NOTOC~~ <=[[4rpl:start| Index]] \\ <-[[4rpl:start#raster| Raster]] ====== SetRasterC ====== SetRasterC(<-x <-y) ===== Description ===== Sets a pixel in the raster to the color specified previously by RasterColor. The origin is in the lower left of the raster. ===== Examples ===== once V4(1 0 0 1) ->red V4(0 0 0 1) ->black V4(1 1 1 1) ->white V4(0 1 0 1) ->green CreateList ->square do(25 0) <-black ->square[I] loop ShowRaster(true) endonce ClearRaster(V4(RandFloat RandFloat RandFloat 1)) do(5000 0) SetRaster(GetRandMapCell <-green) loop RasterColor(<-red) do(5000 0) SetRasterC(GetRandMapCell) loop do(100 0) @Blit loop :Blit BlitRaster(GetRandMapCell <-square 5) <=[[4rpl:start| Index]]