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: [].}
-
Fill a rectangle.
proc fillRect(mask: Mask; rect: Rect) {...}{.raises: [PixieError, Exception],
tags: [RootEffect].}
-
Fill a rectangle.
proc strokeRect(image: Image; rect: Rect; color: ColorRGBA; strokeWidth = 1.0) {...}{.
raises: [], tags: [].}
-
Stroke a rounded rectangle.
proc strokeRect(mask: Mask; rect: Rect; strokeWidth = 1.0) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Stroke a rounded rectangle.
proc fillRoundedRect(image: Image; rect: Rect; nw, ne, se, sw: float32;
color: ColorRGBA) {...}{.raises: [], tags: [].}
-
Fill a rounded rectangle.
proc fillRoundedRect(image: Image; rect: Rect; radius: float32; color: ColorRGBA) {...}{.
raises: [], tags: [].}
-
Fill a rounded rectangle.
proc fillRoundedRect(mask: Mask; rect: Rect; nw, ne, se, sw: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Fill a rounded rectangle.
proc fillRoundedRect(mask: Mask; rect: Rect; radius: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Fill a rounded rectangle.
proc strokeRoundedRect(image: Image; rect: Rect; nw, ne, se, sw: float32;
color: ColorRGBA; strokeWidth = 1.0) {...}{.raises: [],
tags: [].}
-
Stroke a rounded rectangle.
proc strokeRoundedRect(image: Image; rect: Rect; radius: float32;
color: ColorRGBA; strokeWidth = 1.0) {...}{.raises: [],
tags: [].}
-
Stroke a rounded rectangle.
proc strokeRoundedRect(mask: Mask; rect: Rect; nw, ne, se, sw: float32;
strokeWidth = 1.0) {...}{.raises: [PixieError, Exception],
tags: [RootEffect].}
-
Stroke a rounded rectangle.
proc strokeRoundedRect(mask: Mask; rect: Rect; radius: float32;
strokeWidth = 1.0) {...}{.raises: [PixieError, Exception],
tags: [RootEffect].}
-
Stroke a rounded rectangle.
proc strokeSegment(image: Image; segment: Segment; color: ColorRGBA;
strokeWidth = 1.0) {...}{.raises: [], tags: [].}
-
Stroke a segment (draws a line from segment.at to segment.to).
proc strokeSegment(mask: Mask; segment: Segment; strokeWidth: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Stroke a segment (draws a line from segment.at to segment.to).
proc fillEllipse(image: Image; center: Vec2; rx, ry: float32; color: ColorRGBA;
blendMode = bmNormal) {...}{.raises: [], tags: [].}
-
Fill an ellipse.
proc fillEllipse(mask: Mask; center: Vec2; rx, ry: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Fill an ellipse.
proc strokeEllipse(image: Image; center: Vec2; rx, ry: float32;
color: ColorRGBA; strokeWidth = 1.0) {...}{.raises: [], tags: [].}
-
Stroke an ellipse.
proc strokeEllipse(mask: Mask; center: Vec2; rx, ry: float32; strokeWidth = 1.0) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Stroke an ellipse.
proc fillCircle(image: Image; center: Vec2; radius: float32; color: ColorRGBA) {...}{.
raises: [], tags: [].}
-
Fills a circle.
proc fillCircle(mask: Mask; center: Vec2; radius: float32) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Fills a circle.
proc strokeCircle(image: Image; center: Vec2; radius: float32; color: ColorRGBA;
strokeWidth = 1.0) {...}{.raises: [], tags: [].}
-
Strokes a circle.
proc strokeCircle(mask: Mask; center: Vec2; radius: float32; strokeWidth = 1.0) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Strokes a circle.
proc fillPolygon(image: Image; pos: Vec2; size: float32; sides: int;
color: ColorRGBA) {...}{.raises: [], tags: [].}
-
Fills a polygon.
proc fillPolygon(mask: Mask; pos: Vec2; size: float32; sides: int) {...}{.
raises: [PixieError, Exception], tags: [RootEffect].}
-
Fills a polygon.
proc strokePolygon(image: Image; pos: Vec2; size: float32; sides: int;
color: ColorRGBA; strokeWidth = 1.0) {...}{.raises: [], tags: [].}
-
Strokes a polygon.
proc strokePolygon(mask: Mask; pos: Vec2; size: float32; sides: int;
strokeWidth = 1.0) {...}{.raises: [PixieError, Exception],
tags: [RootEffect].}
-
Strokes a polygon.