BLRange Struct Reference

Provides start and end indexes. It's used to specify a range of an operation related to indexed containers like BLArray, BLPath, BLGradient, etc...

Public Members

Member Functions

Static Functions

Constructor & Destructor Documentation


Create an uninitialized range.

BLRange::BLRange(const BLRange&)constexprdefault[2/3]

Create a copy of other range.

BLRange::BLRange(size_t start, size_t end)constexprexplicit[3/3]

Create a range from start to end.

Member Function Documentation

void BLRange::reset()[1/2]

Reset the range to [0, 0).

void BLRange::reset(size_t start, size_t end)[2/2]

Reset the range to [start, end).