Page MenuHome

BLF: Refactor of blf_font_width_and_height
AbandonedPublic

Authored by Harley Acheson (harley) on Aug 20 2022, 6:05 PM.

Details

Summary

Refactor of the functions that get string width, height, and both.


Currently the code to get string width, height, and width & height together are just three duplications of each other. This refactor removes that redundancy by having blf_font_width and blf_font_height call blf_font_width_and_height. Removes 31 lines.

Diff Detail

Repository
rB Blender