Example #1
0
 public void TestCreateBitmapDrawingTarget()
 {
     using (var backend = new DrawingBackend())
     {
         using (var target = backend.CreateBitmapDrawingSurface(10, 10))
         {
         }
     }
 }
Example #2
0
 public void TestCreateBitmapDrawingTarget()
 {
     using (var backend = new DrawingBackend())
     {
         using (var target = backend.CreateBitmapDrawingSurface(10, 10))
         {
         }
     }
 }
Example #3
0
        public void TestDrawingAndQueryBitmap()
        {
            using (var backend = new DrawingBackend())
            {
                using (var target = backend.CreateBitmapDrawingSurface(10, 10))
                {
                    using (var drawingTarget = target.BeginDraw())
                    {
                        drawingTarget.Line(0, 0, 10, 10);
                    }

                    var rawBitmap = target.ExtractRawBitmap();
                }
            }
        }
Example #4
0
        public void TestDrawingAndQueryBitmap()
        {
            using (var backend = new DrawingBackend())
            {
                using (var target = backend.CreateBitmapDrawingSurface(10, 10))
                {
                    using (var drawingTarget = target.BeginDraw())
                    {
                        drawingTarget.Line(0, 0, 10, 10);
                    }

                    var rawBitmap = target.ExtractRawBitmap();
                }
            }
        }