public virtual void PaintFloatItems(int APageIndex, int ADataDrawLeft, int ADataDrawTop, int AVOffset, HCCanvas ACanvas, PaintInfo APaintInfo) { HCFloatItem vFloatItem = null; for (int i = 0; i <= FFloatItems.Count - 1; i++) { vFloatItem = FFloatItems[i]; vFloatItem.DrawRect = HC.Bounds(vFloatItem.Left, vFloatItem.Top, vFloatItem.Width, vFloatItem.Height); vFloatItem.DrawRect.Offset(ADataDrawLeft, ADataDrawTop - AVOffset); // 将数据起始位置映射到绘制位置 vFloatItem.PaintTo(this.Style, vFloatItem.DrawRect, ADataDrawTop, 0, 0, 0, ACanvas, APaintInfo); } }