1 write to _currentPolySegmentData
PresentationCore (1)
Core\CSharp\System\Windows\Media\ByteStreamGeometryContext.cs (1)
702
_currentPolySegmentData
= new MIL_SEGMENT_POLY();
17 references to _currentPolySegmentData
PresentationCore (17)
Core\CSharp\System\Windows\Media\ByteStreamGeometryContext.cs (17)
673
fixed (MIL_SEGMENT_POLY* pCurrentPolySegmentData = &
_currentPolySegmentData
)
678
_lastSegmentSize = (UInt32)(sizeof(MIL_SEGMENT_POLY) + (sizeof(Point) *
_currentPolySegmentData
.Count));
682
if ((
_currentPolySegmentData
.Flags & MILCoreSegFlags.SegIsAGap) != 0)
687
if ((
_currentPolySegmentData
.Flags & MILCoreSegFlags.SegIsCurved) != 0)
747
_currentPolySegmentData
.Count++;
773
_currentPolySegmentData
.Count += (uint)count;
787
(
_currentPolySegmentData
.Type != segmentType) ||
788
(((
_currentPolySegmentData
.Flags & MILCoreSegFlags.SegIsAGap) == 0) != isStroked) ||
789
(((
_currentPolySegmentData
.Flags & MILCoreSegFlags.SegSmoothJoin) != 0) != isSmoothJoin)
808
_currentPolySegmentData
.Type = segmentType;
809
_currentPolySegmentData
.Flags |= isStroked ? 0 : MILCoreSegFlags.SegIsAGap;
810
_currentPolySegmentData
.Flags |= hasCurves ? MILCoreSegFlags.SegIsCurved : 0;
811
_currentPolySegmentData
.Flags |= isSmoothJoin ? MILCoreSegFlags.SegSmoothJoin : 0;
812
_currentPolySegmentData
.BackSize = _lastSegmentSize;
817
(
_currentPolySegmentData
.Type == segmentType) &&
818
(((
_currentPolySegmentData
.Flags & MILCoreSegFlags.SegIsAGap) == 0) == isStroked) &&
819
(((
_currentPolySegmentData
.Flags & MILCoreSegFlags.SegSmoothJoin) != 0) == isSmoothJoin));