Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qcoregraphics_p.h File Reference

(d5bf42f75b0ae35b7f02bb9211787ae1d44a98ba)

#include <QtCore/private/qcore_mac_p.h>
#include <QtGui/private/qtguiglobal_p.h>
#include <QtGui/qregion.h>
#include <QtGui/qpalette.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

QT_BEGIN_NAMESPACE Q_GUI_EXPORT CGBitmapInfo qt_mac_bitmapInfoForImage (const QImage &image)
 
Q_GUI_EXPORT CGImageRef qt_mac_toCGImage (const QImage &qImage)
 
Q_GUI_EXPORT CGImageRef qt_mac_toCGImageMask (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

◆ qt_mac_bitmapInfoForImage()

QT_BEGIN_NAMESPACE Q_GUI_EXPORT CGBitmapInfo qt_mac_bitmapInfoForImage ( const QImage & image)

Definition at line 20 of file qcoregraphics.mm.

References QImage::Format_ARGB32, QImage::Format_ARGB32_Premultiplied, QImage::Format_RGB32, QImage::Format_RGBA8888, QImage::Format_RGBA8888_Premultiplied, and QImage::Format_RGBX8888.

Referenced by QCoreTextFontEngine::imageForGlyph().

+ Here is the caller graph for this function:

◆ qt_mac_clip_cg()

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

Definition at line 357 of file qcoregraphics.mm.

References QRegion::isEmpty().

Referenced by QCoreGraphicsPaintEnginePrivate::setClip().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_mac_drawCGImage()

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

Definition at line 68 of file qcoregraphics.mm.

Referenced by QCoreGraphicsPaintEngine::drawImage(), QCoreGraphicsPaintEngine::drawPixmap(), qt_mac_draw_pattern(), and qt_mac_toQImage().

+ Here is the caller graph for this function:

◆ qt_mac_toCGImage()

Q_GUI_EXPORT CGImageRef qt_mac_toCGImage ( const QImage & qImage)

Definition at line 47 of file qcoregraphics.mm.

◆ qt_mac_toCGImageMask()

Q_GUI_EXPORT CGImageRef qt_mac_toCGImageMask ( const QImage & qImage)

Definition at line 57 of file qcoregraphics.mm.

◆ qt_mac_toQBrush()

Q_GUI_EXPORT QBrush qt_mac_toQBrush ( CGColorRef color)

Definition at line 263 of file qcoregraphics.mm.

References model, Q_ASSERT, qt_mac_toQColor(), qWarning, and Qt::SolidPattern.

Referenced by QIOSTheme::initializeSystemPalette(), qt_mac_createRolePalettes(), and qt_mac_createSystemPalette().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ qt_mac_toQColor()

Q_GUI_EXPORT QColor qt_mac_toQColor ( CGColorRef color)

◆ qt_mac_toQImage()

Q_GUI_EXPORT QImage qt_mac_toQImage ( CGImageRef image)

Definition at line 79 of file qcoregraphics.mm.