Commit 8c4f9fc8 authored by Philippe Pébay's avatar Philippe Pébay
Browse files

Testing various color options

Change-Id: I132b3e0e0374c430d803d2abd95e5334b3aa075e
parent 2f8c7b88
......@@ -101,8 +101,8 @@ int TestScalarBar( int argc, char *argv[] )
scalarBar2->GetPositionCoordinate()->SetCoordinateSystemToNormalizedViewport();
scalarBar2->GetPositionCoordinate()->SetValue(0.05, 0.05);
scalarBar2->SetTextPositionToPrecedeScalarBar();
scalarBar2->GetTitleTextProperty()->SetColor(0., 0., 1.);
scalarBar2->GetLabelTextProperty()->SetColor(0., 0., 1.);
scalarBar2->GetTitleTextProperty()->SetColor(1., 0., 0.);
scalarBar2->GetLabelTextProperty()->SetColor(.8, 0., 0.);
scalarBar2->SetDrawFrame(1);
scalarBar2->GetFrameProperty()->SetColor(1., 0., 0.);
scalarBar2->SetDrawBackground(1);
......
Supports Markdown
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