Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
Display
Helpers
Bresenham.cpp
Go to the documentation of this file.
1
#include "
Bresenham.hpp
"
2
3
BEGIN_CS_NAMESPACE
4
5
size_t
BresenhamLine::Pixel::printTo
(Print &p)
const
{
6
return
p.print(
'('
) + p.print(
x
) + p.print(
", "
) + p.print(
y
) +
7
p.print(
')'
);
8
}
9
10
END_CS_NAMESPACE
Bresenham.hpp
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:14
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:11
BresenhamLine::Pixel::y
pint y
Definition
Bresenham.hpp:22
BresenhamLine::Pixel::x
pint x
Definition
Bresenham.hpp:22
BresenhamLine::Pixel::printTo
size_t printTo(Print &p) const override
Definition
Bresenham.cpp:5
Generated by
1.10.0