Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
60
def
set_text_size(size, font_id = font_id):
61
blf.size(font_id, int(size), 12)
62
63
64
def
restore_opengl_defaults():
Callers
2
draw_text
Function · 0.85
get_text_dimensions
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected