QtDraw3D Class Reference

[BlockOut Index] [BlockOut Heirarchy]


Implementation for Qt-Library. More...

#include <QtDraw3D.h>

Inherits: Draw3D

Public Members

Protected Members


Detailed Description

Implementation for Qt-Library.


QtDraw3D(QWidget* _widget=0)

Enables drawing, clears background.

void setForegroundColor(const Color& newColor)

@see Draw3D

void setBackgroundColor(const Color& newColor)

@see Draw3D

void saveInBuffer()

@see Draw3D

void restoreBuffer()

@see Draw3D

void startDrawing()

@see Draw3D

void endDrawing()

@see Draw3D

void clear()

@see Draw3D

void updateDisplay()

@see Draw3D

void connectToWidget(QWidget* _widget)

Sends all output to widget.

void updateSize()

Called if size of widget has been changed. Does not clears the background and not updates into widget.

QPixmap *displayedBuffer

Buffer which is displayed by updateDisplay in widget.

QPixmap *secondaryBuffer

Buffer where data is stored by saveInBuffer.

QWidget *widget

QWidget where displayedBuffer are bitBlt.

QPainter painter

Has valid context from startDrawing() to endDrawing.

void drawLine2D(const int x0, const int y0, const int x1, const int y1)

@see Draw3D

void drawLineStrip2D()

@see Draw3D

void drawFilledPolygon2D()

@see Draw3D


Documentation generated by skyhunter@Dagobah on Wed Sep 16 18:39:03 MEST 1998
Kdoc