A table of horizontal scan-line segments - used for rasterising Paths.
More...
List of all members.
Detailed Description
A table of horizontal scan-line segments - used for rasterising Paths.
- See also:
- Path, Graphics
Constructor & Destructor Documentation
Creates an edge table containing a path.
A table is created with a fixed vertical range, and only sections of the path which lie within this range will be added to the table.
- Parameters:
-
| clipLimits | only the region of the path that lies within this area will be added |
| pathToAdd | the path to add to the table |
| transform | a transform to apply to the path being added |
Creates an edge table containing a rectangle.
Creates an edge table containing a rectangle list.
Creates an edge table containing a rectangle.
Creates a copy of another edge table.
Member Function Documentation
Copies from another edge table.
Reduces the amount of space the table has allocated.
This will shrink the table down to use as little memory as possible - useful for read-only tables that get stored and re-used for rendering.
template<class EdgeTableIterationCallback >
Iterates the lines in the table, for rendering.
This function will iterate each line in the table, and call a user-defined class to render each pixel or continuous line of pixels that the table contains.
- Parameters:
-
| iterationCallback | this templated class must contain the following methods: inline void setEdgeTableYPos (int y);
inline void handleEdgeTablePixel (int x, int alphaLevel) const;
inline void handleEdgeTablePixelFull (int x) const;
inline void handleEdgeTableLine (int x, int width, int alphaLevel) const;
inline void handleEdgeTableLineFull (int x, int width) const;
(these don't necessarily have to be 'const', but it might help it go faster) |
References isPositiveAndBelow(), and jassert.
The documentation for this class was generated from the following file: