Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[labeling] Fix candidate generation for horizontal line labels
The previous candidate generation code just used the exact same logic as parallel line labels but forced the angle to be horizontal. This was completely wrong, because the parallel line candidate generation is totally designed around parallel labels. Instead, use specific logic for horizontal line candidate generation, resulting in optimal candidate generation for horizontal labels.
- Loading branch information
1 parent
4b22623
commit 69c4013
Showing
2 changed files
with
71 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters