func (ptr *QGraphicsLineItem) SetLine(line core.QLineF_ITF) { if ptr.Pointer() != nil { C.QGraphicsLineItem_SetLine(ptr.Pointer(), core.PointerFromQLineF(line)) } }
func NewQGraphicsLineItem2(line core.QLineF_ITF, parent QGraphicsItem_ITF) *QGraphicsLineItem { return NewQGraphicsLineItemFromPointer(C.QGraphicsLineItem_NewQGraphicsLineItem2(core.PointerFromQLineF(line), PointerFromQGraphicsItem(parent))) }
func (ptr *QPainter) DrawLine(line core.QLineF_ITF) { if ptr.Pointer() != nil { C.QPainter_DrawLine(ptr.Pointer(), core.PointerFromQLineF(line)) } }
func (ptr *QPainter) DrawLines(lines core.QLineF_ITF, lineCount int) { if ptr.Pointer() != nil { C.QPainter_DrawLines(ptr.Pointer(), core.PointerFromQLineF(lines), C.int(lineCount)) } }
func (ptr *QGraphicsScene) AddLine(line core.QLineF_ITF, pen gui.QPen_ITF) *QGraphicsLineItem { if ptr.Pointer() != nil { return NewQGraphicsLineItemFromPointer(C.QGraphicsScene_AddLine(ptr.Pointer(), core.PointerFromQLineF(line), gui.PointerFromQPen(pen))) } return nil }