processing / processing/processing-website
Please consider adding to the image() reference page
@REAS is already working on this.
Since Jan 27, 2018.
- Dominant language
- MDX
- Stars
- 90
- Forks
- 122
- Avg merge
- 1h 43m
- Merged PRs (30d)
- 3
Description
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().
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.