Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Media / PathSegment.cs / 1 / PathSegment.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2001 // // File: PathSegment.cs //----------------------------------------------------------------------------- using System; using MS.Internal; using MS.Internal.PresentationCore; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Reflection; using System.Collections; using System.Text; using System.Globalization; using System.Windows.Media; using System.Windows; using System.Text.RegularExpressions; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Markup; namespace System.Windows.Media { #region PathSegment ////// PathSegment /// [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] public abstract partial class PathSegment : Animatable { #region Constructors internal PathSegment() { } #endregion #region AddToFigure internal abstract void AddToFigure( Matrix matrix, // The transformation matrid PathFigure figure, // The figure to add to ref Point current); // In: Segment start point, Out: Segment endpoint // not transformed #endregion #region Internal internal virtual bool IsEmpty() { return false; } internal abstract bool IsCurved(); ////// Creates a string representation of this object based on the format string /// and IFormatProvider passed in. /// If the provider is null, the CurrentCulture is used. /// See the documentation for IFormattable for more information. /// ////// A string representation of this object. /// internal abstract string ConvertToString(string format, IFormatProvider provider); #endregion #region Resource ////// SerializeData - Serialize the contents of this Segment to the provided context. /// internal abstract void SerializeData(StreamGeometryContext ctx); #endregion #region Data internal const bool c_isStrokedDefault = true; #endregion } #endregion } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2001 // // File: PathSegment.cs //----------------------------------------------------------------------------- using System; using MS.Internal; using MS.Internal.PresentationCore; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Reflection; using System.Collections; using System.Text; using System.Globalization; using System.Windows.Media; using System.Windows; using System.Text.RegularExpressions; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using System.Windows.Markup; namespace System.Windows.Media { #region PathSegment ////// PathSegment /// [Localizability(LocalizationCategory.None, Readability = Readability.Unreadable)] public abstract partial class PathSegment : Animatable { #region Constructors internal PathSegment() { } #endregion #region AddToFigure internal abstract void AddToFigure( Matrix matrix, // The transformation matrid PathFigure figure, // The figure to add to ref Point current); // In: Segment start point, Out: Segment endpoint // not transformed #endregion #region Internal internal virtual bool IsEmpty() { return false; } internal abstract bool IsCurved(); ////// Creates a string representation of this object based on the format string /// and IFormatProvider passed in. /// If the provider is null, the CurrentCulture is used. /// See the documentation for IFormattable for more information. /// ////// A string representation of this object. /// internal abstract string ConvertToString(string format, IFormatProvider provider); #endregion #region Resource ////// SerializeData - Serialize the contents of this Segment to the provided context. /// internal abstract void SerializeData(StreamGeometryContext ctx); #endregion #region Data internal const bool c_isStrokedDefault = true; #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
- DesignerActionItemCollection.cs
- ChunkedMemoryStream.cs
- DataGridViewRowConverter.cs
- DataViewManager.cs
- LostFocusEventManager.cs
- WebRequestModuleElementCollection.cs
- ApplyImportsAction.cs
- DoubleUtil.cs
- MenuCommandService.cs
- HTTPNotFoundHandler.cs
- HtmlSelect.cs
- DataGridBoolColumn.cs
- Int32.cs
- DiffuseMaterial.cs
- DataServiceHostFactory.cs
- PassportIdentity.cs
- EastAsianLunisolarCalendar.cs
- FormsAuthenticationUserCollection.cs
- MatrixAnimationUsingKeyFrames.cs
- ISAPIRuntime.cs
- Underline.cs
- LocalizableAttribute.cs
- UIElementParaClient.cs
- PlainXmlSerializer.cs
- SizeLimitedCache.cs
- StyleBamlRecordReader.cs
- HwndPanningFeedback.cs
- XamlReader.cs
- StringCollection.cs
- ResourceType.cs
- ServiceDescriptionImporter.cs
- ContainerVisual.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- XXXInfos.cs
- DeclarationUpdate.cs
- EventDescriptor.cs
- JsonXmlDataContract.cs
- SqlClientMetaDataCollectionNames.cs
- TextBoxDesigner.cs
- clipboard.cs
- DateTimePickerDesigner.cs
- BookmarkList.cs
- AmbientEnvironment.cs
- GridViewHeaderRowPresenter.cs
- ReadOnlyHierarchicalDataSource.cs
- ExponentialEase.cs
- TitleStyle.cs
- WebPartConnectionCollection.cs
- DesigntimeLicenseContext.cs
- Win32PrintDialog.cs
- CreateUserWizardStep.cs
- UnsafeCollabNativeMethods.cs
- PropertyEntry.cs
- ClientSideQueueItem.cs
- NativeActivityContext.cs
- TransactionFlowProperty.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- FigureHelper.cs
- MouseGestureValueSerializer.cs
- CatalogPartChrome.cs
- DetailsViewPageEventArgs.cs
- X509Extension.cs
- MessageDecoder.cs
- ScrollBarRenderer.cs
- FrameSecurityDescriptor.cs
- ThreadStartException.cs
- WebScriptEnablingBehavior.cs
- PersonalizationEntry.cs
- PlatformCulture.cs
- WebHttpSecurityModeHelper.cs
- SimpleTypeResolver.cs
- Events.cs
- FilterException.cs
- PopupEventArgs.cs
- ClientSettingsProvider.cs
- SortDescription.cs
- HwndMouseInputProvider.cs
- PropertyEmitter.cs
- LinqDataSourceContextEventArgs.cs
- DesignerVerbCollection.cs
- TextEncodedRawTextWriter.cs
- WebProxyScriptElement.cs
- DiscardableAttribute.cs
- PagedDataSource.cs
- RootNamespaceAttribute.cs
- TreeNodeBindingCollection.cs
- FixedPageProcessor.cs
- LocatorGroup.cs
- ApplicationDirectory.cs
- ObjRef.cs
- GradientSpreadMethodValidation.cs
- ADConnectionHelper.cs
- WindowPatternIdentifiers.cs
- GroupBox.cs
- XPathNodeHelper.cs
- DataGridViewAccessibleObject.cs
- ContentElement.cs
- TextServicesDisplayAttributePropertyRanges.cs
- ThreadAbortException.cs
- StreamAsIStream.cs