Ejemplo n.º 1
0
/// \todo Dead code? not called anywhere ?
void Graph::paintvect(int x0, int y0, QPainter *p) const
{
    if(!ScrPoints.size())
    return;

  if(ElemSelected) {
    /// \todo p->setPen(QPen(Qt::darkGray,Thick*p->PrintScale+4));
    drawvect(x0, y0, p);

    /// /todo p->setPen(QPen(Qt::white, Thick*p->PrintScale, Qt::SolidLine));
    drawvect(x0, y0, p);
    return;
  }

  // **** not selected ****
  /// \todo p->Painter->setPen(QPen(QColor(Color), Thick*p->PrintScale, Qt::SolidLine));
  drawvect(x0, y0, p);
}
Ejemplo n.º 2
0
int warpvect(double E[], double N[], int trans_order)
{
    return (drawvect(DO_WARP, VIEW_MAP1, E, N, trans_order));
}
Ejemplo n.º 3
0
int re_fresh_vect(void)
{
    return (drawvect
	    (DO_REFRESH, (View *) NULL, (double *)NULL, (double *)NULL, 0));
}
Ejemplo n.º 4
0
int zoomvect(View * zoom_view)
{
    return (drawvect(DO_ZOOM, zoom_view, (double *)NULL, (double *)NULL, 0));
}
Ejemplo n.º 5
0
int plotvect(void)
{
    return (drawvect
	    (DO_NEW, (View *) NULL, (double *)NULL, (double *)NULL, 0));
}