Vixen
02b45cc4
csharp
public sealed class DrawListBuilder

Turns a laid-out, styled tree into a list of things to draw.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

The last step of the chain this assembly exists to complete: the cascade said what applies, the bridge turned that into lengths, flexbox turned those into rectangles, and this turns the rectangles into commands. Nothing here decides anything — it reads.

Painting order is PaintOrder, parent before its children and siblings in the order they were added unless a z-index says otherwise. That is the same property hit testing walks in reverse, and the two have to agree: an element drawn on top must be the one a click lands on, and any rule that made them disagree would be a UI where things are not where they look. Neither of them having its own opinion is what guarantees it.

Methods (3)

Used by (2)

  • DrawContextVixen.Ui
  • UiDocumentVixen.Ui