Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] drawLine() does not work

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] drawLine() does not work


Chronological Thread 
  • From: Laurent Rineau <>
  • To:
  • Subject: Re: [cgal-discuss] drawLine() does not work
  • Date: Mon, 31 Dec 2007 13:14:51 +0100
  • Organization: Inria, Sophia Antipolis, FRANCE

On Monday 31 December 2007 09:25:18 Mahmood NT wrote:
> >Why do you want to use widget->get_painter() directly? Maybe you should
>
> use
>
> >the native Qt drawing tools. If you want to use native drawings with
> >CGAL::Qt_widget IO operators, you may want to use the following
>
> functions:
> > int widget->x_pixel ( double x)
> >and int widget->y_pixel ( double y).
>
> Thanks, what is the rule of "widget->x_pixel" and "widget->y_pixel". Are
> they the same as "moveTo()"?
>
> Is there any manual about qt functions in CGAL? I mean does CGAL use native
> QT functions or it has specific functions that are not in QT? You mean that
> "widget->get_painter()" is not a native QT function?

I let you read the documentation of CGAL::Qt_widget:
http://www.cgal.org/Manual/3.3/doc_html/cgal_manual/Qt_widget/Chapter_main.html

--
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)



Archive powered by MHonArc 2.6.16.

Top of Page