本文整理汇总了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))
}
}
示例2: SetBoundingRect
func (ptr *QGlyphRun) SetBoundingRect(boundingRect core.QRectF_ITF) {
if ptr.Pointer() != nil {
C.QGlyphRun_SetBoundingRect(ptr.Pointer(), core.PointerFromQRectF(boundingRect))
}
}
示例3: SetClipRect
func (ptr *QSGClipNode) SetClipRect(rect core.QRectF_ITF) {
if ptr.Pointer() != nil {
C.QSGClipNode_SetClipRect(ptr.Pointer(), core.PointerFromQRectF(rect))
}
}
示例4: DrawRect
func (ptr *QPainter) DrawRect(rectangle core.QRectF_ITF) {
if ptr.Pointer() != nil {
C.QPainter_DrawRect(ptr.Pointer(), core.PointerFromQRectF(rectangle))
}
}
示例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))
}
}
示例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))
}
}
示例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))
}
}
示例8: AddEllipse
func (ptr *QPainterPath) AddEllipse(boundingRectangle core.QRectF_ITF) {
if ptr.Pointer() != nil {
C.QPainterPath_AddEllipse(ptr.Pointer(), core.PointerFromQRectF(boundingRectangle))
}
}
示例9: AddRect
func (ptr *QPainterPath) AddRect(rectangle core.QRectF_ITF) {
if ptr.Pointer() != nil {
C.QPainterPath_AddRect(ptr.Pointer(), core.PointerFromQRectF(rectangle))
}
}
示例10: SetViewBox2
func (ptr *QSvgRenderer) SetViewBox2(viewbox core.QRectF_ITF) {
if ptr.Pointer() != nil {
C.QSvgRenderer_SetViewBox2(ptr.Pointer(), core.PointerFromQRectF(viewbox))
}
}
示例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
}
示例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))
}
}
示例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))
}
}
示例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))
}
}
示例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))
}
}