Gaphas
gaphas-canvas
1
Item
Canvas
GtkView
1
Tool
1
Painter
Handle
position
Point
painter
1
1
composite
*
*
composite
items
*
*
canvas
*
*
*
*
model
1
1
Solver
composite
paint
return
ItemPainter
HandlePainter
PainterChain
DefaultPainter
composite
composite
Constraint
Variable
draw
return
context
point
return
x
y
matrix
handles
return
bounding_box
selection
request_update
return
update
return
gtk
gtk
DrawingArea
controller
*
*
2
2
1
Generic
Aspects are used as
mediators between
tool and item. Tools
take care of the "what",
aspects take care of
the "how."
Profile
Profile diagram
Aspect
Class
baseClass
composite
* {
background-color: transparent;
color: black;
font-family: sans;
font-size: 14;
highlight-color: rgba(0, 0, 255, 0.4);
line-width: 2;
padding: 0;
}
diagram {
background-color: white;
line-style: normal;
line-style: sloppy 0.3;
}
Protocol
baseClass
composite
Connections
composite
1
Model
EventController
ports
matrix_i2c
Port
composite
*
*
glue
return
constraint
return
view
painter
canvas
connections