processing / processing/processing-website

Please consider adding to the image() reference page

Aperta
#389 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@REAS ci sta già lavorando.

Dal 27/1/2018.

Enhancement
Lingua principale
MDX
Stelle
90
Fork
122
Merge medio
1h 43m
PR unite (30g)
3

Descrizione

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().

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.