示例#1
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) DrawLine2(line core.QLine_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawLine2(ptr.Pointer(), core.PointerFromQLine(line))
	}
}
示例#2
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) DrawLines2(lines core.QLine_ITF, lineCount int) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawLines2(ptr.Pointer(), core.PointerFromQLine(lines), C.int(lineCount))
	}
}