public MaskDAGGraphNode(GraphCanvas owningCanvas) { mOwningCanvas = owningCanvas; //grab the point from the user Location = owningCanvas.transformPoint(owningCanvas.LastClickedPoint, owningCanvas.CanvasTransformInv); }
public Device_SelectGradient(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "Select Gradient"; mColorTop = Color.White; mColorBottom = Color.Purple; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); }
public Device_HydraulicErosion(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "Hydraulic Erosion"; mColorTop = Color.White; mColorBottom = Color.Brown; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); }
public Device_RidgedNoise(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "Ridged Noise"; mColorTop = Color.White; mColorBottom = Color.Green; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); }
public Device_DistanceTransform(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "Distance Transform"; mColorTop = Color.White; mColorBottom = Color.CornflowerBlue; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); }
public Device_RandomInt(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "Random Integer"; mColorTop = Color.White; mColorBottom = Color.Yellow; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); }
public Device_Splitter(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "Splitter"; mColorTop = Color.White; mColorBottom = Color.PeachPuff; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); }
public Device_MaskFromList(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "Mask From List"; mColorTop = Color.White; mColorBottom = Color.HotPink; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); }
public Device_ToCurrentMask(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "To Current Mask"; mColorTop = Color.White; mColorBottom = Color.Red; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); }
public Device_Curves(GraphCanvas owningCanvas) : base(owningCanvas) { base.Text = "Curves"; mColorTop = Color.White; mColorBottom = Color.CornflowerBlue; mBorderSize = 1; mSize.Width = 60; mSize.Height = 20; generateConnectionPoints(); resizeFromConnections(); addControlPoint(0, 0); addControlPoint(1, 1); }
public MaskDevice(GraphCanvas owningCanvas) : base(owningCanvas) { }
public OutputConnectionPoint(ParamType valueType, string Descriptor, MaskDAGGraphNode ownerMaskDAGGraphNode, GraphCanvas owningCanvas) : base(valueType, Descriptor, ownerMaskDAGGraphNode, owningCanvas) { Location = new Point(2, 2); mSize = new Size(10, 10); mBorderSize = 1; mColorBottom = Color.LightGray; mColorTop = Color.Gray; }
public ConnectionPoint(ParamType paramType, string Descriptor, MaskDAGGraphNode ownerMaskDAGGraphNode, GraphCanvas owningCanvas) { mDepthLayer = 1; mOwnerMaskDAGGraphNode = ownerMaskDAGGraphNode; mParamType = paramType; ID = Descriptor; }
public ConstraintConnectionPoint(ParamType valueType, string Descriptor, MaskDAGGraphNode ownerMaskDAGGraphNode, GraphCanvas owningCanvas) : base(valueType, Descriptor, ownerMaskDAGGraphNode, owningCanvas) { Location = new Point(2, 2); mSize = new Size(10, 10); mBorderSize = 1; mColorBottom = Color.Purple; mColorTop = Color.White; }
public InputConnectionPoint(ParamType valueType, bool requiredInput, string Descriptor, MaskDAGGraphNode ownerMaskDAGGraphNode, GraphCanvas owningCanvas) : base(valueType, Descriptor, ownerMaskDAGGraphNode, owningCanvas) { mLocation = new Point(2, 2); mSize = new Size(10, 10); mBorderSize = 1; mColorBottom = Color.Gray; mColorTop = Color.White; mIsRequiredInput = requiredInput; }