5 writes to _header
System.Drawing.Common (5)
System\Drawing\Imaging\Metafile.cs (5)
559fixed (GdiPlus.MetafileHeader* mf = &header._header) 573fixed (GdiPlus.MetafileHeader* mf = &header._header) 591fixed (GdiPlus.MetafileHeader* mf = &header._header) 607fixed (GdiPlus.MetafileHeader* mf = &header._header) 622fixed (GdiPlus.MetafileHeader* mf = &header._header)
21 references to _header
System.Drawing.Common (21)
System\Drawing\Imaging\MetafileHeader.cs (21)
23public MetafileType Type => (MetafileType)_header.Type; 28public int MetafileSize => (int)_header.Size; 33public int Version => (int)_header.Version; 38public float DpiX => _header.DpiX; 43public float DpiY => _header.DpiY; 48public Rectangle Bounds => new(_header.X, _header.Y, _header.Width, _header.Height); 53public bool IsWmf() => _header.Type is GdiPlus.MetafileType.MetafileTypeWmf or GdiPlus.MetafileType.MetafileTypeWmfPlaceable; 58public bool IsWmfPlaceable() => _header.Type is GdiPlus.MetafileType.MetafileTypeWmfPlaceable; 63public bool IsEmf() => _header.Type is GdiPlus.MetafileType.MetafileTypeEmf; 69public bool IsEmfOrEmfPlus() => _header.Type is GdiPlus.MetafileType.MetafileTypeEmf 77public bool IsEmfPlus() => _header.Type is GdiPlus.MetafileType.MetafileTypeEmfPlusOnly 84public bool IsEmfPlusDual() => _header.Type is GdiPlus.MetafileType.MetafileTypeEmfPlusDual; 90public bool IsEmfPlusOnly() => _header.Type is GdiPlus.MetafileType.MetafileTypeEmfPlusOnly; 95public bool IsDisplay() => IsEmfPlus() && ((EmfPlusFlags)_header.EmfPlusFlags).HasFlag(EmfPlusFlags.Display); 102: new(_header.Anonymous.WmfHeader); 107public int EmfPlusHeaderSize => _header.EmfPlusHeaderSize; 112public int LogicalDpiX => _header.LogicalDpiX; 117public int LogicalDpiY => _header.LogicalDpiY;