Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Media / Generated / PolyQuadraticBezierSegmentFigureLogic.cs / 1 / PolyQuadraticBezierSegmentFigureLogic.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // This file was generated, please do not edit it directly. // // This file was generated from the codegen template located at: // windows\mil\codegen\mcg\generators\PolySegmentTemplate.cs // // Please see [....]/default.aspx/Microsoft.Projects.Avalon/MilCodeGen.html for more information. // //--------------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.ComponentModel; using System.Security.Permissions; using System.Windows; using System.Windows.Markup; using System.Windows.Media.Animation; using System.ComponentModel.Design.Serialization; using System.Windows.Media.Composition; using System.Reflection; using MS.Internal; using System.Security; using SR=MS.Internal.PresentationCore.SR; using SRID=MS.Internal.PresentationCore.SRID; namespace System.Windows.Media { #region PolyQuadraticBezierSegment ////// PolyQuadraticBezierSegment /// public sealed partial class PolyQuadraticBezierSegment : PathSegment { #region Constructors ////// PolyQuadraticBezierSegment constructor /// public PolyQuadraticBezierSegment() { } ////// /// public PolyQuadraticBezierSegment(IEnumerablepoints, bool isStroked) { if (points == null) { throw new System.ArgumentNullException("points"); } Points = new PointCollection(points); IsStroked = isStroked; } /// /// /// internal PolyQuadraticBezierSegment(IEnumerablepoints, bool isStroked, bool isSmoothJoin) { if (points == null) { throw new System.ArgumentNullException("points"); } Points = new PointCollection(points); IsStroked = isStroked; IsSmoothJoin = isSmoothJoin; } #endregion #region AddToFigure internal override void AddToFigure( Matrix matrix, // The transformation matrix PathFigure figure, // The figure to add to ref Point current) // Out: Segment endpoint, not transformed { PointCollection points = Points; if (points != null && points.Count >= 2) { if (matrix.IsIdentity) { figure.Segments.Add(this); } else { PointCollection copy = new PointCollection(); Point pt = new Point(); int count = points.Count; for (int i=0; i /// SerializeData - Serialize the contents of this Segment to the provided context. /// internal override void SerializeData(StreamGeometryContext ctx) { ctx.PolyQuadraticBezierTo(Points, IsStroked, IsSmoothJoin); } #endregion } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Properties.cs
- StateMachineSubscription.cs
- EventLog.cs
- WorkflowDispatchContext.cs
- SecurityHelper.cs
- PageSetupDialog.cs
- SmiEventSink_DeferedProcessing.cs
- LinearQuaternionKeyFrame.cs
- ExtendedProtectionPolicyElement.cs
- TextParagraph.cs
- RoutedPropertyChangedEventArgs.cs
- DifferencingCollection.cs
- Stacktrace.cs
- XmlSchemaAnnotation.cs
- OSFeature.cs
- XMLSyntaxException.cs
- SessionStateModule.cs
- SystemIPInterfaceProperties.cs
- KeyBinding.cs
- TreeNodeConverter.cs
- SqlServer2KCompatibilityCheck.cs
- TileModeValidation.cs
- RotationValidation.cs
- DataList.cs
- DeriveBytes.cs
- XmlStringTable.cs
- SystemInfo.cs
- RangeValidator.cs
- HtmlHead.cs
- JournalEntry.cs
- BitStack.cs
- RightNameExpirationInfoPair.cs
- PathFigureCollectionConverter.cs
- EnumUnknown.cs
- DisposableCollectionWrapper.cs
- QuaternionAnimation.cs
- BaseParagraph.cs
- ZipIOExtraField.cs
- HtmlTableRow.cs
- TreeViewBindingsEditorForm.cs
- ComponentEditorForm.cs
- DragDropHelper.cs
- EnvironmentPermission.cs
- CodeTypeReferenceExpression.cs
- QueryPageSettingsEventArgs.cs
- VisemeEventArgs.cs
- RtfToXamlReader.cs
- CachedPathData.cs
- PackWebRequest.cs
- Table.cs
- ImageDrawing.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- FixedFlowMap.cs
- TrackBar.cs
- translator.cs
- CheckBox.cs
- HMACMD5.cs
- PluralizationService.cs
- DataSourceExpression.cs
- AutoFocusStyle.xaml.cs
- ReflectionUtil.cs
- SeekableReadStream.cs
- BaseCodeDomTreeGenerator.cs
- TableLayoutPanelCellPosition.cs
- FieldBuilder.cs
- WebServiceEnumData.cs
- XmlSchemaComplexType.cs
- FormsAuthenticationCredentials.cs
- ProviderBase.cs
- CommandBindingCollection.cs
- ItemAutomationPeer.cs
- StyleTypedPropertyAttribute.cs
- MetadataSource.cs
- WindowsListViewItemStartMenu.cs
- QuerySettings.cs
- TypeSystemProvider.cs
- ContextInformation.cs
- BrowserCapabilitiesCompiler.cs
- ContainerTracking.cs
- ItemCheckEvent.cs
- Point3D.cs
- SqlBinder.cs
- NullableBoolConverter.cs
- DataGridItemCollection.cs
- MultilineStringConverter.cs
- WebContext.cs
- DataGridViewMethods.cs
- ClaimTypes.cs
- Transform3DCollection.cs
- RoleGroupCollectionEditor.cs
- ConsumerConnectionPoint.cs
- OdbcConnectionStringbuilder.cs
- PropertyPathConverter.cs
- DesignerSerializationManager.cs
- ArithmeticException.cs
- FileRecordSequenceCompletedAsyncResult.cs
- Light.cs
- ChangePasswordDesigner.cs
- SystemColors.cs
- FunctionQuery.cs