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