/// <summary> /// Gets all sizes. /// </summary> /// <param name="cache">The cache</param> /// <returns></returns> internal Windows.Foundation.Size GetAllSize(GcSectionCache cache) { if (cache.AllSize.IsEmpty) { return(this.GetAllSize((IEnumerable <GcBlock>)cache.AllBlocks)); } return(cache.AllSize); }
/// <summary> /// Gets the range. /// </summary> /// <param name="context">The context</param> /// <param name="x">The x</param> /// <param name="y">The y</param> /// <param name="width">The width</param> /// <param name="high">The height</param> /// <param name="cache">The cache</param> /// <param name="buildInControlState">State of the build in control</param> /// <param name="horizontal">If set to <c>true</c>, [horizontal]</param> /// <param name="continuePage">If set to <c>true</c>, [continue page]</param> /// <returns></returns> internal GcRangeBlock GetRange(GcReportContext context, int x, int y, int width, int high, GcSectionCache cache, object buildInControlState, bool horizontal, bool continuePage) { return(this.GetRange(context, x, y, width, high, cache.AllBlocks, cache.AllSize, buildInControlState, horizontal, continuePage)); }