processing / processing/processing-website

Please consider adding to the image() reference page

Đang mở
#389 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@REAS đang làm issue này rồi.

Từ ngày 27/1/2018.

Enhancement
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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.