Kaydet (Commit) 7903c33f authored tarafından Armin Le Grand's avatar Armin Le Grand

Corrected canvasProcessor usage

üst cd8b4a92
...@@ -58,38 +58,8 @@ namespace sdr ...@@ -58,38 +58,8 @@ namespace sdr
} }
else else
{ {
#ifdef WIN32 // create Pixel Vcl-Processor
// for a first AA incarnation VCL-PixelRenderer will be okay since return new drawinglayer::processor2d::VclPixelProcessor2D(rViewInformation2D, rTargetOutDev);
// simple (and fast) GDIPlus support over VCL will be used.
// Leaving the code below as a hint for what to do when we will
// use canvas renderers in the future
//static SvtOptionsDrawinglayer aSvtOptionsDrawinglayer;
//if(false && aSvtOptionsDrawinglayer.IsAntiAliasing())
//{
// // for WIN32 AA, create cairo canvas processor
// return new drawinglayer::processor2d::canvasProcessor2D(rViewInformation2D, rTargetOutDev);
//}
//else
//{
// create Pixel Vcl-Processor
return new drawinglayer::processor2d::VclPixelProcessor2D(rViewInformation2D, rTargetOutDev);
//}
#else
static bool bTryTestCanvas(false);
if(bTryTestCanvas)
{
// create test-cancas-Processor
return new drawinglayer::processor2d::canvasProcessor2D(rViewInformation2D, rTargetOutDev);
}
else
{
// create Pixel Vcl-Processor
return new drawinglayer::processor2d::VclPixelProcessor2D(rViewInformation2D, rTargetOutDev);
}
#endif
} }
} }
} // end of namespace contact } // end of namespace contact
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment