def draw(self, context): """ Draw vertical line - symbol of fork and join nodes. Join specification is also drawn above the item. """ Item.draw(self, context) DiagramItem.draw(self, context) cr = context.cairo cr.set_line_width(6) h1, h2 = self._handles cr.move_to(h1.pos.x, h1.pos.y) cr.line_to(h2.pos.x, h2.pos.y) cr.stroke()
def draw(self, context): """ Draw vertical line - symbol of fork and join nodes. Join specification is also drawn above the item. """ Item.draw(self, context) DiagramItem.draw(self, context) cr = context.cairo cr.set_line_width(6) h1, h2 = self._handles cr.move_to(h1.pos.x, h1.pos.y) cr.line_to(h2.pos.x, h2.pos.y) cr.stroke()
def draw(self, context): self.fill_background(context) self.highlight(context) gaphas.Element.draw(self, context) DiagramItem.draw(self, context)
def draw(self, context): gaphas.Line.draw(self, context) DiagramItem.draw(self, context)
def draw(self, context): gaphas.Line.draw(self, context) DiagramItem.draw(self, context)
def draw(self, context): self.fill_background(context) self.highlight(context) gaphas.Element.draw(self, context) DiagramItem.draw(self, context)