11 references to Stride
System.Drawing (5)
commonui\System\Drawing\Icon.cs (5)
916UnsafeNativeMethods.CopyMemory(new HandleRef(this, destPtr), new HandleRef(this, srcPtr), Math.Abs(targetData.Stride)); 918offsetSrc += sourceData.Stride; 919offsetDest += targetData.Stride; 926for (int j = 3; j < Math.Abs(bmpData.Stride); j += 4) { // stride here is fine since we know we're doing this on the whole image 928byte* candidate = unchecked(((byte*)bmpData.Scan0.ToPointer()) + (i * bmpData.Stride) + j);
System.Windows.Forms (6)
winforms\Managed\System\WinForms\ControlPaint.cs (1)
274IntPtr scan = (IntPtr)((long)data.Scan0 + y * data.Stride);
winforms\Managed\System\WinForms\ImageList.cs (5)
654UnsafeNativeMethods.CopyMemory(new HandleRef(this, destPtr), new HandleRef(this, srcPtr), Math.Abs(targetData.Stride)); 655offsetSrc += sourceData.Stride; 656offsetDest += targetData.Stride; 668int offsetRow = i * bmpData.Stride; 722int offset = bmpData.Stride * imageSize.Height * index;