processing / processing/processing-website
Please consider adding to the image() reference page
@REAS đang làm issue này rồi.
Từ ngày 27/1/2018.
- Ngôn ngữ chính
- MDX
- Star
- 90
- Fork
- 122
- Merge trung bình
- 1 giờ 43 phút
- Pull request đã merge (30 ngày)
- 3
Mô tả
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().
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Đánh giá
Issue này chưa được đánh giá.