Exemplo n.º 1
0
        /// <summary>
        /// Forces execution of all operations currently on the stack.
        /// </summary>
        public void Flush(FlushIntention intention)
        {
            int status = SafeNativeMethods.Gdip.GdipFlush(new HandleRef(this, NativeGraphics), intention);

            SafeNativeMethods.Gdip.CheckStatus(status);

            FlushCore();
        }
Exemplo n.º 2
0
        public void Flush(FlushIntention intention)
        {
            if (context == null)
            {
                return;
            }

            throw new NotImplementedException();
        }
Exemplo n.º 3
0
 // Flush the graphics subsystem
 public override void Flush(FlushIntention intention)
 {
     if (intention == FlushIntention.Flush)
     {
         ((DrawingToolkit)Toolkit).app.Display.Flush();
     }
     else
     {
         ((DrawingToolkit)Toolkit).app.Display.Sync();
     }
 }
Exemplo n.º 4
0
 public void Flush(FlushIntention intention)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 5
0
 public void Flush(FlushIntention intention)
 {
     _g.Flush(intention);
 }
Exemplo n.º 6
0
 public void Flush(FlushIntention intention)
 {
     GdiPlus.GdipFlush(nativeGraphics, intention);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Does nothing
 /// </summary>
 /// <param name="intention"></param>
 public void Flush(FlushIntention intention)
 {
     //nothing to do
 }
Exemplo n.º 8
0
 public void Flush(FlushIntention intention)
 {
     this.baseGraphics.Flush(intention);
 }
Exemplo n.º 9
0
 public void Flush(FlushIntention intention)
 {
     graphics.Flush(intention);
 }
Exemplo n.º 10
0
 public void Flush(FlushIntention intention)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 11
0
 // Flush the graphics subsystem
 public virtual void Flush(FlushIntention intention)
 {
     // Nothing to do in the base class.
 }
	// Flush the graphics subsystem
	public virtual void Flush(FlushIntention intention)
			{
				// Nothing to do in the base class.
			}
 public void Flush(FlushIntention intention)
 {
     _image.Flush();
 }
Exemplo n.º 14
0
 public void Flush(FlushIntention intention)
 {
     throw null;
 }
Exemplo n.º 15
0
	public void Flush(FlushIntention intention)
			{
				lock(this)
				{
					if(graphics != null)
					{
						graphics.Flush(intention);
					}
				}
			}
Exemplo n.º 16
0
 // Not implementing Flush
 public override void Flush(FlushIntention intention)
 {
 }
Exemplo n.º 17
0
 public static extern GdiPlusStatus GdipFlush
 (
     IntPtr graphics,
     FlushIntention intention
 );
	// Flush the graphics subsystem
	public override void Flush(FlushIntention intention)
			{
				if(intention == FlushIntention.Flush)
				{
					((DrawingToolkit)Toolkit).app.Display.Flush();
				}
				else
				{
					((DrawingToolkit)Toolkit).app.Display.Sync();
				}
			}
Exemplo n.º 19
0
		public void Flush (FlushIntention intention)
		{
			if (nativeObject == IntPtr.Zero) {
				return;
			}

			Status status = GDIPlus.GdipFlush (nativeObject, intention);
                        GDIPlus.CheckStatus (status);                    
			if (GDIPlus.UseCarbonDrawable && context.ctx != IntPtr.Zero)
				Carbon.CGContextSynchronize (context.ctx);
		}
Exemplo n.º 20
0
		public void Flush (FlushIntention intention)
		{
			if (nativeObject == IntPtr.Zero) {
				return;
			}

			Status status = GDIPlus.GdipFlush (nativeObject, intention);
                        GDIPlus.CheckStatus (status);                    

			if (maccontext != null)
				maccontext.Synchronize ();
		}
Exemplo n.º 21
0
		internal static extern Status GdipFlush(IntPtr graphics, FlushIntention intention);
Exemplo n.º 22
0
 public void Flush(FlushIntention intention)
 {
     _g.Flush(intention);
 }
Exemplo n.º 23
0
 GdipFlush(GpGraphics graphics, FlushIntention intention);
Exemplo n.º 24
0
        /// <include file='doc\Graphics.uex' path='docs/doc[@for="Graphics.Flush1"]/*' />
        /// <devdoc>
        ///    <para>
        ///       Forces execution of all operations currently on the stack.
        ///    </para>
        /// </devdoc>
        public void Flush(FlushIntention intention) 
        {
            int status = SafeNativeMethods.Gdip.GdipFlush(new HandleRef(this, this.NativeGraphics), intention);

            if (status != SafeNativeMethods.Gdip.Ok) {
                throw SafeNativeMethods.Gdip.StatusException(status);
            }
        }
Exemplo n.º 25
0
        public void Flush(FlushIntention intention)
        {
            if (context == null)
                return;

            throw new NotImplementedException ();
        }
Exemplo n.º 26
0
 internal static extern int GdipFlush(HandleRef graphics, FlushIntention intention);
Exemplo n.º 27
0
		public void Flush (FlushIntention intention) {
			if (_image != null)
				_image.NativeObject.CurrentImage.NativeImage.flush();
		}
Exemplo n.º 28
0
 public void Flush(FlushIntention intention)
 {
     NativeMethods.GdipFlush(nativeGraphics, intention);
 }
	// Not implementing Flush
	public override void Flush(FlushIntention intention)
	{
	}
Exemplo n.º 30
0
 public void Flush(FlushIntention intention)
 {
     graphics.Flush(intention);
 }
Exemplo n.º 31
0
 public void Flush(FlushIntention intention)
 {
     GdiPlus.GdipFlush(nativeGraphics, intention);
 }
Exemplo n.º 32
0
 internal static extern GpStatus GdipFlush(GpGraphics graphics, FlushIntention intention);
Exemplo n.º 33
0
 public abstract void Flush(FlushIntention intention);
Exemplo n.º 34
0
 public void Flush(FlushIntention intention)
 {
     this.baseGraphics.Flush(intention);
 }
Exemplo n.º 35
0
 extern static internal GpStatus GdipFlush(GpGraphics graphics, FlushIntention intention);