public override void OnPlotterAttached(Plotter plotter) { _syncContext = SynchronizationContext.Current; base.OnPlotterAttached(plotter); _transformEffect = GetTransformEffect(Device); // Creates and sets the Vertex Declaration _vertexDeclaration = new VertexDeclaration(Device, new TDxPoint().GetVertexElements()); }
public override void OnPlotterAttached(Plotter plotter) { _syncContext = SynchronizationContext.Current; base.OnPlotterAttached(plotter); _transformEffect = GetTransformEffect(Device); // Creates and sets the Vertex Declaration _vertexDeclaration = new VertexDeclaration(Device, new DxVertex().GetVertexElements()); this._texture = TextureHelper.GetDVDImageTexture(Device); }