Name Description Size
aacoverage.rs public: // // Init/Destroy methods // VOID Initialize(); VOID Destroy(); // // Setup the buffer so that it can accept another scanline // VOID Reset(); // // Add a subpixel interval to the coverage buffer // HRESULT FillEdgesAlternating( __in_ecount(1) const CEdge *pEdgeActiveList, INT nSubpixelYCurrent ); HRESULT FillEdgesWinding( __in_ecount(1) const CEdge *pEdgeActiveList, INT nSubpixelYCurrent ); HRESULT AddInterval(INT nSubpixelXLeft, INT nSubpixelXRight); private: HRESULT Grow( __deref_out_ecount(1) CCoverageInterval **ppIntervalNew, __deref_out_ecount(1) CCoverageInterval **ppIntervalEndMinus4 ); public: 21157
aarasterizer.rs \ Function Description: Advance DDA and update active edge list Created: 06/20/2003 ashrafm \************************************************************************* 57026
bezier.rs #ifdef BEZIER_FLATTEN_GDI_COMPATIBLE // Flatten to an error of 2/3. During initial phase, use 18.14 format. #define TEST_MAGNITUDE_INITIAL (6 * 0x00002aa0L) // Error of 2/3. During normal phase, use 15.17 format. #define TEST_MAGNITUDE_NORMAL (TEST_MAGNITUDE_INITIAL << 3) #else 31341
c_bindings.rs 4408
fix.rs 390
geometry_sink.rs virtual HRESULT AddVertex( __in_ecount(1) const MilPoint2F &ptPosition, // In: Vertex coordinates __out_ecount(1) WORD *pidxOut // Out: Index of vertex ) PURE; virtual HRESULT AddIndexedVertices( UINT cVertices, // In: number of vertices __in_bcount(cVertices*uVertexStride) const void *pVertexBuffer, // In: vertex buffer containing the vertices UINT uVertexStride, // In: size of each vertex MilVertexFormat mvfFormat, // In: format of each vertex UINT cIndices, // In: Number of indices __in_ecount(cIndices) const UINT *puIndexBuffer // In: index buffer ) PURE; virtual void SetTransformMapping( __in_ecount(1) const MILMatrix3x2 &mat2DTransform ) PURE; virtual HRESULT AddTriangle( DWORD idx1, // In: Index of triangle's first vertex DWORD idx2, // In: Index of triangle's second vertex DWORD idx3 // In: Index of triangle's third vertex ) PURE; // // Trapezoidal AA geometry output // 2657
helpers.rs 834
hwrasterizer.rs __in_range(>=, 1) 50723
hwvertexbuffer.rs 98726
lib.rs ! Converts a 2D path into a set of vertices of a triangle strip mesh that represents the antialiased fill of that path. ```rust use wpf_gpu_raster::PathBuilder; let mut p = PathBuilder::new(); p.move_to(10., 10.); p.line_to(40., 10.); p.line_to(40., 40.); let result = p.rasterize_to_tri_list(0, 0, 100, 100); ``` 24395
matrix.rs 1348
notes 336
nullable_ref.rs 1217
real.rs 7793
tri_rasterize.rs Proper rounding of float to integer 6497
types.rs 4269