Skip to content

Commit

Permalink
Merge pull request #26 from ntkwan/class-diagrams
Browse files Browse the repository at this point in the history
Update Color and Group class diagrams
  • Loading branch information
ntkwan authored Dec 13, 2023
2 parents 9330e58 + f4edeab commit 29019b0
Show file tree
Hide file tree
Showing 4 changed files with 92 additions and 0 deletions.
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

0 comments on commit 29019b0

Please sign in to comment.