Types
BlendMode = enum NormalBlend, DarkenBlend, MultiplyBlend, ColorBurnBlend, LightenBlend, ScreenBlend, ColorDodgeBlend, OverlayBlend, SoftLightBlend, HardLightBlend, DifferenceBlend, ExclusionBlend, HueBlend, SaturationBlend, ColorBlend, LuminosityBlend, MaskBlend, ## Special blend mode that is used for masking OverwriteBlend, ## Special blend mode that just copies pixels SubtractMaskBlend, ## Inverse mask ExcludeMaskBlend
- Source Edit
ImageDimensions = object width*, height*: int
- Source Edit
PixieError = object of ValueError
- Raised if an operation fails. Source Edit
Procs
proc mix(a, b: ColorRGBX; t: float32): ColorRGBX {.inline, ...raises: [], tags: [].}
- Linearly interpolate between a and b using t. Source Edit
proc mix(a, b: uint8; t: float32): uint8 {.inline, ...raises: [], tags: [].}
- Linearly interpolate between a and b using t. Source Edit
proc snapToPixels(rect: Rect): Rect {....raises: [], tags: [].}
- Source Edit