本文整理汇总了C#中IQGraphicsItem类的典型用法代码示例。如果您正苦于以下问题:C# IQGraphicsItem类的具体用法?C# IQGraphicsItem怎么用?C# IQGraphicsItem使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IQGraphicsItem类属于命名空间,在下文中一共展示了IQGraphicsItem类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: AddItem
public void AddItem(IQGraphicsItem item)
{
interceptor.Invoke("addItem#", "addItem(QGraphicsItem*)", typeof(void), typeof(IQGraphicsItem), item);
}
示例2: MapToItem
public QPolygonF MapToItem(IQGraphicsItem item, double x, double y, double w, double h)
{
return (QPolygonF) interceptor.Invoke("mapToItem#$$$$", "mapToItem(const QGraphicsItem*, qreal, qreal, qreal, qreal) const", typeof(QPolygonF), typeof(IQGraphicsItem), item, typeof(double), x, typeof(double), y, typeof(double), w, typeof(double), h);
}
示例3: RemoveSceneEventFilter
public void RemoveSceneEventFilter(IQGraphicsItem filterItem)
{
interceptor.Invoke("removeSceneEventFilter#", "removeSceneEventFilter(QGraphicsItem*)", typeof(void), typeof(IQGraphicsItem), filterItem);
}
示例4: MapRectToItem
public QRectF MapRectToItem(IQGraphicsItem item, QRectF rect)
{
return (QRectF) interceptor.Invoke("mapRectToItem##", "mapRectToItem(const QGraphicsItem*, const QRectF&) const", typeof(QRectF), typeof(IQGraphicsItem), item, typeof(QRectF), rect);
}
示例5: ItemTransform
public QTransform ItemTransform(IQGraphicsItem other, ref bool ok)
{
StackItem[] stack = new StackItem[3];
#if DEBUG
stack[1].s_class = (IntPtr) DebugGCHandle.Alloc(other);
#else
stack[1].s_class = (IntPtr) GCHandle.Alloc(other);
#endif
stack[2].s_bool = ok;
interceptor.Invoke("itemTransform#$", "itemTransform(const QGraphicsItem*, bool*) const", stack);
#if DEBUG
DebugGCHandle.Free((GCHandle) stack[1].s_class);
#else
((GCHandle) stack[1].s_class).SynchronizedFree();
#endif
ok = stack[2].s_bool;
object returnValue = ((GCHandle) stack[0].s_class).Target;
#if DEBUG
DebugGCHandle.Free((GCHandle) stack[0].s_class);
#else
((GCHandle) stack[0].s_class).SynchronizedFree();
#endif
return (QTransform) returnValue;
}
示例6: MapFromItem
public QPointF MapFromItem(IQGraphicsItem item, QPointF point)
{
return (QPointF) interceptor.Invoke("mapFromItem##", "mapFromItem(const QGraphicsItem*, const QPointF&) const", typeof(QPointF), typeof(IQGraphicsItem), item, typeof(QPointF), point);
}
示例7: SetFocusItem
public void SetFocusItem(IQGraphicsItem item, Qt.FocusReason focusReason)
{
interceptor.Invoke("setFocusItem#$", "setFocusItem(QGraphicsItem*, Qt::FocusReason)", typeof(void), typeof(IQGraphicsItem), item, typeof(Qt.FocusReason), focusReason);
}
示例8: SendEvent
public bool SendEvent(IQGraphicsItem item, QEvent arg2)
{
return (bool) interceptor.Invoke("sendEvent##", "sendEvent(QGraphicsItem*, QEvent*)", typeof(bool), typeof(IQGraphicsItem), item, typeof(QEvent), arg2);
}
示例9: SetActivePanel
public void SetActivePanel(IQGraphicsItem item)
{
interceptor.Invoke("setActivePanel#", "setActivePanel(QGraphicsItem*)", typeof(void), typeof(IQGraphicsItem), item);
}
示例10: RemoveItem
public void RemoveItem(IQGraphicsItem item)
{
interceptor.Invoke("removeItem#", "removeItem(QGraphicsItem*)", typeof(void), typeof(IQGraphicsItem), item);
}
示例11: CollidingItems
public List<IQGraphicsItem> CollidingItems(IQGraphicsItem item)
{
return (List<IQGraphicsItem>) interceptor.Invoke("collidingItems#", "collidingItems(const QGraphicsItem*) const", typeof(List<IQGraphicsItem>), typeof(IQGraphicsItem), item);
}
示例12: QGraphicsTextItem
// QGraphicsItem* QGraphicsItem(QGraphicsItemPrivate& arg1,QGraphicsItem* arg2,QGraphicsScene* arg3); >>>> NOT CONVERTED
public QGraphicsTextItem(IQGraphicsItem parent, QGraphicsScene scene)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("QGraphicsTextItem##", "QGraphicsTextItem(QGraphicsItem*, QGraphicsScene*)", typeof(void), typeof(IQGraphicsItem), parent, typeof(QGraphicsScene), scene);
}
示例13: SceneEventFilter
protected virtual bool SceneEventFilter(IQGraphicsItem watched, QEvent arg2)
{
return (bool) interceptor.Invoke("sceneEventFilter##", "sceneEventFilter(QGraphicsItem*, QEvent*)", typeof(bool), typeof(IQGraphicsItem), watched, typeof(QEvent), arg2);
}
示例14: IsVisibleTo
public bool IsVisibleTo(IQGraphicsItem parent)
{
return (bool) interceptor.Invoke("isVisibleTo#", "isVisibleTo(const QGraphicsItem*) const", typeof(bool), typeof(IQGraphicsItem), parent);
}
示例15: CollidesWithItem
public virtual bool CollidesWithItem(IQGraphicsItem other, Qt.ItemSelectionMode mode)
{
return (bool) interceptor.Invoke("collidesWithItem#$", "collidesWithItem(const QGraphicsItem*, Qt::ItemSelectionMode) const", typeof(bool), typeof(IQGraphicsItem), other, typeof(Qt.ItemSelectionMode), mode);
}