public override void PushOpacity(double opacity) { VerifyNotClosed(); if (innerContext != null) { innerContext.PushOpacity(opacity); return; } IDrawingContainerRenderElement child = GetChild(factory.CreateDrawingContainerRenderElement); SetInnerContext(child); child.Opacity = opacity; }
public override void PushTransform(Transform transform) { VerifyNotClosed(); if (innerContext != null) { innerContext.PushTransform(transform); return; } IDrawingContainerRenderElement child = GetChild(factory.CreateDrawingContainerRenderElement); SetInnerContext(child); child.Transform = transform; }
public override void PushClip(Geometry clipGeometry) { VerifyNotClosed(); if (innerContext != null) { innerContext.PushClip(clipGeometry); return; } IDrawingContainerRenderElement child = GetChild(factory.CreateDrawingContainerRenderElement); SetInnerContext(child); child.Clip = clipGeometry; }