diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2012-05-11 19:38:49 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-14 05:36:33 +0200 |
commit | b916b030e1db278bca84189cfe5cbf450d7aa29b (patch) | |
tree | 9d85752fa7cde25e45d97190105cb2f26be8c590 /src/quick/items/qquicksprite.cpp | |
parent | 1ae19b476f4675dff954ce8dac71c1625a96c0c0 (diff) |
Flesh out the sprite documentation
Task-number: QTBUG-24770
Change-Id: I40c46aa29ffdcc5899bece46c4b6227ca29695cd
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src/quick/items/qquicksprite.cpp')
-rw-r--r-- | src/quick/items/qquicksprite.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/quick/items/qquicksprite.cpp b/src/quick/items/qquicksprite.cpp index 724bf8fef1..8b77d23270 100644 --- a/src/quick/items/qquicksprite.cpp +++ b/src/quick/items/qquicksprite.cpp @@ -54,16 +54,7 @@ QT_BEGIN_NAMESPACE can be in the middle of an image file, or split along multiple rows, as long as they form a contiguous line wrapping to the next row of the file from the left edge of the file. - Sprites within one animation must be the same size, however sprites within the same file - do not. Sprites without a frameCount specified assume that they take the entire file. - - There are several software tools to help turn images into sprite sheets, here are some examples: - Photoshop plugin: - http://www.personal.psu.edu/zez1/blogs/my_blog/2011/05/scripts-4-photoshop-file-sequence-to-layers-to-sprite-sheet.html - Gimp plugin: - http://registry.gimp.org/node/20943 - Cmd-line tool: - http://www.imagemagick.org/script/montage.php + For full details, see the \l{Sprite Animation} overview. */ /*! \qmlproperty int QtQuick2::Sprite::duration |