Draw pixel 2: Difference between revisions

From Rosetta Code
Content added Content deleted
(Created page with "Create a window and draw a pixel in it 1-the window is 320 x 240 2- the color of the pixel must be red (255,0,0) 3-that the position of the pixel is x = 100, y = 100")
 
No edit summary
Line 1: Line 1:
{{task|GUI}}[[Category:Basic language learning]]{{requires|Graphics}} [[Category:Simple]]

;Task:
Create a window and draw a pixel in it
Create a window and draw a pixel in it


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

Revision as of 03:12, 2 May 2018

Task
Draw pixel 2
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