-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Color and Group class diagrams
- Loading branch information
Showing
4 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |