Write a function to mirror along the diagonal from (0, 0) to (width, height).
What will be an ideal response?
```
def mirrorDiagonal(source):
for y in range(0,getHeight(source)):
for x in range(y,getWidth(source)):
topPixel = getPixel(source ,x,y)
bottomPixel = getPixel(source,y,x)
color = getColor(topPixel)
setColor(bottomPixel ,color)
show(source)
```
Note: This function only works particularly well with square images.
You might also like to view...
Click the View tab on the ribbon to create a backup. ____________________
Answer the following statement true (T) or false (F)
When you pass a variable as an argument that was declared with the ByVal keyword in a procedure, that procedure cannot change the original value of the variable.
Answer the following statement true (T) or false (F)
Read a Web site's piracy rules before providing any personal information.
Answer the following statement true (T) or false (F)
_________ is the basic physical layout of the circuit.
a. Point-to-point configuration b. Configuration c. Circuit configuration d. Circuit design e. Circuit plan