You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
@ -318,10 +318,15 @@ namespace System.Windows.Forms
|
||||
|
||||
internal static void DrawTextInternal (IDeviceContext dc, string text, Font font, Point pt, Color foreColor, Color backColor, TextFormatFlags flags, bool useDrawString)
|
||||
{
|
||||
Size sz = MeasureTextInternal (dc, text, font, useDrawString);
|
||||
Size sz = MeasureTextInternal (dc, text, font, flags, useDrawString);
|
||||
DrawTextInternal (dc, text, font, new Rectangle (pt, sz), foreColor, backColor, flags, useDrawString);
|
||||
}
|
||||
|
||||
internal static Size MeasureTextInternal (IDeviceContext dc, string text, Font font, TextFormatFlags flags, bool useMeasureString)
|
||||
{
|
||||
return MeasureTextInternal (dc, text, font, Size.Empty, flags, useMeasureString);
|
||||
}
|
||||
|
||||
internal static Size MeasureTextInternal (IDeviceContext dc, string text, Font font, bool useMeasureString)
|
||||
{
|
||||
return MeasureTextInternal (dc, text, font, Size.Empty, TextFormatFlags.Default, useMeasureString);
|
||||
|
Reference in New Issue
Block a user