Browse Source

README-en.md edited online with Bitbucket

Jose R Ortiz Ubarri 8 years ago
parent
commit
e6097861d5
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      README-en.md

+ 1
- 1
README-en.md View File

@@ -54,7 +54,7 @@ The drawing will be on a grid. The tools will be used by clicking any cell in th
54 54
 
55 55
 	![ejemplo.png](images/ejemplo.png)
56 56
 
57
-	**Figure 1.**  The image shows the direction in which the coordinates are ordered in `Qt`.
57
+	**Figure 1.**  The image shows the direction in which the coordinates are ordered in `Qt` images.
58 58
 
59 59
 
60 60
 * When we want to insert two-dimensional data (like the entries of a grid that has coordinates in $x$ y $y$) in a one-dimensional array we use a formula to convert every coordinate $(x,y)$ to an index $i$ of the array. For every point with coordinates $(x,y)$ in the grid, we evaluate $i=(number-of-columns)*y+x$, where `number-of-columns` represents the width of the two-dimensional array, and the result $i$ will be the index of the one-dimensional array that corresponds to the point with coordinates $(x,y)$ in the grid. For example, the index $i$ that corresponds to the point $(1,2)$ in the grid of width $5$ is $i=(5)*2+1=11$.