Lines Matching refs:colorIndex

87 …if (((colorMask == -1) || (colorMask == stitch->colorIndex)) && (stitchMask.contains(stitch->type)…  in cut()
117 …if (((colorMask == -1) || (colorMask == backstitch->colorIndex)) && (snapArea.contains(backstitch-… in cut()
132 …if (((colorMask == -1) || (colorMask == knot->colorIndex)) && (snapArea.contains(knot->position)))… in cut()
164 …if (((colorMask == -1) || (colorMask == stitch->colorIndex)) && (stitchMask.contains(stitch->type)… in copy()
165 dstQ->add(stitch->type, stitch->colorIndex); in copy()
186 …if (((colorMask == -1) || (colorMask == backstitch->colorIndex)) && (snapArea.contains(backstitch-… in copy()
187 …kstitch->start - snapArea.topLeft(), backstitch->end - snapArea.topLeft(), backstitch->colorIndex); in copy()
198 …if (((colorMask == -1) || (colorMask == knot->colorIndex)) && (snapArea.contains(knot->position)))… in copy()
199 … pattern->stitches().addFrenchKnot(knot->position - snapArea.topLeft(), knot->colorIndex); in copy()
236 …int colorIndex = palette().add(pattern->palette().flosses().value(stitch->colorIndex)->flossColor(… in paste() local
237 dstQ->add(stitch->type, colorIndex); in paste()
252 …int colorIndex = palette().add(pattern->palette().flosses().value(backstitch->colorIndex)->flossCo… in paste() local
255 …ches().addBackstitch(backstitch->start + targetOffset, backstitch->end + targetOffset, colorIndex); in paste()
263 …int colorIndex = palette().add(pattern->palette().flosses().value(knot->colorIndex)->flossColor()); in paste() local
266 stitches().addFrenchKnot(knot->position + targetOffset, colorIndex); in paste()