public override void BasicDrawSelected(Cairo.Context context) { context.LineWidth = 1.0; RectangleD rect = DisplayBox; rect.OffsetDot5(); context.Rectangle(GdkCairoHelper.CairoRectangle(rect)); context.Stroke(); }
protected override void DrawFrame(Cairo.Context context, double lineWidth, Cairo.Color lineColor, Cairo.Color fillColor) { RectangleD rect = DisplayBox; rect.OffsetDot5(); context.Rectangle(GdkCairoHelper.CairoRectangle(rect)); context.Color = fillColor; context.FillPreserve(); context.Color = lineColor; context.LineWidth = lineWidth; context.Stroke(); }
public virtual void Draw(Context context, IDrawingView view) { RectangleD rect = ViewDisplayBox(view); context.Save(); context.LineWidth = LineWidth; context.Rectangle(GdkCairoHelper.CairoRectangle(rect)); context.Color = FillColor; context.FillPreserve(); context.Color = LineColor; context.Stroke(); context.Restore(); }
public override void BasicDraw(Context context) { RectangleD displayBox = DisplayBox; context.LineWidth = LineWidth; context.Save(); displayBox.OffsetDot5(); context.Rectangle(GdkCairoHelper.CairoRectangle(displayBox)); context.Restore(); context.Color = FillColor; context.FillPreserve(); context.Color = LineColor; context.Stroke(); }
public override void BasicDrawSelected(Cairo.Context context) { context.Rectangle(GdkCairoHelper.CairoRectangle(DisplayBox)); }