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
QClipData Class Reference

#include <qpaintengine_raster_p.h>

+ Collaboration diagram for QClipData:

Classes

struct  ClipLine
 

Public Member Functions

 QClipData (int height)
 
 ~QClipData ()
 
void initialize ()
 
ClipLineclipLines ()
 
QT_FT_Spanspans ()
 
void appendSpan (int x, int length, int y, int coverage)
 
void appendSpans (const QT_FT_Span *s, int num)
 
void setClipRect (const QRect &rect)
 
void setClipRegion (const QRegion &region)
 
void fixup ()
 

Public Attributes

int clipSpanHeight
 
struct QClipData::ClipLinem_clipLines
 
int allocated
 
int count
 
QT_FT_Spanm_spans
 
int xmin
 
int xmax
 
int ymin
 
int ymax
 
QRect clipRect
 
QRegion clipRegion
 
uint enabled: 1
 
uint hasRectClip: 1
 
uint hasRegionClip: 1
 

Detailed Description

Definition at line 310 of file qpaintengine_raster_p.h.

Constructor & Destructor Documentation

◆ QClipData()

QClipData::QClipData ( int height)

◆ ~QClipData()

QClipData::~QClipData ( )

Definition at line 3781 of file qpaintengine_raster.cpp.

Member Function Documentation

◆ appendSpan()

void QClipData::appendSpan ( int x,
int length,
int y,
int coverage )
inline

Definition at line 358 of file qpaintengine_raster_p.h.

References allocated, and count.

◆ appendSpans()

void QClipData::appendSpans ( const QT_FT_Span * s,
int num )
inline

Definition at line 373 of file qpaintengine_raster_p.h.

References allocated, and count.

◆ clipLines()

ClipLine * QClipData::clipLines ( )
inline

Definition at line 323 of file qpaintengine_raster_p.h.

References initialize().

+ Here is the call graph for this function:

◆ fixup()

void QClipData::fixup ( )

Definition at line 3900 of file qpaintengine_raster.cpp.

References QClipData::ClipLine::count, count, hasRectClip, xmax, xmin, ymax, and ymin.

◆ initialize()

void QClipData::initialize ( )

Definition at line 3789 of file qpaintengine_raster.cpp.

Referenced by clipLines(), qt_intersect_spans(), qt_span_clip(), and spans().

+ Here is the caller graph for this function:

◆ setClipRect()

void QClipData::setClipRect ( const QRect & rect)

Definition at line 3953 of file qpaintengine_raster.cpp.

References clipSpanHeight, hasRectClip, hasRegionClip, xmax, xmin, ymax, and ymin.

◆ setClipRegion()

void QClipData::setClipRegion ( const QRegion & region)

Definition at line 3979 of file qpaintengine_raster.cpp.

References hasRectClip, hasRegionClip, xmax, xmin, ymax, and ymin.

◆ spans()

QT_FT_Span * QClipData::spans ( )
inline

Definition at line 329 of file qpaintengine_raster_p.h.

References initialize().

+ Here is the call graph for this function:

Member Data Documentation

◆ allocated

int QClipData::allocated

Definition at line 335 of file qpaintengine_raster_p.h.

Referenced by QClipData(), appendSpan(), appendSpans(), and qt_span_clip().

◆ clipRect

QRect QClipData::clipRect

Definition at line 340 of file qpaintengine_raster_p.h.

◆ clipRegion

QRegion QClipData::clipRegion

Definition at line 341 of file qpaintengine_raster_p.h.

◆ clipSpanHeight

int QClipData::clipSpanHeight

Definition at line 315 of file qpaintengine_raster_p.h.

Referenced by QClipData(), and setClipRect().

◆ count

int QClipData::count

◆ enabled

uint QClipData::enabled

Definition at line 343 of file qpaintengine_raster_p.h.

Referenced by QClipData().

◆ hasRectClip

◆ hasRegionClip

uint QClipData::hasRegionClip

Definition at line 345 of file qpaintengine_raster_p.h.

Referenced by QClipData(), setClipRect(), and setClipRegion().

◆ m_clipLines

struct QClipData::ClipLine * QClipData::m_clipLines

◆ m_spans

QT_FT_Span* QClipData::m_spans

Definition at line 337 of file qpaintengine_raster_p.h.

◆ xmax

◆ xmin

◆ ymax

◆ ymin


The documentation for this class was generated from the following files: