This function aims to test the primitives provided by the 2D API.
| 46 | |
| 47 | // This function aims to test the primitives provided by the 2D API. |
| 48 | bool ContextMathTextImageTest::Paint(vtkContext2D* painter) |
| 49 | { |
| 50 | painter->GetTextProp()->SetColor(0.4, 0.6, 0.7); |
| 51 | painter->GetTextProp()->SetFontSize(60); |
| 52 | painter->DrawMathTextString(20, 20, |
| 53 | "$\\frac{-b\\pm\\sqrt{b^2-4ac}}" |
| 54 | "{2a}$"); |
| 55 | |
| 56 | return true; |
| 57 | } |
nothing calls this directly
no test coverage detected