processing / processing/processing-website

Please consider adding to the image() reference page

Abierto
#389 1 comentario 0 reacciones 1 asignado Ver en GitHub

@REAS ya está trabajando en esto.

Desde el 27/1/2018.

Enhancement
Lenguaje dominante
MDX
Estrellas
90
Forks
122
Merge medio
1 h 43 min
PR fusionados (30 d)
3

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.