Dear all,
I found that a TPolyline is not filled when NDC mode is used.
This can be seen by the following example:
{
TPolyLine pl(5);
pl.SetNDC(kTRUE);
pl.SetFillStyle(1001);
pl.SetFillColor(kCyan);
pl.SetPoint(0, 0.1, 0.1);
pl.SetPoint(1, 0.5, 0.1);
pl.SetPoint(2, 0.5, 0.2);
pl.SetPoint(3, 0.1, 0.2);
pl.SetPoint(4, 0.1, 0.1);
pl.Draw("f"); // not filled!
}
.
Is there any way to solve this problem?
I need to use NDC mode to draw objects on a histogram drawin with cont4 option…