Browse Source

Pygame

pull/79/head
Jure Šorn 4 years ago
parent
commit
52f59e69e2
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -2957,7 +2957,7 @@ while all(event.type != pg.QUIT for event in pg.event.get()):
```python
<Surf>.fill(color) # Fills the whole surface.
<Surf>.set_at((x, y), color) # Updates pixel.
<Surf>.blit(<Surface>, (x, y)) # Draws passed surface to the surface.
<Surf>.blit(<Surf>, (x, y)) # Draws passed surface to the surface.
```
```python

2
index.html

@ -2529,7 +2529,7 @@ rect = pg.Rect(<span class="hljs-number">240</span>, <span class="hljs-number">2
<pre><code class="python language-python hljs">&lt;Surf&gt;.fill(color) <span class="hljs-comment"># Fills the whole surface.</span>
&lt;Surf&gt;.set_at((x, y), color) <span class="hljs-comment"># Updates pixel.</span>
&lt;Surf&gt;.blit(&lt;Surface&gt;, (x, y)) <span class="hljs-comment"># Draws passed surface to the surface.</span>
&lt;Surf&gt;.blit(&lt;Surf&gt;, (x, y)) <span class="hljs-comment"># Draws passed surface to the surface.</span>
</code></pre>
<pre><code class="python language-python hljs">&lt;Surf&gt; = pg.transform.scale(&lt;Surf&gt;, (width, height))
&lt;Surf&gt; = pg.transform.rotate(&lt;Surf&gt;, degrees)

Loading…
Cancel
Save