我正在定制QuantumGIS,它使用Qt的Qpainter来绘制和绘制...我正在尝试在画布上绘制一条折线,该画布作为更新通过消息queues..the draw is very fine...but in the polyline or polygon objects还包括一个用于旋转对象的角度字段问题是,当我试图在qpainter使用painter.rotate()方法绘制折线之前旋转直线时,直线旋转得很好,但是changes..and绘制的直线的</em
这应该很简单:我使用QGLWidget来绘制一些openGL图形,并且我希望能够在渲染的openGL图形上编写一些东西,所以我使用了QPainter中的Qt演示中的覆盖。QPainter painter(this);
}
------------------------------------------------Base class call, this calls initializeGL ONCE and t