Table of Contents

Method RoundDownLog2N

Namespace
PaintDotNet
Assembly
PaintDotNet.Fundamentals.dll

RoundDownLog2N(int, int)

Rounds x to a multiple of 2^log2N which is greater than or equal to x.

public static int RoundDownLog2N(int x, int log2N)

Parameters

x int
log2N int

Returns

int