本文整理匯總了C#中Qyoto.QPointF類的典型用法代碼示例。如果您正苦於以下問題:C# QPointF類的具體用法?C# QPointF怎麽用?C# QPointF使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
QPointF類屬於Qyoto命名空間,在下文中一共展示了QPointF類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。
示例1: DrawText
public void DrawText(QPointF p, string str, int tf, int justificationPadding)
{
interceptor.Invoke("drawText#$$$", "drawText(const QPointF&, const QString&, int, int)", typeof(void), typeof(QPointF), p, typeof(string), str, typeof(int), tf, typeof(int), justificationPadding);
}
示例2: MapToParent
public QPointF MapToParent(QPointF point)
{
return (QPointF) interceptor.Invoke("mapToParent#", "mapToParent(const QPointF&) const", typeof(QPointF), typeof(QPointF), point);
}
示例3: SetPos
public void SetPos(QPointF pos)
{
interceptor.Invoke("setPos#", "setPos(const QPointF&)", typeof(void), typeof(QPointF), pos);
}
示例4: Write
public static QDataStream Write(QDataStream arg1, QPointF arg2)
{
return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QPointF&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QPointF), arg2);
}
示例5: Contains
public virtual bool Contains(QPointF point)
{
return (bool) interceptor.Invoke("contains#", "contains(const QPointF&) const", typeof(bool), typeof(QPointF), point);
}
示例6: Items
public List<IQGraphicsItem> Items(QPointF pos, Qt.ItemSelectionMode mode, Qt.SortOrder order)
{
return (List<IQGraphicsItem>) interceptor.Invoke("items#$$", "items(const QPointF&, Qt::ItemSelectionMode, Qt::SortOrder) const", typeof(List<IQGraphicsItem>), typeof(QPointF), pos, typeof(Qt.ItemSelectionMode), mode, typeof(Qt.SortOrder), order);
}
示例7: Read
public static QDataStream Read(QDataStream arg1, QPointF arg2)
{
return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QPointF&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QPointF), arg2);
}
示例8: CreateExtendedMouseEvent
public static QMouseEvent CreateExtendedMouseEvent(QEvent.TypeOf type, QPointF pos, QPoint globalPos, Qt.MouseButton button, uint buttons, uint modifiers)
{
return (QMouseEvent) staticInterceptor.Invoke("createExtendedMouseEvent$##$$$", "createExtendedMouseEvent(QEvent::Type, const QPointF&, const QPoint&, Qt::MouseButton, Qt::MouseButtons, Qt::KeyboardModifiers)", typeof(QMouseEvent), typeof(QEvent.TypeOf), type, typeof(QPointF), pos, typeof(QPoint), globalPos, typeof(Qt.MouseButton), button, typeof(uint), buttons, typeof(uint), modifiers);
}
示例9: Intersect
public QLineF.IntersectType Intersect(QLineF l, QPointF intersectionPoint)
{
return (QLineF.IntersectType) interceptor.Invoke("intersect##", "intersect(const QLineF&, QPointF*) const", typeof(QLineF.IntersectType), typeof(QLineF), l, typeof(QPointF), intersectionPoint);
}
示例10: SetTransformOriginPoint
public void SetTransformOriginPoint(QPointF origin)
{
interceptor.Invoke("setTransformOriginPoint#", "setTransformOriginPoint(const QPointF&)", typeof(void), typeof(QPointF), origin);
}
示例11: WindowFrameSectionAt
protected virtual Qt.WindowFrameSection WindowFrameSectionAt(QPointF pos)
{
return (Qt.WindowFrameSection) interceptor.Invoke("windowFrameSectionAt#", "windowFrameSectionAt(const QPointF&) const", typeof(Qt.WindowFrameSection), typeof(QPointF), pos);
}
示例12: KPlotPoint
public KPlotPoint(QPointF p)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("KPlotPoint#", "KPlotPoint(const QPointF&)", typeof(void), typeof(QPointF), p);
}
示例13: DrawTiledPixmap
public void DrawTiledPixmap(QRectF rect, QPixmap pm, QPointF offset)
{
interceptor.Invoke("drawTiledPixmap###", "drawTiledPixmap(const QRectF&, const QPixmap&, const QPointF&)", typeof(void), typeof(QRectF), rect, typeof(QPixmap), pm, typeof(QPointF), offset);
}
示例14: ItemAt
public IQGraphicsItem ItemAt(QPointF pos, QTransform deviceTransform)
{
return (IQGraphicsItem) interceptor.Invoke("itemAt##", "itemAt(const QPointF&, const QTransform&) const", typeof(IQGraphicsItem), typeof(QPointF), pos, typeof(QTransform), deviceTransform);
}
示例15: SetP1
public void SetP1(QPointF p1)
{
interceptor.Invoke("setP1#", "setP1(const QPointF&)", typeof(void), typeof(QPointF), p1);
}