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.mm File Reference

(ad9d23f7fb3385fc6d4ad1cd63f0d24e88a62386)

#include "qcoregraphics_p.h"
#include <private/qcore_mac_p.h>
#include <qpa/qplatformpixmap.h>
#include <QtGui/qicon.h>
#include <QtGui/private/qpaintengine_p.h>
#include <QtCore/qdebug.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qoperatingsystemversion.h>
#include <QtGui/qcolorspace.h>
#include <QtGui/private/qicon_p.h>
#include <Accelerate/Accelerate.h>
Include dependency graph for qcoregraphics.mm:

Go to the source code of this file.

Functions

QT_USE_NAMESPACE QT_BEGIN_NAMESPACE std::optional< vImage_CGImageFormat > qt_mac_cgImageFormatForImage (const QImage &image)
CGImageRef qt_mac_toCGImage (const QImage &inImage)
void qt_mac_drawCGImage (CGContextRef inContext, const CGRect *inBounds, CGImageRef inImage)
QImage::Format qt_mac_imageFormatForCGImage (CGImageRef image)
QImage qt_mac_toQImage (CGImageRef cgImage)
QImage qt_mac_padToSquareImage (const QImage &image)
QColor qt_mac_toQColor (CGColorRef color)
QBrush qt_mac_toQBrush (CGColorRef color)
void qt_mac_clip_cg (CGContextRef hd, const QRegion &rgn, CGAffineTransform *orig_xform)
void qt_mac_scale_region (QRegion *region, qreal scaleFactor)

Function Documentation

◆ qt_mac_cgImageFormatForImage()

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

Definition at line 30 of file qcoregraphics.mm.

◆ qt_mac_clip_cg()

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

Definition at line 621 of file qcoregraphics.mm.

◆ qt_mac_drawCGImage()

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

Definition at line 151 of file qcoregraphics.mm.

◆ qt_mac_imageFormatForCGImage()

QImage::Format qt_mac_imageFormatForCGImage ( CGImageRef image)

Definition at line 162 of file qcoregraphics.mm.

◆ qt_mac_padToSquareImage()

QImage qt_mac_padToSquareImage ( const QImage & image)

Definition at line 307 of file qcoregraphics.mm.

◆ qt_mac_scale_region()

void qt_mac_scale_region ( QRegion * region,
qreal scaleFactor )

Definition at line 649 of file qcoregraphics.mm.

◆ qt_mac_toCGImage()

CGImageRef qt_mac_toCGImage ( const QImage & inImage)

Definition at line 141 of file qcoregraphics.mm.

◆ qt_mac_toQBrush()

QBrush qt_mac_toQBrush ( CGColorRef color)

Definition at line 527 of file qcoregraphics.mm.

◆ qt_mac_toQColor()

QColor qt_mac_toQColor ( CGColorRef color)

Definition at line 470 of file qcoregraphics.mm.

◆ qt_mac_toQImage()

QImage qt_mac_toQImage ( CGImageRef cgImage)

Definition at line 264 of file qcoregraphics.mm.