Qt 4.8
|
#include <qbitmap.h>
#include <qpaintdevice.h>
#include <private/qpaintengine_mac_p.h>
#include <qpainterpath.h>
#include <qpixmapcache.h>
#include <private/qpaintengine_raster_p.h>
#include <private/qprintengine_mac_p.h>
#include <qprinter.h>
#include <qstack.h>
#include <qtextcodec.h>
#include <qwidget.h>
#include <qvarlengtharray.h>
#include <qdebug.h>
#include <qcoreapplication.h>
#include <qmath.h>
#include <private/qfont_p.h>
#include <private/qfontengine_p.h>
#include <private/qfontengine_coretext_p.h>
#include <private/qfontengine_mac_p.h>
#include <private/qnumeric_p.h>
#include <private/qpainter_p.h>
#include <private/qpainterpath_p.h>
#include <private/qpixmap_mac_p.h>
#include <private/qt_mac_p.h>
#include <private/qtextengine_p.h>
#include <private/qwidget_p.h>
#include <private/qt_cocoa_helpers_mac_p.h>
#include <string.h>
Go to the source code of this file.
Classes | |
class | QMacPattern |
struct | qt_mac_cg_transform_path |
Macros | |
#define | QMACPATTERN_MASK_MULTIPLIER 32 |
Enumerations | |
enum | CGCompositeMode { kCGCompositeModeClear = 0, kCGCompositeModeCopy = 1, kCGCompositeModeSourceOver = 2, kCGCompositeModeSourceIn = 3, kCGCompositeModeSourceOut = 4, kCGCompositeModeSourceAtop = 5, kCGCompositeModeDestinationOver = 6, kCGCompositeModeDestinationIn = 7, kCGCompositeModeDestinationOut = 8, kCGCompositeModeDestinationAtop = 9, kCGCompositeModeXOR = 10, kCGCompositeModePlusDarker = 11, kCGCompositeModePlusLighter = 12 } |
Variables | |
int | qt_antialiasing_threshold |
#define QMACPATTERN_MASK_MULTIPLIER 32 |
Definition at line 424 of file qpaintengine_mac.cpp.
Referenced by QMacPattern::height(), qt_mac_draw_pattern(), and QMacPattern::width().
enum CGCompositeMode |
Definition at line 1187 of file qpaintengine_mac.cpp.
|
inlinestatic |
Definition at line 160 of file qpaintengine_mac.cpp.
Referenced by QCoreGraphicsPaintEngine::drawPixmap(), qt_mac_draw_pattern(), QCoreGraphicsPaintEnginePrivate::setFillBrush(), and QCoreGraphicsPaintEnginePrivate::setStrokePen().
void CGContextSetCompositeOperation | ( | CGContextRef | , |
int | |||
) |
Referenced by QCoreGraphicsPaintEngine::updateCompositionMode().
|
static |
Definition at line 1001 of file qpaintengine_mac.cpp.
Referenced by qt_mac_createCGImageFromQImage().
CGContextRef qt_mac_cg_context | ( | const QPaintDevice * | pdev | ) |
Returns the CoreGraphics CGContextRef of the paint device.
0 is returned if it can't be obtained. It is the caller's responsiblity to CGContextRelease the context when finished using it.
Definition at line 118 of file qpaintdevice_mac.cpp.
Referenced by QCoreGraphicsPaintEngine::begin(), and qt_mac_draw_pattern().
|
inlinestatic |
Definition at line 534 of file qpaintengine_mac.cpp.
void qt_mac_cg_transform_path_apply | ( | void * | info, |
const CGPathElement * | element | ||
) |
Definition at line 1640 of file qpaintengine_mac.cpp.
Referenced by QCoreGraphicsPaintEnginePrivate::drawPath().
void qt_mac_clip_cg | ( | CGContextRef | hd, |
const QRegion & | rgn, | ||
CGAffineTransform * | orig_xform | ||
) |
Definition at line 381 of file qpaintengine_mac.cpp.
Referenced by QMacCGContext::QMacCGContext(), and QCoreGraphicsPaintEnginePrivate::setClip().
CGColorSpaceRef qt_mac_colorSpaceForDeviceType | ( | const QPaintDevice * | paintDevice | ) |
Definition at line 153 of file qpaintengine_mac.cpp.
Referenced by cgColorForQColor(), QMacCGContext::QMacCGContext(), qt_mac_cg_context(), qt_mac_qd_context(), and QCoreGraphicsPaintEnginePrivate::setFillBrush().
|
static |
Definition at line 252 of file qpaintengine_mac.cpp.
Referenced by QCoreGraphicsPaintEngine::drawPath(), and QCoreGraphicsPaintEngine::updateClipPath().
Definition at line 247 of file qpaintengine_mac.cpp.
Referenced by QCoreGraphicsPaintEngine::drawRects().
|
inlinestatic |
Definition at line 148 of file qpaintengine_mac.cpp.
|
inlinestatic |
Definition at line 147 of file qpaintengine_mac.cpp.
Referenced by cgColorForQColor(), and QCoreGraphicsPaintEnginePrivate::setFillBrush().
CGAffineTransform qt_mac_convert_transform_to_cg | ( | const QTransform & | t | ) |
Definition at line 149 of file qpaintengine_mac.cpp.
Referenced by QCoreGraphicsPaintEnginePrivate::drawPath(), QCoreGraphicsPaintEnginePrivate::setFillBrush(), and QCoreGraphicsPaintEnginePrivate::setTransform().
CGImageRef qt_mac_create_imagemask | ( | const QPixmap & | px, |
const QRectF & | sr | ||
) |
Definition at line 1077 of file qpixmap_mac.cpp.
Referenced by QCoreGraphicsPaintEngine::drawPixmap(), and qt_mac_draw_pattern().
CGImageRef qt_mac_createCGImageFromQImage | ( | const QImage & | img, |
const QImage ** | imagePtr = 0 |
||
) |
Definition at line 1006 of file qpaintengine_mac.cpp.
Referenced by QMacPasteboardMimeHTMLText::convertFromMime(), QMacPasteboardMimeTiff::convertFromMime(), and QCoreGraphicsPaintEngine::drawImage().
|
static |
Definition at line 524 of file qpaintengine_mac.cpp.
Referenced by QCoreGraphicsPaintEngine::drawTiledPixmap(), and QCoreGraphicsPaintEnginePrivate::setFillBrush().
void qt_mac_dispose_rgn | ( | RgnHandle | r | ) |
|
static |
Definition at line 459 of file qpaintengine_mac.cpp.
Referenced by QCoreGraphicsPaintEngine::drawTiledPixmap(), and QCoreGraphicsPaintEnginePrivate::setFillBrush().
|
static |
Definition at line 1506 of file qpaintengine_mac.cpp.
Referenced by QCoreGraphicsPaintEnginePrivate::setFillBrush().
Definition at line 380 of file qwidget_mac.mm.
Referenced by make_widget_eventUPP(), and qt_mac_get_widget_rgn().
OSWindowRef qt_mac_window_for | ( | const QWidget * | ) |
Definition at line 484 of file qwidget_mac.mm.
Referenced by QCoreGraphicsPaintEngine::end().
QPixmap qt_pixmapForBrush | ( | int | , |
bool | |||
) |
Definition at line 99 of file qbrush.cpp.
int qt_antialiasing_threshold |
Definition at line 495 of file qapplication.cpp.
Referenced by QCoreGraphicsPaintEngine::drawTextItem().