本文整理汇总了C#中Qyoto.QRectF类的典型用法代码示例。如果您正苦于以下问题:C# QRectF类的具体用法?C# QRectF怎么用?C# QRectF使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
QRectF类属于Qyoto命名空间,在下文中一共展示了QRectF类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: MapToView
/// <remarks>
/// Maps a QRectF from local coordinates to a view's coordinates.
/// <param> name="view" the view to which rect should be mapped
/// </param><param> name="rect" the rect to be mapped
/// </param></remarks> <short> Maps a QRectF from local coordinates to a view's coordinates.</short>
public QRect MapToView(QGraphicsView view, QRectF rect)
{
return applet.MapToView(view, rect);
}
示例2: MapRectToParent
public QRectF MapRectToParent(QRectF rect)
{
return (QRectF) interceptor.Invoke("mapRectToParent#", "mapRectToParent(const QRectF&) const", typeof(QRectF), typeof(QRectF), rect);
}
示例3: MapToScene
public QPolygonF MapToScene(QRectF rect)
{
return (QPolygonF) interceptor.Invoke("mapToScene#", "mapToScene(const QRectF&) const", typeof(QPolygonF), typeof(QRectF), rect);
}
示例4: EnsureVisible
public void EnsureVisible(QRectF rect)
{
interceptor.Invoke("ensureVisible#", "ensureVisible(const QRectF&)", typeof(void), typeof(QRectF), rect);
}
示例5: MapFromParent
public QPolygonF MapFromParent(QRectF rect)
{
return (QPolygonF) interceptor.Invoke("mapFromParent#", "mapFromParent(const QRectF&) const", typeof(QPolygonF), typeof(QRectF), rect);
}
示例6: Write
public static QDataStream Write(QDataStream arg1, QRectF arg2)
{
return (QDataStream) staticInterceptor.Invoke("operator<<##", "operator<<(QDataStream&, const QRectF&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QRectF), arg2);
}
示例7: Update
public void Update(QRectF rect)
{
interceptor.Invoke("update#", "update(const QRectF&)", typeof(void), typeof(QRectF), rect);
}
示例8: Items
public List<IQGraphicsItem> Items(QRectF rect, Qt.ItemSelectionMode mode, Qt.SortOrder order, QTransform deviceTransform)
{
return (List<IQGraphicsItem>) interceptor.Invoke("items#$$#", "items(const QRectF&, Qt::ItemSelectionMode, Qt::SortOrder, const QTransform&) const", typeof(List<IQGraphicsItem>), typeof(QRectF), rect, typeof(Qt.ItemSelectionMode), mode, typeof(Qt.SortOrder), order, typeof(QTransform), deviceTransform);
}
示例9: AddRect
public QGraphicsRectItem AddRect(QRectF rect)
{
return (QGraphicsRectItem) interceptor.Invoke("addRect#", "addRect(const QRectF&)", typeof(QGraphicsRectItem), typeof(QRectF), rect);
}
示例10: Invalidate
public void Invalidate(QRectF rect, uint layers)
{
interceptor.Invoke("invalidate#$", "invalidate(const QRectF&, QGraphicsScene::SceneLayers)", typeof(void), typeof(QRectF), rect, typeof(uint), layers);
}
示例11: AddEllipse
public QGraphicsEllipseItem AddEllipse(QRectF rect)
{
return (QGraphicsEllipseItem) interceptor.Invoke("addEllipse#", "addEllipse(const QRectF&)", typeof(QGraphicsEllipseItem), typeof(QRectF), rect);
}
示例12: Read
public static QDataStream Read(QDataStream arg1, QRectF arg2)
{
return (QDataStream) staticInterceptor.Invoke("operator>>##", "operator>>(QDataStream&, QRectF&)", typeof(QDataStream), typeof(QDataStream), arg1, typeof(QRectF), arg2);
}
示例13: Render
public void Render(QPainter painter, QRectF target, QRectF source, Qt.AspectRatioMode aspectRatioMode)
{
interceptor.Invoke("render###$", "render(QPainter*, const QRectF&, const QRectF&, Qt::AspectRatioMode)", typeof(void), typeof(QPainter), painter, typeof(QRectF), target, typeof(QRectF), source, typeof(Qt.AspectRatioMode), aspectRatioMode);
}
示例14: QGraphicsScene
public QGraphicsScene(QRectF sceneRect)
: this((Type) null)
{
CreateProxy();
interceptor.Invoke("QGraphicsScene#", "QGraphicsScene(const QRectF&)", typeof(void), typeof(QRectF), sceneRect);
}
示例15: IsObscured
public bool IsObscured(QRectF rect)
{
return (bool) interceptor.Invoke("isObscured#", "isObscured(const QRectF&) const", typeof(bool), typeof(QRectF), rect);
}