4#ifndef QCOREGRAPHICS_P_H
5#define QCOREGRAPHICS_P_H
18#include <QtCore/private/qcore_mac_p.h>
20#include <QtGui/private/qtguiglobal_p.h>
21#include <QtGui/qregion.h>
22#include <QtGui/qpalette.h>
24#include <CoreGraphics/CoreGraphics.h>
27# if defined(Q_OS_MACOS)
29# elif defined(QT_PLATFORM_UIKIT)
30# include <UIKit/UIKit.h>
38#ifdef QT_PLATFORM_UIKIT
48#define imageFromQImage QT_MANGLE_NAMESPACE(imageFromQImage)
49#define imageFromQIcon QT_MANGLE_NAMESPACE(imageFromQIcon)
51@interface NSImage (QtExtras)
52+ (instancetype)imageFromQImage:(const QT_PREPEND_NAMESPACE(
QImage) &)image;
53+ (instancetype)imageFromQIcon:(const QT_PREPEND_NAMESPACE(
QIcon) &)icon;
54+ (instancetype)imageFromQIcon:(const QT_PREPEND_NAMESPACE(
QIcon) &)icon withSize:(
int)size;
The QColor class provides colors based on RGB, HSV or CMYK values.
The QIcon class provides scalable icons in different modes and states.
The QPainter class performs low-level painting on widgets and other paint devices.
ColorGroup
\value Disabled \value Active \value Inactive \value Normal synonym for Active
Returns a copy of the pixmap that is transformed using the given transformation transform and transfo...
The QRegion class specifies a clip region for a painter.
Combined button and popup list for selecting options.
void qt_mac_drawCGImage(CGContextRef inContext, const CGRect *inBounds, CGImageRef inImage)
QBrush qt_mac_toQBrush(CGColorRef color)
void qt_mac_clip_cg(CGContextRef hd, const QRegion &rgn, CGAffineTransform *orig_xform)
QColor qt_mac_toQColor(CGColorRef color)
QImage qt_mac_toQImage(CGImageRef image)
CGImageRef qt_mac_toCGImage(const QImage &inImage)
CGImageRef qt_mac_toCGImageMask(const QImage &image)
Q_GUI_EXPORT QImage qt_mac_toQImage(CGImageRef image)
QT_BEGIN_NAMESPACE Q_GUI_EXPORT CGBitmapInfo qt_mac_bitmapInfoForImage(const QImage &image)
GLenum GLuint GLintptr GLsizeiptr size
[1]
struct CGContext * CGContextRef