diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-07 15:02:18 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2020-10-13 10:44:02 +0200 |
commit | 12ef5a7344da486f1e4601bf7c917caa69667f7f (patch) | |
tree | 67eede5b9e8ad23719ce5d5e42097c3e24925e84 /src/gui/image/qimage_darwin.mm | |
parent | f8076d6a5be7d833bd81f4a7a66177ccd25b5fca (diff) |
doc: Add brief and group for native type conversions
Change-Id: I74608619201bf77e487fb986bf213b349cc22f6a
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/gui/image/qimage_darwin.mm')
-rw-r--r-- | src/gui/image/qimage_darwin.mm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/image/qimage_darwin.mm b/src/gui/image/qimage_darwin.mm index 7ca1a0869a..83b6cef980 100644 --- a/src/gui/image/qimage_darwin.mm +++ b/src/gui/image/qimage_darwin.mm @@ -48,8 +48,9 @@ QT_BEGIN_NAMESPACE /*! - Creates a \c CGImage equivalent to this QImage. Returns a - \c CGImageRef handle. + \brief Creates a \c CGImage equivalent to this QImage. + + Returns a \c CGImageRef handle. The returned CGImageRef partakes in the QImage implicit sharing, and holds a reference to the QImage data. CGImage is immutable @@ -92,6 +93,8 @@ QT_BEGIN_NAMESPACE The CGImageRef color space is set to the sRGB color space. + \ingroup platform-type-conversions + \sa QtMac::toNSImage() */ CGImageRef QImage::toCGImage() const |