File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2957,7 +2957,7 @@ while all(event.type != pg.QUIT for event in pg.event.get()):
2957
2957
``` python
2958
2958
< Surf> .fill(color) # Fills the whole surface.
2959
2959
< Surf> .set_at((x, y), color) # Updates pixel.
2960
- < Surf> .blit(< Surface > , (x, y)) # Draws passed surface to the surface.
2960
+ < Surf> .blit(< Surf > , (x, y)) # Draws passed surface to the surface.
2961
2961
```
2962
2962
2963
2963
``` python
Original file line number Diff line number Diff line change 2529
2529
2530
2530
< pre > < code class ="python language-python hljs "> <Surf>.fill(color) < span class ="hljs-comment "> # Fills the whole surface.</ span >
2531
2531
<Surf>.set_at((x, y), color) < span class ="hljs-comment "> # Updates pixel.</ span >
2532
- <Surf>.blit(<Surface >, (x, y)) < span class ="hljs-comment "> # Draws passed surface to the surface.</ span >
2532
+ <Surf>.blit(<Surf >, (x, y)) < span class ="hljs-comment "> # Draws passed surface to the surface.</ span >
2533
2533
</ code > </ pre >
2534
2534
< pre > < code class ="python language-python hljs "> <Surf> = pg.transform.scale(<Surf>, (width, height))
2535
2535
<Surf> = pg.transform.rotate(<Surf>, degrees)
You can’t perform that action at this time.
0 commit comments