Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Color and Group class diagrams #26

Merged
merged 1 commit into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added docs/diagrams/Color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions docs/diagrams/Color.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
@startuml





/' Objects '/

class mColor {
+mColor()
+mColor(int red, int green, int blue, int alpha)
+mColor(int color)
+a : int
+b : int
+g : int
+r : int
+{static} Black : static const mColor
+{static} Blue : static const mColor
+{static} Cyan : static const mColor
+{static} Green : static const mColor
+{static} Magenta : static const mColor
+{static} Red : static const mColor
+{static} Transparent : static const mColor
+{static} White : static const mColor
+{static} Yellow : static const mColor
+operator<<(std::ostream& os, const mColor& color) : std :: ostream&
}





/' Inheritance relationships '/




/' Aggregation relationships '/

.mColor "9" *-- .mColor






/' Nested objects '/



@enduml
Binary file added docs/diagrams/Group.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
41 changes: 41 additions & 0 deletions docs/diagrams/Group.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
@startuml





/' Objects '/

class Group {
+Group()
+Group(Attributes attributes)
+~Group()
-attributes : Attributes
+getAttributes() : Attributes {query}
+getClass() : std::string {query}
+getElements() : std::vector<SVGElement*> {query}
-shapes : std::vector<SVGElement*>
+addElement(SVGElement* shape) : void
+printData() : void {query}
}





/' Inheritance relationships '/




/' Aggregation relationships '/





/' Nested objects '/



@enduml
Loading