Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] 'rasterOp' is not available in Qt4

Subject: CGAL users discussion list

List archive

[cgal-discuss] 'rasterOp' is not available in Qt4


Chronological Thread 
  • From: Mahmood Naderan <>
  • To: CGAL discuss <>
  • Subject: [cgal-discuss] 'rasterOp' is not available in Qt4
  • Date: Sat, 24 Jan 2009 10:06:15 -0800 (PST)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=BXoaFeD22M/ARmqu3fY3/ZEPqiFWnW2BqVQXvX0bT03xr4xSl22AFa0FXI7p8OchUx+b0Ghm7deZIRtI5+2M3kLuozfJiKWkyEHSIZD9RcQYpyYOlxCS2MLUtGK3aOJjPyKwwCfPLf/2+JG443LC7NoBKIgAIYNQCnpP0UDQpho=;

Hello,
What happened to "rasterOp" in Qt4? According to Trolltech manuals, it is
replaced by "enum QPainter::CompositionMode". In Qt_widget.h, two lines
causes the problem that "rasterOp" is no longer a member of "QPainter":

 

  RasterOp rasterOp() {return painter->rasterOp();}
  void setRasterOp(const RasterOp r) {painter->setRasterOp(r);}

 
I tried to replace them with appropriate functions, but had no success.
I can simply comment these two lines because I don't use them (at this time at least),
but I am looking for a more convenient way.
 
---------------------
Mahmood Naderan




Archive powered by MHonArc 2.6.16.

Top of Page