本文整理汇总了C#中touchvg.core.Box2d类的典型用法代码示例。如果您正苦于以下问题:C# Box2d类的具体用法?C# Box2d怎么用?C# Box2d使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Box2d类属于touchvg.core命名空间,在下文中一共展示了Box2d类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: swapTopBottom
public Box2d swapTopBottom() {
Box2d ret = new Box2d(touchvgPINVOKE.Box2d_swapTopBottom(swigCPtr), false);
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:4,代码来源:Box2d.cs
示例2: beziersBox
public static void beziersBox(Box2d box, int count, Point2d points)
{
touchvgPINVOKE.mgnear_beziersBox__SWIG_1(Box2d.getCPtr(box), count, Point2d.getCPtr(points));
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:mgnear.cs
示例3: cubicSplinesBox
public static void cubicSplinesBox(Box2d box, int n, Point2d knots, Vector2d knotvs)
{
touchvgPINVOKE.mgnear_cubicSplinesBox__SWIG_2(Box2d.getCPtr(box), n, Point2d.getCPtr(knots), Vector2d.getCPtr(knotvs));
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:mgnear.cs
示例4: getRect
public Box2d getRect() {
Box2d ret = new Box2d(touchvgPINVOKE.MgBaseRect_getRect(swigCPtr), true);
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:4,代码来源:MgBaseRect.cs
示例5: hitTestBox
public override bool hitTestBox(Box2d rect)
{
bool ret = touchvgPINVOKE.MgEllipse_hitTestBox(swigCPtr, Box2d.getCPtr(rect));
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:vvhh2002,项目名称:TouchVG,代码行数:6,代码来源:MgEllipse.cs
示例6: Box2d
public Box2d(Box2d src) : this(touchvgPINVOKE.new_Box2d__SWIG_2(Box2d.getCPtr(src)), true) {
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:3,代码来源:Box2d.cs
示例7: getPageRectW
public Box2d getPageRectW()
{
Box2d ret = new Box2d(touchvgPINVOKE.MgShapeDoc_getPageRectW(swigCPtr), false);
return ret;
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:MgShapeDoc.cs
示例8: deflate
public Box2d deflate(float l, float b, float r, float t) {
Box2d ret = new Box2d(touchvgPINVOKE.Box2d_deflate__SWIG_4(swigCPtr, l, b, r, t), false);
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:4,代码来源:Box2d.cs
示例9: offset
public Box2d offset(float x, float y) {
Box2d ret = new Box2d(touchvgPINVOKE.Box2d_offset__SWIG_0(swigCPtr, x, y), false);
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:4,代码来源:Box2d.cs
示例10: contains
public bool contains(Box2d box, Tol tol) {
bool ret = touchvgPINVOKE.Box2d_contains__SWIG_3(swigCPtr, Box2d.getCPtr(box), Tol.getCPtr(tol));
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:5,代码来源:Box2d.cs
示例11: empty
public Box2d empty() {
Box2d ret = new Box2d(touchvgPINVOKE.Box2d_empty(swigCPtr), false);
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:4,代码来源:Box2d.cs
示例12: isEqualTo
public bool isEqualTo(Box2d box) {
bool ret = touchvgPINVOKE.Box2d_isEqualTo__SWIG_1(swigCPtr, Box2d.getCPtr(box));
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:5,代码来源:Box2d.cs
示例13: kIdentity
public static Box2d kIdentity() {
Box2d ret = new Box2d(touchvgPINVOKE.Box2d_kIdentity(), false);
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:4,代码来源:Box2d.cs
示例14: scaleBy
public Box2d scaleBy(float sx) {
Box2d ret = new Box2d(touchvgPINVOKE.Box2d_scaleBy__SWIG_1(swigCPtr, sx), false);
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:4,代码来源:Box2d.cs
示例15: getExtent
public Box2d getExtent()
{
Box2d ret = new Box2d(touchvgPINVOKE.MgShapeDoc_getExtent(swigCPtr), true);
return ret;
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:MgShapeDoc.cs
示例16: intersectWith
public Box2d intersectWith(Box2d r1, Box2d r2) {
Box2d ret = new Box2d(touchvgPINVOKE.Box2d_intersectWith__SWIG_0(swigCPtr, Box2d.getCPtr(r1), Box2d.getCPtr(r2)), false);
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:5,代码来源:Box2d.cs
示例17: setPageRectW
public void setPageRectW(Box2d rectW, float viewScale)
{
touchvgPINVOKE.MgShapeDoc_setPageRectW(swigCPtr, Box2d.getCPtr(rectW), viewScale);
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:MgShapeDoc.cs
示例18: unionWith
public Box2d unionWith(Box2d box) {
Box2d ret = new Box2d(touchvgPINVOKE.Box2d_unionWith__SWIG_1(swigCPtr, Box2d.getCPtr(box)), false);
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
开发者ID:rhcad,项目名称:touchvg-v0.6,代码行数:5,代码来源:Box2d.cs
示例19: getExtent
public override Box2d getExtent()
{
Box2d ret = new Box2d(touchvgPINVOKE.MgEllipse_getExtent(swigCPtr), true);
return ret;
}
开发者ID:vvhh2002,项目名称:TouchVG,代码行数:5,代码来源:MgEllipse.cs
示例20: moveRectHandle
public static void moveRectHandle(Box2d rect, int index, Point2d pt)
{
touchvgPINVOKE.mgnear_moveRectHandle__SWIG_1(Box2d.getCPtr(rect), index, Point2d.getCPtr(pt));
if (touchvgPINVOKE.SWIGPendingException.Pending) throw touchvgPINVOKE.SWIGPendingException.Retrieve();
}
开发者ID:stonelin129,项目名称:Touchvg,代码行数:5,代码来源:mgnear.cs
注:本文中的touchvg.core.Box2d类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论