/*!
\qmlmethod QtQuick2::Context2D::drawImage(variant image, real sx, real sy, real sw, sh, real dx, real dy, real dw, dh)
This is an overloaded function.
- Draws the given item as \a image from source point (\a sx, \a sy) and source width \sw, source height \sh
+ Draws the given item as \a image from source point (\a sx, \a sy) and source width \a sw, source height \a sh
onto the canvas at point (\a dx, \a dy) and with width \a dw, height \a dh.
\l blending is enabled, source-over blending is used. However, additive
blending can be achieved by outputting zero in the alpha channel.
+ \table
\row
\li \image declarative-shadereffectitem.png
\li \qml
}
}
\endqml
- \endrow
+ \endtable
By default, the ShaderEffect consists of four vertices, one for each
corner. For non-linear vertex transformations, like page curl, you can
For non-linear vertex transformations, you probably want to set the
resolution higher.
+ \table
\row
\li \image declarative-gridmesh.png
\li \qml
}"
}
\endqml
- \endrow
+ \endtable
*/
void QQuickGridMesh::setResolution(const QSize &res)
}
}
\endqml
- \endrow
\endtable
The ShaderEffectSource type does not redirect any mouse or keyboard
The animation would only be applied when changing from the default state to
the "brighter" state (i.e. when the mouse is pressed, but not on release).
- Multiple \c to and \from values can be set by using a comma-separated string.
+ Multiple \c to and \c from values can be set by using a comma-separated string.
\sa reversible
*/