Table of Contents

Method GetRepeatingBitmapSize

Namespace
PaintDotNet.AppModel
Assembly
PaintDotNet.Core.dll

GetRepeatingBitmapSize(CheckerboardTileSize)

Gets the minimum bitmap size needed to render the checkerboard's repeating pattern.

SizeInt32 GetRepeatingBitmapSize(CheckerboardTileSize tileSize)

Parameters

tileSize CheckerboardTileSize

Returns

SizeInt32

Remarks

This already takes DPI and any other relevant factors into account. You should not scale this value by the DPI.