private void RenderCircle(CanvasDrawingSession session) { #if DRAW_OUTLINE session.DrawRectangle(renderBounds.ToRect(), Colors.Orange); #endif session.FillCircle(renderCenter, renderRadius, Colors.White); session.DrawCircle(renderCenter, renderRadius, Colors.DarkGray); }
public void Render(Win2DRenderable renderable, CanvasDrawingSession session) { #if DRAW_OUTLINE session.DrawRectangle(renderBounds.ToRect(), Colors.Turquoise); #endif var color = renderable.Node.HasNotes ? Colors.Black : Colors.Gray; session.DrawText(Glyph, renderPosition.X, renderPosition.Y, color, TextFormat); }