From eb35a84832d16fef82d611630920df4582dd6c81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?= <grubba@grubba.org> Date: Tue, 18 Nov 1997 19:15:52 +0100 Subject: [PATCH] Improved the English in the comments somewhat. Rev: about_pike/draw_stuff.pike:1.3 --- about_pike/draw_stuff.pike | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/about_pike/draw_stuff.pike b/about_pike/draw_stuff.pike index 2756367a1a..615c6000a4 100755 --- a/about_pike/draw_stuff.pike +++ b/about_pike/draw_stuff.pike @@ -1,17 +1,17 @@ #!/usr/local/bin/pike -// Information about Pike is found at: http://pike.indonex.se +// Information about Pike can be found at: http://pike.indonex.se -// This program is made by hedda@idenex.se to demonstrate the Image-package +// This program was made by hedda@idonex.se to demonstrate the Image-module // in Pike. // Program cleaned up and made readable by Fredrik Hubinette -// Some understanding of Pike or C is assumed to understand this program. +// Some understanding of Pike or C is needed to understand this program. int main() { - // Create an empy file object for file operations + // Create an empty file object for file operations object(Stdio.File) file=Stdio.File(); //Check if foo.ppm exists @@ -27,16 +27,16 @@ int main() file->close(); // Close the file foo.ppm - // Make another image called image2, this image has width=80 & high=40 - // The image will be black + // Make another image called image2, this image has width=80 & hight=40 + // The image will be black. object(Image.image) image2=Image.image(52, 65); // Set the current color to the Pike-green :) //The color is coded (red, green, blue) - // 0 means nothing of that color and 255 is maximum + // 0 means nothing of that color-component and 255 is maximum image2->setcolor(160, 240, 192); - // This draws a polygone. It's of cource anti-aliased! + // This draws a polygone. It's of course anti-aliased! image2->polygone( ({ 4.1, 50, // First x,y corner -- GitLab