Exemplo n.º 1
0
        /// <summary>
        /// Internal only.
        /// Gets the block.
        /// </summary>
        /// <param name="context">The context</param>
        /// <returns></returns>
        internal override GcBlock GetBlock(GcReportContext context)
        {
            GcBlock block = base.GetBlock(context);

            block.Cache = GenerateRangeBlock(this, this.leftSource, this.centerSource, this.rightSource, context);
            return(block);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Indicates whether the GcBlock is intersected with a specified block.
 /// </summary>
 /// <param name="block">The block.</param>
 /// <returns></returns>
 public bool IntersectWith(GcBlock block)
 {
     return((block != null) && this.IntersectWith(block.X, block.Y, block.Width, block.Height));
 }