mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 03:10:56 +00:00
Update drawing shadow settings for consistentency
This commit is contained in:
@@ -469,8 +469,7 @@ class BaseDecorator:
|
|||||||
blf.rotation(font_id, ang)
|
blf.rotation(font_id, ang)
|
||||||
blf.color(font_id, *color)
|
blf.color(font_id, *color)
|
||||||
blf.enable(font_id, blf.SHADOW)
|
blf.enable(font_id, blf.SHADOW)
|
||||||
blf.shadow(font_id, 5, 0, 0, 0, 1)
|
blf.shadow(font_id, 6, 0, 0, 0, 1)
|
||||||
blf.shadow_offset(font_id, 1, -1)
|
|
||||||
blf.draw(font_id, text)
|
blf.draw(font_id, text)
|
||||||
blf.disable(font_id, blf.ROTATION)
|
blf.disable(font_id, blf.ROTATION)
|
||||||
blf.disable(font_id, blf.SHADOW)
|
blf.disable(font_id, blf.SHADOW)
|
||||||
|
|||||||
Reference in New Issue
Block a user