1 write to Stride
System.Drawing.Common.Tests (1)
System\Drawing\Imaging\BitmapDataTests.cs (1)
80Stride = value
29 references to Stride
PresentationFramework-SystemDrawing (2)
SystemDrawingExtension.cs (2)
185bmData.Stride * (bmData.Height - 1) + (bmData.Width * 4), 186bmData.Stride);
System.Drawing.Common.Tests (17)
DrawingTest.cs (1)
19new ReadOnlySpan<byte>((void*)data.Scan0, data.Stride * data.Height),
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
248Assert.Equal(520, data.Stride);
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
115Assert.Equal(332, data.Stride);
mono\System.Drawing.Imaging\JpegCodecTests.cs (1)
233Assert.Equal(520, data.Stride);
mono\System.Drawing.Imaging\PngCodecTests.cs (3)
151Assert.Equal(864, data.Stride); 303Assert.Equal(300, data.Stride); 476Assert.Equal(864, data.Stride);
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
125Assert.Equal(520, data.Stride);
mono\System.Drawing\BitmapTests.cs (4)
96Assert.True(data.Stride >= 12); 421nint src_ptr = (nint)(y * data.Stride + data.Scan0.ToInt64()); 525cur += y * bd.Stride; 807Assert.Equal(24, data.Stride);
System\Drawing\BitmapTests.cs (1)
1070Assert.Equal(expectedStride, data.Stride);
System\Drawing\GraphicsTests.cs (2)
2906ReadOnlySpan<byte> bytes = new((byte*)data.Scan0, data.Stride * data.Height); 2920ReadOnlySpan<byte> bytes = new((byte*)data.Scan0, data.Stride * data.Height);
System\Drawing\Imaging\BitmapDataTests.cs (2)
16Assert.Equal(0, bd.Stride); 82Assert.Equal(value, bd.Stride);
System.Windows.Forms (6)
System\Windows\Forms\Controls\ImageList\ImageList.cs (6)
555Debug.Assert(targetData.Stride == targetData.Width * 4); 564int length = Math.Abs(targetData.Stride); 566offsetSrc += sourceData.Stride; 567offsetDest += targetData.Stride; 580int offsetRow = i * bmpData.Stride; 627int offset = bmpData.Stride * _imageSize.Height * index;
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObject_BitmapBinderTests.cs (2)
73ReadOnlySpan<byte> originalBytes = new((byte*)originalData.Scan0, originalData.Stride * originalData.Height); 74ReadOnlySpan<byte> deserializedBytes = new((byte*)deserializedData.Scan0, deserializedData.Stride * deserializedData.Height);
System.Windows.Forms.UI.IntegrationTests (2)
Infra\ScreenRecordService.cs (2)
249int stride = lockedBitmaps[0].data.Stride; 268Assert.Equal(stride, lockedBitmaps[currentFrameBufferIndex].data.Stride);