private PaintDecoration ( |
||
g | ||
rectangle | ||
isFirst | bool | |
isLast | bool | |
Résultat | void |
internal void PaintDecoration(PaintVisitor p) { for (int i = _bottomUpBoxStrips.Length - 1; i >= 0; --i) { PartialBoxStrip strip = _bottomUpBoxStrips[i]; CssBox ownerBox = strip.owner; CssBox.GetSplitInfo(ownerBox, this, out bool isFirstLine, out bool isLastLine); ownerBox.PaintDecoration(p.InnerDrawBoard, strip.Bounds, isFirstLine, isLastLine); } }
internal void PaintDecoration(PaintVisitor p) { //if (_bottomUpBoxStrips == null) //{ // return; //} for (int i = _bottomUpBoxStrips.Length - 1; i >= 0; --i) { var strip = _bottomUpBoxStrips[i]; CssBox ownerBox = strip.owner; bool isFirstLine, isLastLine; CssBox.GetSplitInfo(ownerBox, this, out isFirstLine, out isLastLine); ownerBox.PaintDecoration(p.InnerCanvas, strip.Bound, isFirstLine, isLastLine); } }