Esempio n. 1
0
        public WmfSetPolyFillModeRecord AddPolyFillMode(PolyFillMode mode)
        {
            var record = new WmfSetPolyFillModeRecord()
            {
                Mode = mode
            };

            this.Records.Add(record);
            return(record);
        }
Esempio n. 2
0
 public override void Read(BinaryReader reader)
 {
     this.Mode = (PolyFillMode)reader.ReadUInt16();
     reader.Skip((int)base.RecordSizeBytes - 8);
 }
 public unsafe static extern RegionHandle CreatePolyPolygonRgn(
     POINT *lppt,
     int[] lpPolyCounts,
     int nCount,
     PolyFillMode fnPolyFillMode);
 public unsafe static extern RegionHandle CreatePolygonRgn(
     POINT *lppt,
     int cPoints,
     PolyFillMode fnPolyFillMode);
 public static extern PolyFillMode SetPolyFillMode(
     DeviceContext hdc,
     PolyFillMode iPolyFillMode);
Esempio n. 6
0
 public void SetPolyFillMode(PolyFillMode polyFillMode)
 {
     _currentState.PolyFillMode = polyFillMode;
 }
 public static PolyFillMode SetPolyFillMode(this DeviceContext deviceContext, PolyFillMode fillMode)
 => GdiMethods.SetPolyFillMode(deviceContext, fillMode);
Esempio n. 8
0
 public static PolyFillMode SetPolyFillMode(DeviceContext deviceContext, PolyFillMode fillMode)
 {
     return(Imports.SetPolyFillMode(deviceContext, fillMode));
 }