Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] get_painter().drawPoint

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] get_painter().drawPoint


Chronological Thread 
  • From: Laurent Rineau <>
  • To:
  • Subject: Re: [cgal-discuss] get_painter().drawPoint
  • Date: Sun, 23 Dec 2007 13:53:24 +0100
  • Organization: Inria, Sophia Antipolis, FRANCE

On Sunday 23 December 2007 13:24:10 Mahmood NT wrote:
> Hello,
> I want to show a point, and found that the function is
> get_painter().showPoint(int, int); but I do not know how to use it. Also I
> did not found this function as a standard function in QT include directory.
> So I think it is wrote for CGAL.

QT include directory is not a documentation of QT. See the manual here:
http://doc.trolltech.com/3.3/qpainter.html#drawPoint

If you want to display a CGAL point p in a CGAL::Qt_widget widget, use the
following.

widget << p;

--
Laurent Rineau
INRIA - Sophia Antipolis
BP 93, 2004 Route des Lucioles
06902 Sophia Antipolis Cedex FRANCE
Tel: +33 4 92 38 78 62 (Fax: +33.4.97.15.53.95)


  • get_painter().drawPoint, Mahmood NT, 12/23/2007
    • Re: [cgal-discuss] get_painter().drawPoint, Laurent Rineau, 12/23/2007

Archive powered by MHonArc 2.6.16.

Top of Page