Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qcoregraphics_p.h File Reference

(12885fd3bdc01bd57a1da2ae1d01ecffd6d493f3)

#include <QtCore/private/qcore_mac_p.h>
#include <QtCore/qsize.h>
#include <QtGui/private/qtguiglobal_p.h>
#include <QtGui/qicon.h>
#include <QtGui/qpalette.h>
#include <QtGui/qregion.h>
#include <CoreGraphics/CoreGraphics.h>
Include dependency graph for qcoregraphics_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QMacCGContext

Functions

 Q_FORWARD_DECLARE_OBJC_CLASS (UIImage)
 Q_FORWARD_DECLARE_OBJC_CLASS (NSColor)
QT_BEGIN_NAMESPACE Q_GUI_EXPORT std::optional< vImage_CGImageFormat > qt_mac_cgImageFormatForImage (const QImage &image)
Q_GUI_EXPORT CGImageRef qt_mac_toCGImage (const QImage &qImage)
Q_GUI_EXPORT QImage qt_mac_toQImage (CGImageRef image)
Q_GUI_EXPORT void qt_mac_drawCGImage (CGContextRef inContext, const CGRect *inBounds, CGImageRef inImage)
Q_GUI_EXPORT void qt_mac_clip_cg (CGContextRef hd, const QRegion &rgn, CGAffineTransform *orig_xform)
Q_GUI_EXPORT QColor qt_mac_toQColor (CGColorRef color)
Q_GUI_EXPORT QBrush qt_mac_toQBrush (CGColorRef color)

Function Documentation

◆ Q_FORWARD_DECLARE_OBJC_CLASS() [1/2]

Q_FORWARD_DECLARE_OBJC_CLASS ( NSColor )

◆ Q_FORWARD_DECLARE_OBJC_CLASS() [2/2]

Q_FORWARD_DECLARE_OBJC_CLASS ( UIImage )

◆ qt_mac_cgImageFormatForImage()

QT_BEGIN_NAMESPACE Q_GUI_EXPORT std::optional< vImage_CGImageFormat > qt_mac_cgImageFormatForImage ( const QImage & image)

Definition at line 29 of file qcoregraphics.mm.

◆ qt_mac_clip_cg()

Q_GUI_EXPORT void qt_mac_clip_cg ( CGContextRef hd,
const QRegion & rgn,
CGAffineTransform * orig_xform )

Definition at line 587 of file qcoregraphics.mm.

◆ qt_mac_drawCGImage()

Q_GUI_EXPORT void qt_mac_drawCGImage ( CGContextRef inContext,
const CGRect * inBounds,
CGImageRef inImage )

Definition at line 150 of file qcoregraphics.mm.

◆ qt_mac_toCGImage()

Q_GUI_EXPORT CGImageRef qt_mac_toCGImage ( const QImage & qImage)

Definition at line 140 of file qcoregraphics.mm.

◆ qt_mac_toQBrush()

Q_GUI_EXPORT QBrush qt_mac_toQBrush ( CGColorRef color)

Definition at line 493 of file qcoregraphics.mm.

◆ qt_mac_toQColor()

Q_GUI_EXPORT QColor qt_mac_toQColor ( CGColorRef color)

Definition at line 436 of file qcoregraphics.mm.

◆ qt_mac_toQImage()

Q_GUI_EXPORT QImage qt_mac_toQImage ( CGImageRef image)

Definition at line 263 of file qcoregraphics.mm.