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

Method initIterators

src/app/tools/ink_processing.h:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89class DoubleInkProcessing : public InkProcessing<Derived> {
90public:
91 void initIterators(ToolLoop* loop, int x1, int y) {
92 m_srcAddress = (typename ImageTraits::address_t)loop->getSrcImage()->getPixelAddress(x1, y);
93 m_dstAddress = (typename ImageTraits::address_t)loop->getDstImage()->getPixelAddress(x1, y);
94 }
95
96 void moveIterators() {
97 ++m_srcAddress;

Callers

nothing calls this directly

Calls 3

getPixelAddressMethod · 0.80
getSrcImageMethod · 0.45
getDstImageMethod · 0.45

Tested by

no test coverage detected