Esempio n. 1
0
 internal unsafe static extern int MilUtility_GeometryGetArea(
     FillRule fillRule,
     byte *pPathData,
     UInt32 nSize,
     MilMatrix3x2D *pMatrix,
     double rTolerance,
     bool fRelative,
     double *pArea);
Esempio n. 2
0
 internal unsafe static extern int MilUtility_GetPointAtLengthFraction(
     MilMatrix3x2D *pMatrix,
     FillRule fillRule,
     byte *pPathData,
     UInt32 nSize,
     double rFraction,
     out Point pt,
     out Point vecTangent);
Esempio n. 3
0
 internal unsafe static extern void MilUtility_ArcToBezier(
     Point ptStart,             // The arc's start point
     Size rRadii,               // The ellipse's X and Y radii
     double rRotation,          // Rotation angle of the ellipse's x axis
     bool fLargeArc,            // Choose the larger of the 2 arcs if TRUE
     SweepDirection fSweepUp,   // Sweep the arc increasing the angle if TRUE
     Point ptEnd,               // The arc's end point
     MilMatrix3x2D *pMatrix,    // Transformation matrix
     Point *pPt,                // An array receiving the Bezier points
     out int cPieces);          // The number of output Bezier curves
Esempio n. 4
0
 internal unsafe static extern int MilUtility_PathGeometryHitTest(
     MilMatrix3x2D *pMatrix,
     MIL_PEN_DATA *pPenData,
     double *pDashArray,
     FillRule fillRule,
     byte *pPathData,
     UInt32 nSize,
     double rTolerance,
     bool fRelative,
     Point *pHitPoint,
     out bool pDoesContain);
Esempio n. 5
0
 internal unsafe static extern int MilUtility_PathGeometryHitTestPathGeometry(
     MilMatrix3x2D *pMatrix1,
     FillRule fillRule1,
     byte *pPathData1,
     UInt32 nSize1,
     MilMatrix3x2D *pMatrix2,
     FillRule fillRule2,
     byte *pPathData2,
     UInt32 nSize2,
     double rTolerance,
     bool fRelative,
     IntersectionDetail *pDetail);
Esempio n. 6
0
 internal unsafe static extern int MilUtility_PolygonHitTest(
     MilMatrix3x2D *pGeometryMatrix,
     MIL_PEN_DATA *pPenData,
     double *pDashArray,
     Point *pPoints,
     byte *pTypes,
     UInt32 cPoints,
     UInt32 cSegments,
     double rTolerance,
     bool fRelative,
     Point *pHitPoint,
     out bool pDoesContain);
Esempio n. 7
0
 internal unsafe static extern int MilUtility_PolygonBounds(
     MilMatrix3x2D *pWorldMatrix,
     MIL_PEN_DATA *pPenData,
     double *pDashArray,
     Point *pPoints,
     byte *pTypes,
     UInt32 pointCount,
     UInt32 segmentCount,
     MilMatrix3x2D *pGeometryMatrix,
     double rTolerance,
     bool fRelative,
     bool fSkipHollows,
     Rect *pBounds);
Esempio n. 8
0
 public static extern int DwmGetGraphicsStreamTransformHint([NativeTypeName("UINT")] uint uIndex, [NativeTypeName("MilMatrix3x2D *")] MilMatrix3x2D *pTransform);
Esempio n. 9
0
 public static extern HRESULT DwmGetGraphicsStreamTransformHint(uint uIndex, MilMatrix3x2D *pTransform);