|
@@ -251,7 +251,7 @@ public class BrushOutputNode : Node
|
|
|
previewEngine.ExecuteBrush(previewChunkyImage,
|
|
previewEngine.ExecuteBrush(previewChunkyImage,
|
|
|
new BrushData(context.Graph, Id) { StrokeWidth = size, AntiAliasing = true },
|
|
new BrushData(context.Graph, Id) { StrokeWidth = size, AntiAliasing = true },
|
|
|
(VecI)pos, context.FrameTime, context.ProcessingColorSpace, context.DesiredSamplingOptions,
|
|
(VecI)pos, context.FrameTime, context.ProcessingColorSpace, context.DesiredSamplingOptions,
|
|
|
- new PointerInfo(pos, 1, 0, VecD.Zero, new VecD(0, 1)),
|
|
|
|
|
|
|
+ new PointerInfo(pos, 1, 0, VecD.Zero, new VecD(0, 1), true, false),
|
|
|
new KeyboardInfo(),
|
|
new KeyboardInfo(),
|
|
|
new EditorData(Colors.White, Colors.Black));
|
|
new EditorData(Colors.White, Colors.Black));
|
|
|
}
|
|
}
|
|
@@ -284,7 +284,7 @@ public class BrushOutputNode : Node
|
|
|
pos = vec4D.XY;
|
|
pos = vec4D.XY;
|
|
|
pos = new VecD(pos.X, pos.Y + maxSize / 2f) + shift;
|
|
pos = new VecD(pos.X, pos.Y + maxSize / 2f) + shift;
|
|
|
|
|
|
|
|
- points.Add(new RecordedPoint((VecI)pos, new PointerInfo(pos, pressure, 0, VecD.Zero, vec4D.ZW),
|
|
|
|
|
|
|
+ points.Add(new RecordedPoint((VecI)pos, new PointerInfo(pos, pressure, 0, VecD.Zero, vec4D.ZW, true, false),
|
|
|
new KeyboardInfo(), new EditorData(Colors.White, Colors.Black)));
|
|
new KeyboardInfo(), new EditorData(Colors.White, Colors.Black)));
|
|
|
|
|
|
|
|
previewEngine.ExecuteBrush(target,
|
|
previewEngine.ExecuteBrush(target,
|
|
@@ -316,7 +316,7 @@ public class BrushOutputNode : Node
|
|
|
var vec4D = previewVectorPath.GetPositionAndTangentAtDistance(offset, false);
|
|
var vec4D = previewVectorPath.GetPositionAndTangentAtDistance(offset, false);
|
|
|
pos = vec4D.XY;
|
|
pos = vec4D.XY;
|
|
|
pos = new VecD(pos.X, pos.Y + maxSize / 2f) + shift;
|
|
pos = new VecD(pos.X, pos.Y + maxSize / 2f) + shift;
|
|
|
- points.Add(new RecordedPoint((VecI)pos, new PointerInfo(pos, pressure, 0, VecD.Zero, vec4D.ZW),
|
|
|
|
|
|
|
+ points.Add(new RecordedPoint((VecI)pos, new PointerInfo(pos, pressure, 0, VecD.Zero, vec4D.ZW, true, false),
|
|
|
new KeyboardInfo(), new EditorData(Colors.White, Colors.Black)));
|
|
new KeyboardInfo(), new EditorData(Colors.White, Colors.Black)));
|
|
|
|
|
|
|
|
previewEngine.ExecuteBrush(target,
|
|
previewEngine.ExecuteBrush(target,
|
|
@@ -333,7 +333,7 @@ public class BrushOutputNode : Node
|
|
|
previewEngine.ExecuteBrush(img,
|
|
previewEngine.ExecuteBrush(img,
|
|
|
new BrushData(context.Graph, Id) { StrokeWidth = size, AntiAliasing = true },
|
|
new BrushData(context.Graph, Id) { StrokeWidth = size, AntiAliasing = true },
|
|
|
pos, context.FrameTime, context.ProcessingColorSpace, context.DesiredSamplingOptions,
|
|
pos, context.FrameTime, context.ProcessingColorSpace, context.DesiredSamplingOptions,
|
|
|
- new PointerInfo(pos, 1, 0, VecD.Zero, new VecD(0, 1)),
|
|
|
|
|
|
|
+ new PointerInfo(pos, 1, 0, VecD.Zero, new VecD(0, 1), true, false),
|
|
|
new KeyboardInfo(),
|
|
new KeyboardInfo(),
|
|
|
new EditorData(Colors.White, Colors.Black));
|
|
new EditorData(Colors.White, Colors.Black));
|
|
|
}
|
|
}
|