processing / processing/processing-website
Please consider adding to the image() reference page
@REAS 已经在做这个了。
开始于 2018年1月27日。
- 主要语言
- MDX
- 星标
- 90
- 派生
- 122
- 平均合并
- 1 小时 43 分钟
- 30 天内合并 PR
- 3
描述
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().
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
评估
这个 Issue 还没有评估数据。