7 instantiations of CachedBitmap
System.Drawing.Common.Tests (7)
System\Drawing\GraphicsTests.cs (5)
2875
CachedBitmap cachedBitmap =
new
(bitmap, graphics);
2886
using CachedBitmap cachedBitmap =
new
(bitmap, graphics);
2897
using CachedBitmap cachedBitmap =
new
(bitmap, graphics);
2908
using CachedBitmap cachedBitmap =
new
(bitmap, graphics);
2924
using CachedBitmap cachedBitmap =
new
(bitmap, graphics);
System\Drawing\Imaging\CachedBitmapTests.cs (2)
15
Assert.Throws<ArgumentNullException>(() => new
CachedBitmap
(bitmap, null));
16
Assert.Throws<ArgumentNullException>(() => new
CachedBitmap
(null, graphics));
12 references to CachedBitmap
System.Drawing.Common (7)
System\Drawing\Graphics.cs (2)
3582
/// <param name="cachedBitmap">The <see cref="
CachedBitmap
"/> that contains the image to be drawn.</param>
3599
public void DrawCachedBitmap(
CachedBitmap
cachedBitmap, int x, int y)
System\Drawing\Imaging\CachedBitmap.cs (5)
16
/// <see cref="
CachedBitmap
"/> matches the current bit depth of the <see cref="Graphics"/>'s device. If the device bit
17
/// depth changes, the <see cref="
CachedBitmap
"/> will no longer be usable and a new instance will need to be created
18
/// that matches. If the <see cref="
CachedBitmap
"/> was created against <see cref="PixelFormat.Format32bppRgb"/> it
22
/// <see cref="
CachedBitmap
"/> will not work with any transformations other than translation.
25
/// <see cref="
CachedBitmap
"/> cannot be used to draw to a printer or metafile.
System.Drawing.Common.Tests (5)
System\Drawing\GraphicsTests.cs (5)
2875
CachedBitmap
cachedBitmap = new(bitmap, graphics);
2886
using
CachedBitmap
cachedBitmap = new(bitmap, graphics);
2897
using
CachedBitmap
cachedBitmap = new(bitmap, graphics);
2908
using
CachedBitmap
cachedBitmap = new(bitmap, graphics);
2924
using
CachedBitmap
cachedBitmap = new(bitmap, graphics);