The Scanline class represents a scanline, a row of pixels running across a bitmap.
More...
#include <scanline.h>
|
std::int32_t | y |
| The y-coordinate of the scanline. More...
|
|
std::int32_t | x1 |
| The leftmost x-coordinate of the scanline. More...
|
|
std::int32_t | x2 |
| The rightmost x-coordinate of the scanline. More...
|
|
The Scanline class represents a scanline, a row of pixels running across a bitmap.
- Author
- Sam Twidale (https://samcodes.co.uk/)
◆ Scanline() [1/3]
geometrize::Scanline::Scanline |
( |
| ) |
|
|
default |
Scanline Creates a new scanline (members are uninitialized)
◆ Scanline() [2/3]
geometrize::Scanline::Scanline |
( |
std::int32_t |
y, |
|
|
std::int32_t |
x1, |
|
|
std::int32_t |
x2 |
|
) |
| |
Scanline Creates a new scanline.
- Parameters
-
y | The y-coordinate. |
x1 | The leftmost x-coordinate. |
x2 | The rightmost x-coordinate. |
std::int32_t x2
The rightmost x-coordinate of the scanline.
Definition: scanline.h:35
std::int32_t y
The y-coordinate of the scanline.
Definition: scanline.h:33
std::int32_t x1
The leftmost x-coordinate of the scanline.
Definition: scanline.h:34
◆ ~Scanline()
geometrize::Scanline::~Scanline |
( |
| ) |
|
|
default |
◆ Scanline() [3/3]
geometrize::Scanline::Scanline |
( |
const Scanline & |
| ) |
|
|
default |
◆ operator=()
◆ x1
std::int32_t geometrize::Scanline::x1 |
The leftmost x-coordinate of the scanline.
◆ x2
std::int32_t geometrize::Scanline::x2 |
The rightmost x-coordinate of the scanline.
std::int32_t geometrize::Scanline::y |
The y-coordinate of the scanline.
The documentation for this class was generated from the following files:
- /home/appveyor/projects/geometrize-lib-docs/geometrize-lib/geometrize/geometrize/rasterizer/scanline.h
- /home/appveyor/projects/geometrize-lib-docs/geometrize-lib/geometrize/geometrize/rasterizer/scanline.cpp