bool clipToRectangleList (const RectangleList& clipRegion)
 {
     currentState->clipToRectList (rectListToPathGeometry (clipRegion));
     return ! isClipEmpty();
 }
bool Direct2DLowLevelGraphicsContext::clipToRectangleList (const RectangleList& clipRegion)
{
    renderingTarget->SetTransform (D2D1::IdentityMatrix());
    currentState->clipToRectList (rectListToPathGeometry (clipRegion));
    return ! isClipEmpty();
}