proc decodeImage(data: string | seq[uint8]): Image
-
Loads an image from a memory.
proc readImage(filePath: string): Image {...}{.raises: [PixieError, IOError],
tags: [WriteIOEffect, ReadIOEffect].}
-
Loads an image from a file.
proc encodeImage(image: Image; fileFormat: FileFormat): string {...}{.
raises: [PixieError], tags: [].}
-
Encodes an image into memory.
proc writeFile(image: Image; filePath: string; fileFormat: FileFormat) {...}{.
raises: [IOError, PixieError], tags: [WriteIOEffect].}
-
Writes an image to a file.
proc writeFile(image: Image; filePath: string) {...}{.raises: [PixieError, IOError],
tags: [WriteIOEffect].}
-
Writes an image to a file.
proc fillRect(image: Image; rect: Rect; color: ColorRGBA) {...}{.raises: [], tags: [].}
-
proc fillRect(mask: Mask; rect: Rect) {...}{.raises: [PixieError, Exception],
tags: [RootEffect].}
-
proc strokeRect(image: Image; rect: Rect; color: ColorRGBA; strokeWidth = 1.0) {...}{.
raises: [], tags: [].}
-
proc strokeRect(mask: Mask; rect: Rect; strokeWidth = 1.0) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc fillRoundedRect(image: Image; rect: Rect; nw, ne, se, sw: float32;
color: ColorRGBA) {...}{.raises: [], tags: [].}
-
proc fillRoundedRect(image: Image; rect: Rect; radius: float32; color: ColorRGBA) {...}{.
raises: [], tags: [].}
-
proc fillRoundedRect(mask: Mask; rect: Rect; nw, ne, se, sw: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc fillRoundedRect(mask: Mask; rect: Rect; radius: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc strokeRoundedRect(image: Image; rect: Rect; nw, ne, se, sw: float32;
color: ColorRGBA; strokeWidth = 1.0) {...}{.raises: [],
tags: [].}
-
proc strokeRoundedRect(image: Image; rect: Rect; radius: float32;
color: ColorRGBA; strokeWidth = 1.0) {...}{.raises: [],
tags: [].}
-
proc strokeRoundedRect(mask: Mask; rect: Rect; nw, ne, se, sw: float32;
strokeWidth = 1.0) {...}{.raises: [PixieError, Exception],
tags: [RootEffect].}
-
proc strokeRoundedRect(mask: Mask; rect: Rect; radius: float32;
strokeWidth = 1.0) {...}{.raises: [PixieError, Exception],
tags: [RootEffect].}
-
proc strokeSegment(image: Image; segment: Segment; color: ColorRGBA;
strokeWidth = 1.0) {...}{.raises: [], tags: [].}
-
proc strokeSegment(mask: Mask; segment: Segment; strokeWidth: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc fillEllipse(image: Image; center: Vec2; rx, ry: float32; color: ColorRGBA;
blendMode = bmNormal) {...}{.raises: [], tags: [].}
-
proc fillEllipse(mask: Mask; center: Vec2; rx, ry: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc strokeEllipse(image: Image; center: Vec2; rx, ry: float32;
color: ColorRGBA; strokeWidth = 1.0) {...}{.raises: [], tags: [].}
-
proc strokeEllipse(mask: Mask; center: Vec2; rx, ry: float32; strokeWidth = 1.0) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc fillCircle(image: Image; center: Vec2; radius: float32; color: ColorRGBA) {...}{.
raises: [], tags: [].}
-
proc fillCircle(mask: Mask; center: Vec2; radius: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc strokeCircle(image: Image; center: Vec2; radius: float32; color: ColorRGBA;
strokeWidth = 1.0) {...}{.raises: [], tags: [].}
-
proc strokeCircle(mask: Mask; center: Vec2; radius: float32; strokeWidth = 1.0) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc fillPolygon(image: Image; pos: Vec2; size: float32; sides: int;
color: ColorRGBA) {...}{.raises: [], tags: [].}
-
proc fillPolygon(mask: Mask; pos: Vec2; size: float32; sides: int) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
proc strokePolygon(image: Image; pos: Vec2; size: float32; sides: int;
color: ColorRGBA; strokeWidth = 1.0) {...}{.raises: [], tags: [].}
-
proc strokePolygon(mask: Mask; pos: Vec2; size: float32; sides: int;
strokeWidth = 1.0) {...}{.raises: [PixieError, Exception],
tags: [RootEffect].}
-