28 references to Point
PresentationUI (1)
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
150_instructionlabel.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
System.Drawing.Common (16)
System\Drawing\Font.cs (5)
421Initialize(family, emSize, style, GraphicsUnit.Point, (byte)FONT_CHARSET.DEFAULT_CHARSET, false); 437Initialize(family, emSize, FontStyle.Regular, GraphicsUnit.Point, (byte)FONT_CHARSET.DEFAULT_CHARSET, false); 453Initialize(familyName, emSize, style, GraphicsUnit.Point, (byte)FONT_CHARSET.DEFAULT_CHARSET, IsVerticalName(familyName)); 469Initialize(familyName, emSize, FontStyle.Regular, GraphicsUnit.Point, (byte)FONT_CHARSET.DEFAULT_CHARSET, IsVerticalName(familyName)); 738if (Unit == GraphicsUnit.Point)
System\Drawing\FontConverter.cs (5)
54case GraphicsUnit.Point: 98else if (font.Unit != GraphicsUnit.Point) 173GraphicsUnit units = GraphicsUnit.Point; 304"pt" => GraphicsUnit.Point, 323GraphicsUnit unit = GraphicsUnit.Point;
System\Drawing\Imaging\MetafileFrameUnit.cs (1)
19Point = GraphicsUnit.Point,
System\Drawing\StringUnit.cs (1)
26Point = GraphicsUnit.Point,
System\Drawing\SystemFonts.cs (4)
210if (defaultFont.Unit != GraphicsUnit.Point) 250else if (dialogFont.Unit != GraphicsUnit.Point) 264return new Font(font.FontFamily, font.SizeInPoints, font.Style, GraphicsUnit.Point, font.GdiCharSet, font.GdiVerticalFont); 281: font.Unit != GraphicsUnit.Point ? FontInPoints(font) : font;
System.Windows.Forms (11)
System\Windows\Forms\ActiveX\AxHost.cs (5)
3673if (font.Unit != GraphicsUnit.Point) 3707return f.Unit == GraphicsUnit.Point 3709: new(f.Name, f.SizeInPoints, f.Style, GraphicsUnit.Point, f.GdiCharSet, f.GdiVerticalFont); 3728if (font.Unit != GraphicsUnit.Point) 3796GraphicsUnit.Point,
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (1)
2195return new Font(cf.FaceName.ToString(), fontSize, style, GraphicsUnit.Point, cf.bCharSet);
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
72if (sysFont.Unit != GraphicsUnit.Point) 108if (sysFont.Unit != GraphicsUnit.Point)
System\Windows\Forms\Dialogs\CommonDialogs\FontDialog.cs (2)
144result = new Font(result.FontFamily, MinSize, result.Style, GraphicsUnit.Point); 149result = new Font(result.FontFamily, MaxSize, result.Style, GraphicsUnit.Point);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
2126GraphicsUnit.Point,