Home
last modified time | relevance | path

Searched refs:text_width (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/distutils/
Dfancy_getopt.py354 text_width = line_width - opt_width
363 text = wrap_text(help, text_width)
/external/python/cpython3/Lib/distutils/
Dfancy_getopt.py326 text_width = line_width - opt_width
335 text = wrap_text(help, text_width)
/external/ImageMagick/MagickCore/
Dwidget.c1640 text_width, in XColorBrowserWidget() local
1713 text_width=0; in XColorBrowserWidget()
1715 if (WidgetTextWidth(font_info,colorlist[i]) > text_width) in XColorBrowserWidget()
1716 text_width=WidgetTextWidth(font_info,colorlist[i]); in XColorBrowserWidget()
1734 (width+MagickMin((int) text_width,(int) MaxTextWidth)+6*QuantumMargin); in XColorBrowserWidget()
4247 text_width, in XFileBrowserWidget() local
4311 text_width=0; in XFileBrowserWidget()
4313 if (WidgetTextWidth(font_info,filelist[i]) > text_width) in XFileBrowserWidget()
4314 text_width=WidgetTextWidth(font_info,filelist[i]); in XFileBrowserWidget()
4335 windows->widget.width=width+MagickMin((int) text_width,(int) MaxTextWidth)+ in XFileBrowserWidget()
[all …]
/external/python/cpython2/Lib/idlelib/
DAutoCompleteWindow.py228 text_width, text_height = text.winfo_width(), text.winfo_height()
229 new_x = text.winfo_rootx() + min(x, max(0, text_width - acw_width))
/external/python/cpython3/Lib/idlelib/
Dautocomplete_w.py236 text_width, text_height = text.winfo_width(), text.winfo_height()
237 new_x = text.winfo_rootx() + min(x, max(0, text_width - acw_width))
/external/python/cpython2/Lib/
Dargparse.py323 text_width = self._width - self._current_indent
324 if len(prefix) + len(usage) > text_width:
348 if line_len + 1 + len(part) > text_width and line:
361 if len(prefix) + len(prog) <= 0.75 * text_width:
487 text_width = max(self._width - self._current_indent, 11)
489 return self._fill_text(text, text_width, indent) + '\n\n'
Doptparse.py260 text_width = max(self.width - self.current_indent, 11)
263 text_width,
/external/python/cpython3/Lib/
Dargparse.py326 text_width = self._width - self._current_indent
327 if len(prefix) + len(usage) > text_width:
351 if line_len + 1 + len(part) > text_width and line:
364 if len(prefix) + len(prog) <= 0.75 * text_width:
491 text_width = max(self._width - self._current_indent, 11)
493 return self._fill_text(text, text_width, indent) + '\n\n'
Doptparse.py266 text_width = max(self.width - self.current_indent, 11)
269 text_width,
/external/ImageMagick/coders/
Dwmf.c1547 text_width = metrics.width * (ddata->scale_y / ddata->scale_x); in ipa_draw_text() local
1550 point.x -= text_width / 2; in ipa_draw_text()
1552 point.x += bbox_width / 2 - text_width / 2; in ipa_draw_text()