def METHOD_NAME(self, context):
    cr = context.cairo
    cr.line_to(0, 0)
    if self.subject and self.subject.kind == "delegation":
        cr.move_to(15, -6)
        cr.line_to(0, 0)
        cr.line_to(15, 6)