-
- Downloads
Fix TestContext2D to handle new alignment behavior.
Text alignment in the Context2D::ComputeJustifiedStringBounds now aligns the text using the information provided by vtkTextRenderer::ComputeBoundingBox. This differs from the previous implementation since we now align to the actual drawn text instead of the texture image data, which may contain padding. We also now properly handle rotations that aren't multiples of 90 degrees.
Please register or sign in to comment