Skip to content

Commit 2b0ead0

Browse files
committed
修改命名
1 parent da21344 commit 2b0ead0

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

Workbench/Wmf/SkiaWmfRenderer/src/wieslawsoltes-wmf/src/library/Objects/Region.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public short MaxScan
4949
set;
5050
}
5151

52-
public Rect BoundingRectangle
52+
public WmfRect BoundingRectangle
5353
{
5454
get;
5555
set;
@@ -81,7 +81,7 @@ public override void Read(BinaryReader reader)
8181
this.ScanCount = reader.ReadInt16();
8282
this.MaxScan = reader.ReadInt16();
8383

84-
this.BoundingRectangle = reader.ReadWmfObject<Rect>();
84+
this.BoundingRectangle = reader.ReadWmfObject<WmfRect>();
8585

8686
this.Scans = new Scan[this.ScanCount];
8787
for (int i = 0; i < this.ScanCount; i++)

Workbench/Wmf/SkiaWmfRenderer/src/wieslawsoltes-wmf/src/library/Objects/Rect.cs renamed to Workbench/Wmf/SkiaWmfRenderer/src/wieslawsoltes-wmf/src/library/Objects/WmfRect.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
namespace Oxage.Wmf.Objects
55
{
66
[WmfObject(Size = 8)]
7-
public class Rect : WmfBinaryObject
7+
public class WmfRect : WmfBinaryObject
88
{
9-
public Rect() : base()
9+
public WmfRect() : base()
1010
{
1111
}
1212

Workbench/Wmf/SkiaWmfRenderer/src/wieslawsoltes-wmf/src/library/Records/Drawing/WmfExtTextoutRecord.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public ExtTextOutOptions FwOpts
4040
set;
4141
}
4242

43-
public Rect? Rectangle
43+
public WmfRect? Rectangle
4444
{
4545
get;
4646
set;
@@ -101,7 +101,7 @@ public override void Read(BinaryReader reader)
101101
// Rectangle (8 bytes): An optional 8-byte Rect Object (section 2.2.2.18).) When either ETO_CLIPPED, ETO_OPAQUE, or both are specified, the rectangle defines the dimensions, in logical coordinates, used for clipping, opaquing, or both. When neither ETO_CLIPPED nor ETO_OPAQUE is specified, the coordinates in Rectangle are ignored.
102102
if (FwOpts is ExtTextOutOptions.ETO_CLIPPED or ExtTextOutOptions.ETO_OPAQUE)
103103
{
104-
this.Rectangle = new Rect();
104+
this.Rectangle = new WmfRect();
105105
this.Rectangle.Read(reader);
106106
}
107107

0 commit comments

Comments
 (0)