Merge "Add GetLineBoundingRectangle API." into devel/master