Fix documentation of AnnotationUtils::loadStamp

remotes/origin/work/bharadwaj/darkmode-button
Albert Astals Cid 5 years ago
parent 8b3dfcb3f4
commit b3379d331d
  1. 6
      core/annotations.h

@ -79,8 +79,10 @@ public:
* Returns a pixmap for a stamp symbol
*
* @p name Name of a Okular stamp symbol, icon or path to an image
* @p size Size of the pixmap (ignore aspect ratio). Takes precedence over @p iconSize
* @p iconSize Maximum size of the pixmap (keep aspect ratio)
* @p size Size of the pixmap side
* @p keepAspectRatio Whether to keep aspect ratio of the stamp or not
*
* @since 21.12
*/
static QPixmap loadStamp(const QString &nameOrPath, int size, bool keepAspectRatio = true);
};

Loading…
Cancel
Save