Erinevus lehekülje "ITI0011:praktikum 9 T8" redaktsioonide vahel

Allikas: Kursused
Mine navigeerimisribale Mine otsikasti
15. rida: 15. rida:
 
== Exercise ==
 
== Exercise ==
  
Create an application which allows the user to draw rectangles. There are several options how to achieve this:
+
Create an application which allows the user to draw a rectangle. There are several options how to achieve this:
 
* using mouse dragging: the starting point is fixed when the dragging starts (mouse press), the opposite corner moves along while dragging. if the dragging ends, the rectangle is fixed.
 
* using mouse dragging: the starting point is fixed when the dragging starts (mouse press), the opposite corner moves along while dragging. if the dragging ends, the rectangle is fixed.
 
* using clicking: when clicking first time, one point is fixed, when clicking another time, the opposite corner is fixed (and rectangle is drawn).
 
* using clicking: when clicking first time, one point is fixed, when clicking another time, the opposite corner is fixed (and rectangle is drawn).
 
* some other way
 
* some other way
  
Requirements:
+
Optional requirements:
 
* more than one rectangle can be drawn
 
* more than one rectangle can be drawn

Redaktsioon: 28. oktoober 2014, kell 06:06

Tagasi ITI0011 lehele.

Üldine

Praktikum: 28.10.2014 kell 8:00

Teemad:

Exercise

Create an application which allows the user to draw a rectangle. There are several options how to achieve this:

  • using mouse dragging: the starting point is fixed when the dragging starts (mouse press), the opposite corner moves along while dragging. if the dragging ends, the rectangle is fixed.
  • using clicking: when clicking first time, one point is fixed, when clicking another time, the opposite corner is fixed (and rectangle is drawn).
  • some other way

Optional requirements:

  • more than one rectangle can be drawn