浏览代码

README-en.md edited online with Bitbucket

父节点
当前提交
8d02943642
共有 1 个文件被更改,包括 3 次插入6 次删除
  1. 3
    6
      README-en.md

+ 3
- 6
README-en.md 查看文件

@@ -127,9 +127,8 @@ The following figures illustrate the exchanges that are done by level 1, 2 and 3
127 127
 
128 128
 The project which you will be working on today contains the `cropSwap` function that implements the functionality of exchanging the pixels contains in two congruent rectangles within an image. Its prototype is: 
129 129
 
130
-```
131
-void ImageScrambler::cropSwap(QImage &img, int x0, int y0, int x1, int y1, int width, int height );
132
-```
130
+`void ImageScrambler::cropSwap(QImage &img, int x0, int y0, int x1, int y1, int width, int height );`
131
+
133 132
 
134 133
 Its parameters are:
135 134
 * `img`: reference to the image that we wish to modify (an object of the `QImage` class)
@@ -138,9 +137,7 @@ Its parameters are:
138 137
 
139 138
 For example, if we wish to exchange the pixels of the upper and lower halves of an image *P* with width 100 and height 150, we invoke the function:
140 139
 
141
-```
142
-cropSwap(P, 0, 0, 0, 75, 100, 75 );  
143
-```
140
+`cropSwap(P, 0, 0, 0, 75, 100, 75 );`
144 141
 
145 142
 
146 143
 ----