Beispiel #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();
        }
Beispiel #2
0
        public void Flush(FlushIntention intention)
        {
            if (context == null)
            {
                return;
            }

            throw new NotImplementedException();
        }
Beispiel #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();
     }
 }
Beispiel #4
0
 public void Flush(FlushIntention intention)
 {
     throw new NotImplementedException();
 }
Beispiel #5
0
 public void Flush(FlushIntention intention)
 {
     _g.Flush(intention);
 }
Beispiel #6
0
 public void Flush(FlushIntention intention)
 {
     GdiPlus.GdipFlush(nativeGraphics, intention);
 }
Beispiel #7
0
 /// <summary>
 /// Does nothing
 /// </summary>
 /// <param name="intention"></param>
 public void Flush(FlushIntention intention)
 {
     //nothing to do
 }
 public void Flush(FlushIntention intention)
 {
     this.baseGraphics.Flush(intention);
 }
 public void Flush(FlushIntention intention)
 {
     graphics.Flush(intention);
 }
Beispiel #10
0
 public void Flush(FlushIntention intention)
 {
     throw new NotImplementedException();
 }
Beispiel #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();
 }
Beispiel #14
0
 public void Flush(FlushIntention intention)
 {
     throw null;
 }
	public void Flush(FlushIntention intention)
			{
				lock(this)
				{
					if(graphics != null)
					{
						graphics.Flush(intention);
					}
				}
			}
Beispiel #16
0
 // Not implementing Flush
 public override void Flush(FlushIntention intention)
 {
 }
Beispiel #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();
				}
			}
Beispiel #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);
		}
Beispiel #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 ();
		}
Beispiel #21
0
		internal static extern Status GdipFlush(IntPtr graphics, FlushIntention intention);
Beispiel #22
0
 public void Flush(FlushIntention intention)
 {
     _g.Flush(intention);
 }
Beispiel #23
0
 GdipFlush(GpGraphics graphics, FlushIntention intention);
        /// <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);
            }
        }
        public void Flush(FlushIntention intention)
        {
            if (context == null)
                return;

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