Esempio n. 1
0
		public override void Save (object backend)
		{
			var ct = (CGContextBackend) backend;
			ct.Context.SaveState ();
			ct.StatusStack.Push (ct.CurrentStatus);
			var newStatus = new ContextStatus ();
			newStatus.Pattern = ct.CurrentStatus.Pattern;
			ct.CurrentStatus = newStatus;
		}
Esempio n. 2
0
        public override void Save(object backend)
        {
            var ct = (CGContextBackend)backend;

            ct.Context.SaveState();
            ct.StatusStack.Push(ct.CurrentStatus);
            var newStatus = new ContextStatus();

            newStatus.Pattern = ct.CurrentStatus.Pattern;
            ct.CurrentStatus  = newStatus;
        }