예제 #1
0
        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());
        }
예제 #2
0
        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);
        }