Ejemplo n.º 1
0
        // Select a brush-based pen into a graphics object.
        public override void Select(IToolkitGraphics graphics, IToolkitBrush brush)
        {
            // Set the basic line information first.
            Select(graphics);

            // Select the brush details into the graphics context.
            brush.Select(graphics);
        }
Ejemplo n.º 2
0
        // Select this brush into a graphics object.
        public override void Select(IToolkitGraphics _graphics)
        {
            innerBrush.Select(_graphics);
            DrawingGraphics graphics = (_graphics as DrawingGraphics);

            if (graphics != null)
            {
                Xsharp.Graphics g = graphics.graphics;
                g.Function      = GCFunction.GXxor;
                g.SubwindowMode = SubwindowMode.IncludeInferiors;
            }
            graphics.Brush = this;
        }
Ejemplo n.º 3
0
 // Select this brush into a graphics object.
 public override void Select(IToolkitGraphics graphics)
 {
     // TODO: need to handle the XOR property.
     innerBrush.Select(graphics);
 }
Ejemplo n.º 4
0
	// Select a brush-based pen into a graphics object.
	public override void Select(IToolkitGraphics graphics, IToolkitBrush brush)
			{
				// Set the basic line information first.
				Select(graphics);

				// Select the brush details into the graphics context.
				brush.Select(graphics);
			}