Commit 533057e9 authored by Scott Wittenburg's avatar Scott Wittenburg

Replace DrawPolygon with equivalent DrawQuad

parent 4b2036a4
......@@ -790,7 +790,7 @@ bool vtkLabeledContourPolyDataItem::RenderBackgrounds(vtkContext2D* painter)
pen->SetOpacityF(bgopacity);
brush->SetColorF(bgcolor);
brush->SetOpacityF(bgopacity);
painter->DrawPolygon(this->LabelHelpers[i]->boxPoints, 5);
painter->DrawQuad(this->LabelHelpers[i]->boxPoints);
}
pen->SetColorF(prevPenColor);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment