QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
RPainterPathEngine Class Reference

Copyright (c) 2011-2018 by Andrew Mustun. More...

#include <RPainterPathEngine.h>

Inheritance diagram for RPainterPathEngine:

Public Member Functions

virtual bool begin (QPaintDevice *device)
 
virtual void drawPath (const QPainterPath &path)
 
virtual void drawPixmap (const QRectF &r, const QPixmap &pm, const QRectF &sr)
 
virtual void drawPolygon (const QPointF *points, int pointCount, PolygonDrawMode mode)
 
virtual bool end ()
 
QList< RPainterPathgetPainterPaths ()
 
 RPainterPathEngine ()
 Copyright (c) 2011-2018 by Andrew Mustun.
 
void setStrokePolygon (bool on)
 
virtual QPaintEngine::Type type () const
 
virtual void updateState (const QPaintEngineState &state)
 
virtual ~RPainterPathEngine ()
 

Private Attributes

QList< RPainterPathpaths
 
bool strokePolygon
 
QTransform transform
 

Detailed Description

Copyright (c) 2011-2018 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD. Experimental.

Constructor & Destructor Documentation

◆ RPainterPathEngine()

RPainterPathEngine::RPainterPathEngine ( )

Copyright (c) 2011-2018 by Andrew Mustun.

All rights reserved.

This file is part of the QCAD project.

QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with QCAD.

◆ ~RPainterPathEngine()

RPainterPathEngine::~RPainterPathEngine ( )
virtual

Member Function Documentation

◆ begin()

bool RPainterPathEngine::begin ( QPaintDevice * device)
virtual

◆ drawPath()

void RPainterPathEngine::drawPath ( const QPainterPath & path)
virtual

◆ drawPixmap()

void RPainterPathEngine::drawPixmap ( const QRectF & r,
const QPixmap & pm,
const QRectF & sr )
virtual

◆ drawPolygon()

void RPainterPathEngine::drawPolygon ( const QPointF * points,
int pointCount,
PolygonDrawMode mode )
virtual

◆ end()

bool RPainterPathEngine::end ( )
virtual

◆ getPainterPaths()

QList< RPainterPath > RPainterPathEngine::getPainterPaths ( )

◆ setStrokePolygon()

void RPainterPathEngine::setStrokePolygon ( bool on)
inline

◆ type()

QPaintEngine::Type RPainterPathEngine::type ( ) const
virtual

◆ updateState()

void RPainterPathEngine::updateState ( const QPaintEngineState & state)
virtual

Member Data Documentation

◆ paths

QList<RPainterPath> RPainterPathEngine::paths
private

◆ strokePolygon

bool RPainterPathEngine::strokePolygon
private

◆ transform

QTransform RPainterPathEngine::transform
private

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