MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / initIterators

Method initIterators

src/app/tools/ink_processing.h:76–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74class SimpleInkProcessing : public InkProcessing<Derived> {
75public:
76 void initIterators(ToolLoop* loop, int x1, int y) {
77 m_dstAddress = (typename ImageTraits::address_t)loop->getDstImage()->getPixelAddress(x1, y);
78 }
79
80 void moveIterators() {
81 ++m_dstAddress;

Callers 1

operator()Method · 0.45

Calls 2

getPixelAddressMethod · 0.80
getDstImageMethod · 0.45

Tested by

no test coverage detected