Skip to content
  • Cory Quammen's avatar
    ENH: Computation of string bounds accounting for justification · aeb47cf0
    Cory Quammen authored
    vtkContext2D::ComputeStringBounds() ignores the current text property
    justification setting when computing the string bounds.
    
    Add vtkContext2D::ComputeJustifiedStringBounds() takes into account
    text justification when computing the string bounds. This is added for
    convenience.
    
    Added test for ComputeStringBounds() and
    ComputeJustifiedStringBounds().
    aeb47cf0