Update() 보호된 메소드

protected Update ( ) : void
리턴 void
예제 #1
0
        /// <summary>
        /// Initialize the graphics buffer (should be called in the forms load event).
        /// </summary>
        public void Initialize(Mesh mesh)
        {
            renderer = new TopologyRenderer(mesh);

            zoom.Initialize(this.ClientRectangle);
            //zoom.ClipMargin = 10.0f;

            var b = mesh.Bounds;

            zoom.Update(new BoundingBox((float)b.MinX, (float)b.MaxX,
                                        (float)b.MinY, (float)b.MaxY));

            InitializeBuffer();

            initialized = true;

            this.Render();
        }
예제 #2
0
파일: Magnifier.cs 프로젝트: istimbi/ORTOS
 public void showImage(Bitmap bitmap)
 {
     Zoom.Image = bitmap;
     Zoom.Update();
 }