public StreamGeometryContextImpl(StreamGeometryImpl target, Cairo.Path path)
        {
		    _target = target;

		    _surf = new Cairo.ImageSurface (Cairo.Format.Argb32, 0, 0);
			_context = new Cairo.Context (_surf);
			this.Path = path;

			if (this.Path != null) 
			{
				_context.AppendPath(this.Path);
			}
        }
Ejemplo n.º 2
0
        public StreamGeometryContextImpl(StreamGeometryImpl target, Cairo.Path path)
        {
            _target = target;

            _surf     = new Cairo.ImageSurface(Cairo.Format.Argb32, 0, 0);
            _context  = new Cairo.Context(_surf);
            this.Path = path;

            if (this.Path != null)
            {
                _context.AppendPath(this.Path);
            }
        }