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
- XmlAttributeOverrides.cs
- NonPrimarySelectionGlyph.cs
- JsonCollectionDataContract.cs
- MultipartIdentifier.cs
- XmlReflectionMember.cs
- CodePageEncoding.cs
- SerializationSectionGroup.cs
- DefaultSection.cs
- GenericTypeParameterBuilder.cs
- OrderedDictionary.cs
- SystemResources.cs
- CodeSubDirectoriesCollection.cs
- SamlAudienceRestrictionCondition.cs
- PolicyChain.cs
- Image.cs
- SimpleLine.cs
- ZipIORawDataFileBlock.cs
- TextShapeableCharacters.cs
- WindowsSolidBrush.cs
- Geometry.cs
- ViewGenResults.cs
- ToolStripKeyboardHandlingService.cs
- XPathDocumentIterator.cs
- RenderingEventArgs.cs
- XmlQueryContext.cs
- Floater.cs
- DeflateInput.cs
- System.Data_BID.cs
- MemberPath.cs
- BitmapEffectDrawing.cs
- ProcessModule.cs
- PageAsyncTaskManager.cs
- UnaryNode.cs
- MonitoringDescriptionAttribute.cs
- Axis.cs
- milexports.cs
- ObjectSerializerFactory.cs
- DesignTimeData.cs
- SliderAutomationPeer.cs
- BamlLocalizationDictionary.cs
- MatrixTransform3D.cs
- TiffBitmapEncoder.cs
- ProfileGroupSettings.cs
- PropertyPath.cs
- AssociationSetMetadata.cs
- DashStyles.cs
- SuppressIldasmAttribute.cs
- TableChangeProcessor.cs
- InkSerializer.cs
- ServiceParser.cs
- ScrollEvent.cs
- TablePattern.cs
- VerificationAttribute.cs
- GlobalEventManager.cs
- WpfGeneratedKnownProperties.cs
- EmptyElement.cs
- RegexCapture.cs
- PolygonHotSpot.cs
- IDReferencePropertyAttribute.cs
- ThreadStaticAttribute.cs
- ColorMap.cs
- IgnoreFlushAndCloseStream.cs
- CodeDirectoryCompiler.cs
- PageBreakRecord.cs
- SQLMembershipProvider.cs
- CollectionViewProxy.cs
- Int64AnimationBase.cs
- RegexMatch.cs
- ActivityExecutorSurrogate.cs
- SourceLineInfo.cs
- PasswordRecovery.cs
- LogicalExpressionEditor.cs
- TypeReference.cs
- MetadataItemEmitter.cs
- MembershipSection.cs
- AutomationEvent.cs
- TextUtf8RawTextWriter.cs
- PolicyManager.cs
- TableSectionStyle.cs
- UnsafeNativeMethods.cs
- InlineUIContainer.cs
- CounterCreationDataConverter.cs
- WinEventTracker.cs
- CngKeyCreationParameters.cs
- CustomCategoryAttribute.cs
- ResolvedKeyFrameEntry.cs
- FlowchartSizeFeature.cs
- StructuralCache.cs
- ContextMenuStripActionList.cs
- SystemBrushes.cs
- ObservableDictionary.cs
- WebPartDisplayModeCancelEventArgs.cs
- DataGridViewElement.cs
- UpDownBaseDesigner.cs
- XmlILAnnotation.cs
- RuntimeResourceSet.cs
- TextElementCollectionHelper.cs
- DefaultTextStoreTextComposition.cs
- TextHidden.cs
- RegisteredExpandoAttribute.cs