processing / processing/processing-website
Please consider adding to the image() reference page
@REAS arbeitet bereits daran.
Seit 27.1.2018.
- Vorherrschende Sprache
- MDX
- Sterne
- 90
- Forks
- 122
- Ø Merge
- 1 Std. 43 Min.
- Gemergte PRs (30 T.)
- 3
Beschreibung
Issue description
image(img, dx, dy, dw, dh, sx, sy, sw, sh);
Drawing part of an image (from a sprite sheet, for example) is really important. It comes up in a forum response, but not in the documentation.
It can be found if (a) one assumes that it is doable despite missing documentation and (b) one Googles "how to draw part of an image in processing". I believe it ought to be part of the main documentation as I don't think this is an obvious assumption to make.
URL(s) of affected page(s)
Forum page:
https://forum.processing.org/one/topic/displaying-a-part-of-the-image.html
Reference page
https://processing.org/reference/image_.html
Proposed fix
Please consider putting the example from the forum on the reference page for image().
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.