当前位置: 首页>>代码示例>>Golang>>正文


Golang core.PointerFromQRectF函数代码示例

本文整理汇总了Golang中github.com/therecipe/qt/core.PointerFromQRectF函数的典型用法代码示例。如果您正苦于以下问题:Golang PointerFromQRectF函数的具体用法?Golang PointerFromQRectF怎么用?Golang PointerFromQRectF使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了PointerFromQRectF函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Golang代码示例。

示例1: DrawPixmap

func (ptr *QPaintEngine) DrawPixmap(r core.QRectF_ITF, pm QPixmap_ITF, sr core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QPaintEngine_DrawPixmap(ptr.Pointer(), core.PointerFromQRectF(r), PointerFromQPixmap(pm), core.PointerFromQRectF(sr))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpaintengine.go

示例2: SetBoundingRect

func (ptr *QGlyphRun) SetBoundingRect(boundingRect core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QGlyphRun_SetBoundingRect(ptr.Pointer(), core.PointerFromQRectF(boundingRect))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qglyphrun.go

示例3: SetClipRect

func (ptr *QSGClipNode) SetClipRect(rect core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QSGClipNode_SetClipRect(ptr.Pointer(), core.PointerFromQRectF(rect))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qsgclipnode.go

示例4: DrawRect

func (ptr *QPainter) DrawRect(rectangle core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawRect(ptr.Pointer(), core.PointerFromQRectF(rectangle))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpainter.go

示例5: FillRect4

func (ptr *QPainter) FillRect4(rectangle core.QRectF_ITF, style core.Qt__BrushStyle) {
	if ptr.Pointer() != nil {
		C.QPainter_FillRect4(ptr.Pointer(), core.PointerFromQRectF(rectangle), C.int(style))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpainter.go

示例6: SetClipRect

func (ptr *QPainter) SetClipRect(rectangle core.QRectF_ITF, operation core.Qt__ClipOperation) {
	if ptr.Pointer() != nil {
		C.QPainter_SetClipRect(ptr.Pointer(), core.PointerFromQRectF(rectangle), C.int(operation))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpainter.go

示例7: DrawImage7

func (ptr *QPainter) DrawImage7(rectangle core.QRectF_ITF, image QImage_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_DrawImage7(ptr.Pointer(), core.PointerFromQRectF(rectangle), PointerFromQImage(image))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpainter.go

示例8: AddEllipse

func (ptr *QPainterPath) AddEllipse(boundingRectangle core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QPainterPath_AddEllipse(ptr.Pointer(), core.PointerFromQRectF(boundingRectangle))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpainterpath.go

示例9: AddRect

func (ptr *QPainterPath) AddRect(rectangle core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QPainterPath_AddRect(ptr.Pointer(), core.PointerFromQRectF(rectangle))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpainterpath.go

示例10: SetViewBox2

func (ptr *QSvgRenderer) SetViewBox2(viewbox core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QSvgRenderer_SetViewBox2(ptr.Pointer(), core.PointerFromQRectF(viewbox))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qsvgrenderer.go

示例11: Intersects

func (ptr *QPainterPath) Intersects(rectangle core.QRectF_ITF) bool {
	if ptr.Pointer() != nil {
		return C.QPainterPath_Intersects(ptr.Pointer(), core.PointerFromQRectF(rectangle)) != 0
	}
	return false
}
开发者ID:xland,项目名称:qt,代码行数:6,代码来源:qpainterpath.go

示例12: Render3

func (ptr *QSvgRenderer) Render3(painter gui.QPainter_ITF, elementId string, bounds core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QSvgRenderer_Render3(ptr.Pointer(), gui.PointerFromQPainter(painter), C.CString(elementId), core.PointerFromQRectF(bounds))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qsvgrenderer.go

示例13: Render2

func (ptr *QSvgRenderer) Render2(painter gui.QPainter_ITF, bounds core.QRectF_ITF) {
	if ptr.Pointer() != nil {
		C.QSvgRenderer_Render2(ptr.Pointer(), gui.PointerFromQPainter(painter), core.PointerFromQRectF(bounds))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qsvgrenderer.go

示例14: DrawTiledPixmap

func (ptr *QPaintEngine) DrawTiledPixmap(rect core.QRectF_ITF, pixmap QPixmap_ITF, p core.QPointF_ITF) {
	if ptr.Pointer() != nil {
		C.QPaintEngine_DrawTiledPixmap(ptr.Pointer(), core.PointerFromQRectF(rect), PointerFromQPixmap(pixmap), core.PointerFromQPointF(p))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpaintengine.go

示例15: FillRect

func (ptr *QPainter) FillRect(rectangle core.QRectF_ITF, brush QBrush_ITF) {
	if ptr.Pointer() != nil {
		C.QPainter_FillRect(ptr.Pointer(), core.PointerFromQRectF(rectangle), PointerFromQBrush(brush))
	}
}
开发者ID:xland,项目名称:qt,代码行数:5,代码来源:qpainter.go


注:本文中的github.com/therecipe/qt/core.PointerFromQRectF函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。