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

Corrected canvasProcessor usage

üst cd8b4a92
......@@ -58,39 +58,9 @@ namespace sdr
}
else
{
#ifdef WIN32
// for a first AA incarnation VCL-PixelRenderer will be okay since
// 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 sdr
......
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