⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qcanvasline.3qt

📁 qt-embedded-2.3.8.tar.gz源码
💻 3QT
字号:
'\" t.TH QCanvasLine 3qt "5 August 2004" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQCanvasLine \- A lines on a canvas.br.PP\fC#include <qcanvas.h>\fR.PPInherits QCanvasPolygonalItem..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQCanvasLine\fR ( QCanvas * canvas ) ".br.ti -1c.BI "\fB~QCanvasLine\fR () ".br.ti -1c.BI "void \fBsetPoints\fR ( int " "x1" ", int " "y1" ", int " "x2" ", int y2 ) ".br.ti -1c.BI "QPoint \fBstartPoint\fR () const".br.ti -1c.BI "QPoint \fBendPoint\fR () const".br.ti -1c.BI "virtual int \fBrtti\fR () const".br.in -1c.SH DESCRIPTIONA lines on a canvas..PPCurrently, only width==1 lines are supported..SH MEMBER FUNCTION DOCUMENTATION.SH "QCanvasLine::QCanvasLine ( QCanvas * canvas )"Constructs a line from (0,0) to (0,0) on \fIcanvas.\fR.PPSee also setPoints()..SH "QCanvasLine::~QCanvasLine ()"Destroys the line, removing it from its canvas..SH "QPointArray QCanvasLine::areaPoints () const \fC[virtual protected]\fR"Reimplemented for internal reasons; the API is not affected..PPNote that the area defined by the line is somewhat thicker than the line that is actually drawn..PPReimplemented from QCanvasPolygonalItem..SH "void QCanvasLine::drawShape ( QPainter & p ) \fC[virtual protected]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QCanvasPolygonalItem..SH "QPoint QCanvasLine::endPoint () const"Returns the end of the line..PPSee also setPoints() and startPoint()..SH "int QCanvasLine::rtti () const \fC[virtual]\fR"Returns 7..PPSee also QCanvasItem::rtti()..PPReimplemented from QCanvasItem..SH "void QCanvasLine::setPen ( QPen p ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QCanvasPolygonalItem..SH "void QCanvasLine::setPoints ( int xa, int ya, int xb, int yb )"Sets the ends of the line to (\fIxa, ya)\fR and (\fIxb, yb).\fR.SH "QPoint QCanvasLine::startPoint () const"Returns the start of the line..PPSee also  setPoints() and endPoint()..SH "SEE ALSO".BR http://doc.trolltech.com/qcanvasline.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qcanvasline.3qt) and the Qtversion (2.3.8).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -