示例#1
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) DrawPixmap8(rectangle core.QRect_ITF, pixmap QPixmap_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawPixmap8(ptr.Pointer(), core.PointerFromQRect(rectangle), PointerFromQPixmap(pixmap))
	}
}
示例#2
0
文件: qproxystyle.go 项目: xland/qt
func (ptr *QProxyStyle) DrawItemPixmap(painter gui.QPainter_ITF, rect core.QRect_ITF, alignment int, pixmap gui.QPixmap_ITF) {
	if ptr.Pointer() != nil {
		C.QProxyStyle_DrawItemPixmap(ptr.Pointer(), gui.PointerFromQPainter(painter), core.PointerFromQRect(rect), C.int(alignment), gui.PointerFromQPixmap(pixmap))
	}
}
示例#3
0
文件: qstylepainter.go 项目: xland/qt
func (ptr *QStylePainter) DrawItemText(rect core.QRect_ITF, flags int, pal gui.QPalette_ITF, enabled bool, text string, textRole gui.QPalette__ColorRole) {
	if ptr.Pointer() != nil {
		C.QStylePainter_DrawItemText(ptr.Pointer(), core.PointerFromQRect(rect), C.int(flags), gui.PointerFromQPalette(pal), C.int(qt.GoBoolToInt(enabled)), C.CString(text), C.int(textRole))
	}
}
示例#4
0
文件: qregion.go 项目: xland/qt
func NewQRegion6(r core.QRect_ITF, t QRegion__RegionType) *QRegion {
	return NewQRegionFromPointer(C.QRegion_NewQRegion6(core.PointerFromQRect(r), C.int(t)))
}
示例#5
0
文件: qregion.go 项目: xland/qt
func (ptr *QRegion) Intersected2(rect core.QRect_ITF) *QRegion {
	if ptr.Pointer() != nil {
		return NewQRegionFromPointer(C.QRegion_Intersected2(ptr.Pointer(), core.PointerFromQRect(rect)))
	}
	return nil
}
示例#6
0
文件: qpicture.go 项目: xland/qt
func (ptr *QPicture) SetBoundingRect(r core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QPicture_SetBoundingRect(ptr.Pointer(), core.PointerFromQRect(r))
	}
}
示例#7
0
文件: qpixmap.go 项目: xland/qt
func (ptr *QPixmap) Scroll2(dx int, dy int, rect core.QRect_ITF, exposed QRegion_ITF) {
	if ptr.Pointer() != nil {
		C.QPixmap_Scroll2(ptr.Pointer(), C.int(dx), C.int(dy), core.PointerFromQRect(rect), PointerFromQRegion(exposed))
	}
}
示例#8
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) FillRect3(rectangle core.QRect_ITF, style core.Qt__BrushStyle) {
	if ptr.Pointer() != nil {
		C.QPainter_FillRect3(ptr.Pointer(), core.PointerFromQRect(rectangle), C.int(style))
	}
}
示例#9
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) FillRect11(rectangle core.QRect_ITF, color core.Qt__GlobalColor) {
	if ptr.Pointer() != nil {
		C.QPainter_FillRect11(ptr.Pointer(), core.PointerFromQRect(rectangle), C.int(color))
	}
}
示例#10
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) DrawTiledPixmap2(rectangle core.QRect_ITF, pixmap QPixmap_ITF, position core.QPoint_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawTiledPixmap2(ptr.Pointer(), core.PointerFromQRect(rectangle), PointerFromQPixmap(pixmap), core.PointerFromQPoint(position))
	}
}
示例#11
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) EraseRect2(rectangle core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_EraseRect2(ptr.Pointer(), core.PointerFromQRect(rectangle))
	}
}
示例#12
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) DrawText7(x int, y int, width int, height int, flags int, text string, boundingRect core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawText7(ptr.Pointer(), C.int(x), C.int(y), C.int(width), C.int(height), C.int(flags), C.CString(text), core.PointerFromQRect(boundingRect))
	}
}
示例#13
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) DrawRoundedRect2(rect core.QRect_ITF, xRadius float64, yRadius float64, mode core.Qt__SizeMode) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawRoundedRect2(ptr.Pointer(), core.PointerFromQRect(rect), C.double(xRadius), C.double(yRadius), C.int(mode))
	}
}
示例#14
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) DrawPixmap2(target core.QRect_ITF, pixmap QPixmap_ITF, source core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawPixmap2(ptr.Pointer(), core.PointerFromQRect(target), PointerFromQPixmap(pixmap), core.PointerFromQRect(source))
	}
}
示例#15
0
文件: qpaintevent.go 项目: xland/qt
func NewQPaintEvent2(paintRect core.QRect_ITF) *QPaintEvent {
	return NewQPaintEventFromPointer(C.QPaintEvent_NewQPaintEvent2(core.PointerFromQRect(paintRect)))
}
示例#16
0
文件: qwidget.go 项目: xland/qt
func (ptr *QWidget) Update3(rect core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QWidget_Update3(ptr.Pointer(), core.PointerFromQRect(rect))
	}
}
示例#17
0
func (ptr *QVideoSurfaceFormat) SetViewport(viewport core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QVideoSurfaceFormat_SetViewport(ptr.Pointer(), core.PointerFromQRect(viewport))
	}
}
示例#18
0
文件: qwidget.go 项目: xland/qt
func (ptr *QWidget) SetGeometry(v core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QWidget_SetGeometry(ptr.Pointer(), core.PointerFromQRect(v))
	}
}
示例#19
0
文件: qboxlayout.go 项目: xland/qt
func (ptr *QBoxLayout) SetGeometry(r core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QBoxLayout_SetGeometry(ptr.Pointer(), core.PointerFromQRect(r))
	}
}
示例#20
0
文件: qwidget.go 项目: xland/qt
func (ptr *QWidget) Repaint3(rect core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QWidget_Repaint3(ptr.Pointer(), core.PointerFromQRect(rect))
	}
}
示例#21
0
文件: qregion.go 项目: xland/qt
func (ptr *QRegion) SetRects(rects core.QRect_ITF, number int) {
	if ptr.Pointer() != nil {
		C.QRegion_SetRects(ptr.Pointer(), core.PointerFromQRect(rects), C.int(number))
	}
}
示例#22
0
文件: qwidget.go 项目: xland/qt
func (ptr *QWidget) Scroll2(dx int, dy int, r core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QWidget_Scroll2(ptr.Pointer(), C.int(dx), C.int(dy), core.PointerFromQRect(r))
	}
}
示例#23
0
文件: qregion.go 项目: xland/qt
func (ptr *QRegion) Contains2(r core.QRect_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QRegion_Contains2(ptr.Pointer(), core.PointerFromQRect(r)) != 0
	}
	return false
}
示例#24
0
文件: qicon.go 项目: xland/qt
func (ptr *QIcon) Paint(painter QPainter_ITF, rect core.QRect_ITF, alignment core.Qt__AlignmentFlag, mode QIcon__Mode, state QIcon__State) {
	if ptr.Pointer() != nil {
		C.QIcon_Paint(ptr.Pointer(), PointerFromQPainter(painter), core.PointerFromQRect(rect), C.int(alignment), C.int(mode), C.int(state))
	}
}
示例#25
0
文件: qregion.go 项目: xland/qt
func (ptr *QRegion) Intersects2(rect core.QRect_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QRegion_Intersects2(ptr.Pointer(), core.PointerFromQRect(rect)) != 0
	}
	return false
}
示例#26
0
func (ptr *QVideoWindowControl) SetDisplayRect(rect core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QVideoWindowControl_SetDisplayRect(ptr.Pointer(), core.PointerFromQRect(rect))
	}
}
示例#27
0
文件: qstylepainter.go 项目: xland/qt
func (ptr *QStylePainter) DrawItemPixmap(rect core.QRect_ITF, flags int, pixmap gui.QPixmap_ITF) {
	if ptr.Pointer() != nil {
		C.QStylePainter_DrawItemPixmap(ptr.Pointer(), core.PointerFromQRect(rect), C.int(flags), gui.PointerFromQPixmap(pixmap))
	}
}
示例#28
0
func (ptr *QPaintDeviceWindow) Update(rect core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QPaintDeviceWindow_Update(ptr.Pointer(), core.PointerFromQRect(rect))
	}
}
示例#29
0
func (ptr *QStackedLayout) SetGeometry(rect core.QRect_ITF) {
	if ptr.Pointer() != nil {
		C.QStackedLayout_SetGeometry(ptr.Pointer(), core.PointerFromQRect(rect))
	}
}
示例#30
0
文件: qpainter.go 项目: xland/qt
func (ptr *QPainter) DrawPie2(rectangle core.QRect_ITF, startAngle int, spanAngle int) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawPie2(ptr.Pointer(), core.PointerFromQRect(rectangle), C.int(startAngle), C.int(spanAngle))
	}
}