Home
last modified time | relevance | path

Searched refs:newStroke (Results 1 – 25 of 27) sorted by relevance

12

/dports/lang/kawa/kawa-3.1.1/gnu/kawa/models/
H A DWithPaint.java33 public static BasicStroke merge(BasicStroke newStroke, int select, in merge() argument
36 return newStroke; in merge()
38 ? newStroke.getLineWidth() : oldStroke.getLineWidth(); in merge()
40 ? newStroke.getEndCap() : oldStroke.getEndCap(); in merge()
42 ? newStroke.getLineJoin() : oldStroke.getLineJoin(); in merge()
44 ? newStroke.getMiterLimit() : oldStroke.getMiterLimit(); in merge()
46 ? newStroke.getDashArray() : oldStroke.getDashArray(); in merge()
48 ? newStroke.getDashPhase() : oldStroke.getDashPhase(); in merge()
/dports/editors/calligra/calligra-3.2.1/libs/flake/commands/
H A DKoShapeStrokeCommand.cpp48 void addNewStroke(KoShapeStrokeModel * newStroke) in addNewStroke() argument
50 if (newStroke) in addNewStroke()
51 newStroke->ref(); in addNewStroke()
52 newStrokes.append(newStroke); in addNewStroke()
/dports/graphics/krita/krita-4.4.8/libs/flake/
H A DKoFlakeUtils.h45 KoShapeStrokeSP newStroke = in Q_FOREACH() local
50 modifyFunction(newStroke); in Q_FOREACH()
52 newStrokes << newStroke; in Q_FOREACH()
/dports/editors/calligra/calligra-3.2.1/plugins/karbonplugins/tools/
H A DKarbonGradientTool.cpp171 KoShapeStroke * newStroke = new KoShapeStroke(*stroke); in mousePressEvent() local
172 newStroke->setLineBrush(QBrush(*m_gradient)); in mousePressEvent()
173 m_currentCmd = new KoShapeStrokeCommand(shape, newStroke); in mousePressEvent()
562 KoShapeStroke * newStroke = 0; in gradientChanged() local
564 newStroke = new KoShapeStroke(*stroke); in gradientChanged()
566 newStroke = new KoShapeStroke(1.0); in gradientChanged()
568 if (newStroke->lineBrush().gradient()) { in gradientChanged()
569 … QGradient * g = KoGradientHelper::convertGradient(newStroke->lineBrush().gradient(), type); in gradientChanged()
580 newStroke->setLineBrush(newGradient); in gradientChanged()
581 newStrokes.append(newStroke); in gradientChanged()
H A DKarbonGradientEditStrategy.cpp341 KoShapeStroke * newStroke = new KoShapeStroke(*stroke); in createCommand() local
342 newStroke->setLineBrush(m_newBrush); in createCommand()
343 return new KoShapeStrokeCommand(m_shape, newStroke, parent); in createCommand()
/dports/graphics/krita/krita-4.4.8/libs/widgets/
H A DKoStrokeConfigWidget.cpp457 KoShapeStroke *newStroke = new KoShapeStroke(); in applyChanges() local
460 newStroke->setLineBrush(oldStroke->lineBrush()); in applyChanges()
462 newStroke->setColor(color()); in applyChanges()
463 newStroke->setLineWidth(lineWidth()); in applyChanges()
464 newStroke->setCapStyle(static_cast<Qt::PenCapStyle>(d->capNJoinMenu->capGroup->checkedId())); in applyChanges()
465 newStroke->setJoinStyle(static_cast<Qt::PenJoinStyle>(d->capNJoinMenu->joinGroup->checkedId())); in applyChanges()
466 newStroke->setMiterLimit(miterLimit()); in applyChanges()
467 newStroke->setLineStyle(lineStyle(), lineDashes()); in applyChanges()
470 … KoShapeStrokeCommand *cmd = new KoShapeStrokeCommand(selection->selectedShapes(), newStroke); in applyChanges()
/dports/editors/calligra/calligra-3.2.1/libs/widgets/
H A DKoStrokeConfigWidget.cpp436 KoShapeStroke *newStroke = new KoShapeStroke(); in applyChanges() local
439 newStroke->setLineBrush(oldStroke->lineBrush()); in applyChanges()
441 newStroke->setColor(color()); in applyChanges()
442 newStroke->setLineWidth(lineWidth()); in applyChanges()
443 newStroke->setCapStyle(static_cast<Qt::PenCapStyle>(d->capNJoinMenu->capGroup->checkedId())); in applyChanges()
444 newStroke->setJoinStyle(static_cast<Qt::PenJoinStyle>(d->capNJoinMenu->joinGroup->checkedId())); in applyChanges()
445 newStroke->setMiterLimit(miterLimit()); in applyChanges()
446 newStroke->setLineStyle(lineStyle(), lineDashes()); in applyChanges()
449 … KoShapeStrokeCommand *cmd = new KoShapeStrokeCommand(selection->selectedShapes(), newStroke); in applyChanges()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/tnztools/
H A Dirontool.cpp387 TStroke *newStroke = new TStroke(hitPoints); in leftButtonUp() local
391 detectCorners(newStroke, 45, corners); in leftButtonUp()
392 corners.push_back(newStroke->getChunkCount()); in leftButtonUp()
393 newStroke->reduceControlPoints(2.0 * getPixelSize(), corners); in leftButtonUp()
395 hitPoints.resize(m_cpIndexMin + newStroke->getControlPointCount() + in leftButtonUp()
404 for (i = 0; i < newStroke->getControlPointCount(); i++) { in leftButtonUp()
405 hitPoints[count++] = newStroke->getControlPoint(i); in leftButtonUp()
413 delete newStroke; in leftButtonUp()
H A Dvectortapetool.cpp487 VIStroke *newStroke = vi->joinStroke( in joinPointToPoint() local
498 autoCloseUndo->m_newStroke = cloneVIStroke(newStroke); in joinPointToPoint()
527 VIStroke *newStroke; in joinPointToLine() local
529 newStroke = vi->extendStroke( in joinPointToLine()
537 autoCloseUndo->m_newStroke = cloneVIStroke(newStroke); in joinPointToLine()
579 VIStroke *newStroke = vi->getVIStroke(pos); in joinLineToLine() local
582 autoCloseUndo->m_newStroke = cloneVIStroke(newStroke); in joinLineToLine()
H A Dmypainttoonzbrush.cpp123 brush.newStroke(); in beginStroke()
/dports/graphics/krita/krita-4.4.8/libs/flake/svg/
H A DSvgGraphicContext.cpp39 KoShapeStrokeSP newStroke = stroke; in SvgGraphicsContext() local
41 this->stroke = newStroke; in SvgGraphicsContext()
/dports/math/jts/jts-jts-1.18.1/modules/app/src/main/java/org/locationtech/jtstest/testbuilder/ui/style/
H A DAWTUtil.java41 Stroke newStroke = new BasicStroke((float) width); in setStroke() local
42 g.setStroke(newStroke); in setStroke()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/tvectorimage/
H A Dtvectorimage.cpp1643 double newLength = newStroke.getLength(); in recomputeW1()
1651 return newStroke.getParameterAtLength(s); in recomputeW1()
1666 double newLength = newStroke.getLength(); in recomputeW()
1673 return newStroke.getParameterAtLength(s); in recomputeW()
2079 TStroke *newStroke = new TStroke(points); in extendStrokeSmoothly() local
2080 newStroke->setStyle(styleId); in extendStrokeSmoothly()
2117 newStroke->setStyle(stroke->getStyle()); in extendStroke()
2119 ret = newStroke; in extendStroke()
2185 newStroke->setStyle(styleId); in joinStroke()
2308 newStroke->setStyle(styleId); in joinStrokeSmoothly()
[all …]
H A Dtstroke.cpp2517 TStroke *newStroke; in joinStrokes() local
2520 newStroke = new TStroke(*s0); in joinStrokes()
2521 newStroke->setSelfLoop(); in joinStrokes()
2522 return newStroke; in joinStrokes()
2539 newStroke = new TStroke(v); in joinStrokes()
2540 newStroke->setStyle(s0->getStyle()); in joinStrokes()
2541 newStroke->outlineOptions() = s0->outlineOptions(); in joinStrokes()
2543 return newStroke; in joinStrokes()
/dports/graphics/krita/krita-4.4.8/libs/flake/commands/
H A DKoShapeStrokeCommand.cpp45 void addNewStroke(KoShapeStrokeModelSP newStroke) in addNewStroke() argument
47 newStrokes.append(newStroke); in addNewStroke()
/dports/science/cdk/cdk-cdk-2.3/display/renderbasic/src/main/java/org/openscience/cdk/renderer/elements/
H A DGeneralPath.java115 public GeneralPath outline(double newStroke) { in outline() argument
116 return new GeneralPath(elements, color, winding, newStroke, false); in outline()
/dports/editors/calligra/calligra-3.2.1/karbon/ui/
H A DKarbonView.cpp328 KoShapeStroke * newStroke = 0; in dropEvent() local
330 newStroke = new KoShapeStroke(*stroke); in dropEvent()
331 newStroke->setColor(color); in dropEvent()
333 newStroke = new KoShapeStroke(1.0, color); in dropEvent()
335 strokes.append(newStroke); in dropEvent()
1269 KoShapeStroke *newStroke = new KoShapeStroke(*stroke); in applyPaletteColor() local
1270 newStroke->setColor(color.toQColor()); in applyPaletteColor()
1271 newStrokes << newStroke; in applyPaletteColor()
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/song/models/
H A DTGStroke.java54 TGStroke stroke = factory.newStroke(); in clone()
H A DTGBeat.java29 this.stroke = factory.newStroke(); in TGBeat()
/dports/biology/artemis/artemis-17.0.1-11-g3e43d27e/uk/ac/sanger/artemis/components/alignment/
H A DLineAttributes.java357 BasicStroke newStroke = new BasicStroke(slider.getValue(), in setLineSize() local
360 thislines[number].setStroke(newStroke); in setLineSize()
/dports/biology/artemis/artemis-17.0.1-11-g3e43d27e/uk/ac/sanger/artemis/plot/
H A DLineAttributes.java391 BasicStroke newStroke = new BasicStroke(slider.getValue(), in setLineSize() local
394 thislines[number].setStroke(newStroke); in setLineSize()
/dports/audio/tuxguitar/tuxguitar-src-1.2/TuxGuitar/src/org/herac/tuxguitar/song/factory/
H A DTGFactory.java141 public TGStroke newStroke(){ in newStroke() method in TGFactory
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/
H A Dtvectorimage.h231 void replaceStroke(int index, TStroke *newStroke);
/dports/devel/itext/itext-4.2.0/core/com/lowagie/text/pdf/
H A DPdfGraphics2D.java647 private void setStrokeDiff(Stroke newStroke, Stroke oldStroke) { in setStrokeDiff() argument
648 if (newStroke == oldStroke) in setStrokeDiff()
650 if (!(newStroke instanceof BasicStroke)) in setStrokeDiff()
652 BasicStroke nStroke = (BasicStroke)newStroke; in setStrokeDiff()
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/toonz/
H A Dmypaint.h170 void newStroke() in newStroke() function

12