msl 1.3.0
Loading...
Searching...
No Matches
masks.h File Reference

Go to the source code of this file.

Namespaces

namespace  msl
 Top-level namespace of the msl library.

Functions

Mask msl::ellipticalMask (Mask::Shape const &shape)
 Create an ellipse-shaped mask, where the width and height of the ellipse equal the shape of the mask.
Mask msl::partialMask (Mask::Shape const &shape, Vector2d const &ratio, Vector2b const &useLowerQuadrant)
 Create a mask where an interval of each quadrant is enabled.
Mask msl::partialMask (Mask::Shape const &shape, Vector2d const &ratio, bool useLowerQuadrant=true)
 Create a mask where an interval of each quadrant is enabled.
Mask msl::cornersMask (Mask::Shape const &shape, Mask::Point size)
 Create a mask where every point is disabled except at the corners.
Mask msl::crossMask (Mask::Shape const &shape, Mask::Shape const &width)
 Create a mask with a cross of given width at its center.
Mask msl::latticeMask (Mask::Shape const &shape, Mask::Shape const &period)
 Create a mask with a lattice pattern.