Draw a pixel

From Rosetta Code
Revision as of 03:14, 2 May 2018 by rosettacode>Molo32 (Created page with "{{task|GUI}}Category:Basic language learning{{requires|Graphics}} Category:Simple ;Task: Create a window and draw a pixel in it ::#  1-the window is 320 x 240 :...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Task
Draw a pixel
You are encouraged to solve this task according to the task description, using any language you may know.
Task

Create a window and draw a pixel in it

  1.  1-the window is 320 x 240
  2.  2- the color of the pixel must be red (255,0,0)
  3.  3-that the position of the pixel is x = 100, y = 100