Skip to content

Commit

Permalink
update README (#9)
Browse files Browse the repository at this point in the history
* update README

* add links to assets
  • Loading branch information
Sid-Bhatia-0 authored Jun 23, 2021
1 parent 90e8d17 commit 00cd11b
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,72 @@
# SimpleDraw

This package provides fast drawing methods for the following simple shapes:

1. Line
1. Circle
1. FilledCircle
1. Rectangle
1. FilledRectangle

### Line

```
struct Line{I <: Integer} <: AbstractShape
i1::I
j1::I
i2::I
j2::I
end
```

<img src="https://user-images.githubusercontent.com/32610387/123078332-7d471680-d438-11eb-9216-0f0b41efdbd6.png">

### Circle

```
struct Circle{I <: Integer} <: AbstractShape
i_center::I
j_center::I
radius::I
end
```

<img src="https://user-images.githubusercontent.com/32610387/123078423-95b73100-d438-11eb-8329-546982bbb00c.png">

### FilledCircle

```
struct FilledCircle{I <: Integer} <: AbstractShape
i_center::I
j_center::I
radius::I
end
```

<img src="https://user-images.githubusercontent.com/32610387/123078474-a2d42000-d438-11eb-88cf-d0635380a21f.png">

### Rectangle

```
struct Rectangle{I <: Integer} <: AbstractShape
i_top_left::I
j_top_left::I
height::I
width::I
end
```

<img src="https://user-images.githubusercontent.com/32610387/123078509-ac5d8800-d438-11eb-814f-b7fa32857878.png">

### FilledRectangle

```
struct FilledRectangle{I <: Integer} <: AbstractShape
i_top_left::I
j_top_left::I
height::I
width::I
end
```

<img src="https://user-images.githubusercontent.com/32610387/123078547-b67f8680-d438-11eb-94be-af77c473d0e9.png">

2 comments on commit 00cd11b

@Sid-Bhatia-0
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/39473

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.1.0 -m "<description of version>" 00cd11b5d5492beefa33827947aa201f743faa42
git push origin v0.1.0

Please sign in to comment.