AuthoringOM\Design\DesignerHelpers.cs (7)
328AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
454excludePath.AddPath(GetRoundedRectanglePath(shadowSourceRectangle, AmbientTheme.ArcDiameter), true);
475shadowPath.AddPath(GetRoundedRectanglePath(shadowRectangle, AmbientTheme.ArcDiameter), true);
516DrawImage(graphics, compositeDesignerTheme.WatermarkImage, bounds, new Rectangle(Point.Empty, compositeDesignerTheme.WatermarkImage.Size), compositeDesignerTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false);
571designerPath.AddPath(GetRoundedRectanglePath(bounds, AmbientTheme.ArcDiameter), true);
1185AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
1511image.MakeTransparent(AmbientTheme.TransparentColor);
AuthoringOM\Design\Glyphs\ShadowGlyph.cs (4)
32bounds.Inflate(AmbientTheme.DropShadowWidth + 1, AmbientTheme.DropShadowWidth + 1);
36protected override void OnPaint(Graphics graphics, bool activated, AmbientTheme ambientTheme, ActivityDesigner designer)
42ActivityDesignerPaint.DrawDropShadow(graphics, designer.Bounds, designer.DesignerTheme.BorderPen.Color, AmbientTheme.DropShadowWidth, LightSourcePosition.Left | LightSourcePosition.Top, 0.5f, drawRounded);
AuthoringOM\Design\MessageFilters\AutoScrollExpandMessageFilter.cs (12)
64protected override bool OnPaintWorkflowAdornments(PaintEventArgs e, Rectangle viewPort, AmbientTheme ambientTheme)
137AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
189scrollPosition.X = scrollPosition.X - AmbientTheme.ScrollUnit;
191scrollPosition.X = scrollPosition.X + AmbientTheme.ScrollUnit;
194scrollPosition.Y = scrollPosition.Y - AmbientTheme.ScrollUnit;
196scrollPosition.Y = scrollPosition.Y + AmbientTheme.ScrollUnit;
203Image indicator = AmbientTheme.ScrollIndicatorImage;
214ActivityDesignerPaint.DrawImage(graphics, AmbientTheme.ScrollIndicatorImage, scrollIndicatorRectangles[0], AmbientTheme.ScrollIndicatorTransparency);
219ActivityDesignerPaint.DrawImage(graphics, indicator, scrollIndicatorRectangles[1], AmbientTheme.ScrollIndicatorTransparency);
227ActivityDesignerPaint.DrawImage(graphics, indicator, scrollIndicatorRectangles[2], AmbientTheme.ScrollIndicatorTransparency);
234ActivityDesignerPaint.DrawImage(graphics, indicator, scrollIndicatorRectangles[3], AmbientTheme.ScrollIndicatorTransparency);
AuthoringOM\Design\WorkflowLayouts.cs (11)
143graphics.FillRectangle(AmbientTheme.WorkspaceBackgroundBrush, workspaceRectangle);
174AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
178ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, this.parentView.RootDesigner.Bounds, new Rectangle(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false);
260ActivityDesignerPaint.DrawDropShadow(graphics, rootBounds, AmbientTheme.WorkflowBorderPen.Color, AmbientTheme.DropShadowWidth, LightSourcePosition.Left | LightSourcePosition.Top, 0.2f, false);
263graphics.DrawRectangle(AmbientTheme.WorkflowBorderPen, rootBounds);
516AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
575ActivityDesignerPaint.DrawImage(graphics, ambientTheme.WorkflowWatermarkImage, viewPortBitmapArea, new Rectangle(Point.Empty, ambientTheme.WorkflowWatermarkImage.Size), ambientTheme.WatermarkAlignment, AmbientTheme.WatermarkTransparency, false);
590AmbientTheme ambientTheme = WorkflowTheme.CurrentTheme.AmbientTheme;
597graphics.FillRectangle(AmbientTheme.WorkspaceBackgroundBrush, workspaceRectangle);
648ActivityDesignerPaint.DrawDropShadow(graphics, pageLayoutData.PageBounds, Color.Black, AmbientTheme.DropShadowWidth, LightSourcePosition.Left | LightSourcePosition.Top, 0.2f, false);