MCPcopy Create free account
hub / github.com/JacquesLucke/code_autocomplete / set_text_size

Function set_text_size

graphics.py:60–61  ·  view source on GitHub ↗
(size, font_id = font_id)

Source from the content-addressed store, hash-verified

58 return blf.dimensions(font_id, text)
59
60def set_text_size(size, font_id = font_id):
61 blf.size(font_id, int(size), 12)
62
63
64def restore_opengl_defaults():

Callers 2

draw_textFunction · 0.85
get_text_dimensionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected