MCPcopy Create free account
hub / github.com/davisking/dlib / get_padding

Method get_padding

dlib/gui_widgets/style.cpp:803–809  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

801// ----------------------------------------------------------------------------------------
802
803 unsigned long text_field_style_default::
804 get_padding (
805 const font& mfont
806 ) const
807 {
808 return mfont.height()-mfont.ascender();
809 }
810
811// ----------------------------------------------------------------------------------------
812

Callers

nothing calls this directly

Calls 2

heightMethod · 0.45
ascenderMethod · 0.45

Tested by

no test coverage detected