<commit_before>﻿// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Draw2D.Core.Shapes;
using Draw2D.Core.Style;

namespace Draw2D.Core.Renderers
{
    public abstract class ShapeRenderer : ObservableObject
    {
        public abstract ISet<ShapeObject> Selected { get; set; }
        public abstract void InvalidateCache(DrawStyle style);
        public abstract void InvalidateCache(MatrixObject matrix);
        public abstract void InvalidateCache(ShapeObject shape, DrawStyle style, double dx, double dy);
        public abstract object PushMatrix(object dc, MatrixObject matrix);
        public abstract void PopMatrix(object dc, object state);
        public abstract void DrawLine(object dc, IPoint start, IPoint point, DrawStyle style, double dx, double dy);
        public abstract void DrawCubicBezier(object dc, IPoint start, IPoint point1, IPoint point2, IPoint point3, DrawStyle style, double dx, double dy);
        public abstract void DrawQuadraticBezier(object dc, IPoint start, IPoint point1, IPoint point2, DrawStyle style, double dx, double dy);
        public abstract void DrawPath(object dc, IPath path, DrawStyle style, double dx, double dy);
        public abstract void DrawRectangle(object dc, IPoint tl, IPoint br, DrawStyle style, double dx, double dy);
        public abstract void DrawEllipse(object dc, IPoint tl, IPoint br, DrawStyle style, double dx, double dy);
        public abstract void DrawText(object dc, IPoint tl, IPoint br, string text, DrawStyle style, double dx, double dy);
    }
}<commit_msg>Update ShapeRenderer.cs<commit_after>﻿// Copyright (c) <NAME>. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Generic;
using Draw2D.Core.Style;

namespace Draw2D.Core.Renderers
{
    public abstract class ShapeRenderer : ObservableObject
    {
        public abstract ISet<ShapeObject> Selected { get; set; }
        public abstract void InvalidateCache(DrawStyle style);
        public abstract void InvalidateCache(MatrixObject matrix);
        public abstract void InvalidateCache(ShapeObject shape, DrawStyle style, double dx, double dy);
        public abstract object PushMatrix(object dc, MatrixObject matrix);
        public abstract void PopMatrix(object dc, object state);
        public abstract void DrawLine(object dc, IPoint start, IPoint point, DrawStyle style, double dx, double dy);
        public abstract void DrawCubicBezier(object dc, IPoint start, IPoint point1, IPoint point2, IPoint point3, DrawStyle style, double dx, double dy);
        public abstract void DrawQuadraticBezier(object dc, IPoint start, IPoint point1, IPoint point2, DrawStyle style, double dx, double dy);
        public abstract void DrawPath(object dc, IPath path, DrawStyle style, double dx, double dy);
        public abstract void DrawRectangle(object dc, IPoint tl, IPoint br, DrawStyle style, double dx, double dy);
        public abstract void DrawEllipse(object dc, IPoint tl, IPoint br, DrawStyle style, double dx, double dy);
        public abstract void DrawText(object dc, IPoint tl, IPoint br, string text, DrawStyle style, double dx, double dy);
    }
}
{'fraction_non_alphanumeric': 0.06946107784431138, 'fraction_numerical': 0.004491017964071856, 'mean_word_length': 4.100763358778626, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2390201', 'n_tokens_mistral': 865, 'n_tokens_neox': 852, 'n_words': 375}