void drawSubsection(float x, float y, float w, float h, float sx, float sy) const
Draws a subsection of the image.
This functions like a clipping mask. Does not altering any pixel data.
- Parameters
-
| x | X position to draw cropped image at. |
| y | Y position to draw cropped image at. |
| w | Width of subsection to draw. |
| h | Height of subsection to draw. |
| sx | X position in image to begin cropping from. |
| sy | Y position in image to begin cropping from. |
void drawSubsection(float x, float y, float z, float w, float h, float sx, float sy) const
Draws a subsection of the image.
This functions like a clipping mask. Does not altering any pixel data.
- Parameters
-
| x | X position to draw cropped image at. |
| y | Y position to draw cropped image at. |
| z | Z position to draw cropped image at. |
| w | Width of subsection to draw. |
| h | Height of subsection to draw. |
| sx | X position in image to begin cropping from. |
| sy | Y position in image to begin cropping from. |
void drawSubsection(float x, float y, float w, float h, float sx, float sy, float sw, float sh) const
Draws a subsection of the image.
This functions like a clipping mask. Does not altering any pixel data.
- Parameters
-
| x | X position to draw cropped image at. |
| y | Y position to draw cropped image at. |
| w | Width of subsection to draw. |
| h | Height of subsection to draw. |
| sx | X position in image to begin cropping from. |
| sy | Y position in image to begin cropping from. |
| sw | Source width of cropped area. |
| sh | Source height of cropped area. |
void drawSubsection(float x, float y, float z, float w, float h, float sx, float sy, float sw, float sh) const
Draws a subsection of the image.
This functions like a clipping mask. Does not altering any pixel data.
- Parameters
-
| x | X position to draw cropped image at. |
| y | Y position to draw cropped image at. |
| z | Z position to draw cropped image at. |
| w | Width of subsection to draw. |
| h | Height of subsection to draw. |
| sx | X position in image to begin cropping from. |
| sy | Y position in image to begin cropping from. |
| sw | Source width of cropped area. |
| sh | Source height of cropped area. |