Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/Bitmap/Seed7/bitmap.seed7
Normal file
14
Task/Bitmap/Seed7/bitmap.seed7
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
$ include "seed7_05.s7i";
|
||||
include "draw.s7i";
|
||||
|
||||
const proc: main is func
|
||||
local
|
||||
var PRIMITIVE_WINDOW: myPixmap is PRIMITIVE_WINDOW.value;
|
||||
var color: myColor is black;
|
||||
begin
|
||||
myPixmap := newPixmap(300, 200);
|
||||
clear(myPixmap, light_green);
|
||||
point(myPixmap, 20, 30, color(256, 512, 768));
|
||||
myColor := getPixelColor(myPixmap, 20, 30);
|
||||
writeln(myColor.redLight <& " " <& myColor.greenLight <& " " <& myColor.blueLight);
|
||||
end func;
|
||||
Loading…
Add table
Add a link
Reference in a new issue