Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Core / CSharp / System / Windows / Media / PointCollection.cs / 1 / PointCollection.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Point collection partial class. // // // History: // 11/09/05 : marka - Created // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Media.Media3D; using MS.Internal.PresentationCore; using System; using System.IO; using MS.Internal.Media; namespace System.Windows.Media { public partial class PointCollection { ////// Deserialize this object from BAML /// [FriendAccessAllowed] // Built into Core, also used by Framework. internal static object DeserializeFrom(BinaryReader reader) { // Get the size. uint count = reader.ReadUInt32() ; PointCollection collection = new PointCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Point point = new Point( XamlSerializationHelper.ReadDouble( reader ), XamlSerializationHelper.ReadDouble( reader ) ) ; collection.Add( point ); } return collection ; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Point collection partial class. // // // History: // 11/09/05 : marka - Created // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Media.Media3D; using MS.Internal.PresentationCore; using System; using System.IO; using MS.Internal.Media; namespace System.Windows.Media { public partial class PointCollection { ////// Deserialize this object from BAML /// [FriendAccessAllowed] // Built into Core, also used by Framework. internal static object DeserializeFrom(BinaryReader reader) { // Get the size. uint count = reader.ReadUInt32() ; PointCollection collection = new PointCollection( (int) count) ; for ( uint i = 0; i < count ; i ++ ) { Point point = new Point( XamlSerializationHelper.ReadDouble( reader ), XamlSerializationHelper.ReadDouble( reader ) ) ; collection.Add( point ); } return collection ; } } } // 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
- SelectionHighlightInfo.cs
- SR.cs
- DesignerRegionCollection.cs
- SessionPageStatePersister.cs
- OdbcParameterCollection.cs
- InstalledFontCollection.cs
- DocumentSequenceHighlightLayer.cs
- SecurityTokenProviderContainer.cs
- PageThemeCodeDomTreeGenerator.cs
- Vector.cs
- BrowserInteropHelper.cs
- EventHandlersStore.cs
- SettingsAttributes.cs
- MimeTypeMapper.cs
- SourceElementsCollection.cs
- MissingSatelliteAssemblyException.cs
- TransformValueSerializer.cs
- CompositionTarget.cs
- ResetableIterator.cs
- PropertyMetadata.cs
- AttributeQuery.cs
- SettingsBindableAttribute.cs
- WebPartExportVerb.cs
- UnauthorizedWebPart.cs
- SynchronizedInputPattern.cs
- OrCondition.cs
- ControlTemplate.cs
- WindowsMenu.cs
- EventSourceCreationData.cs
- HtmlLink.cs
- SqlUtils.cs
- TabControl.cs
- ParagraphResult.cs
- PageAsyncTaskManager.cs
- InertiaRotationBehavior.cs
- TargetParameterCountException.cs
- DictionaryEditChange.cs
- WindowsGraphicsWrapper.cs
- PropertyInfoSet.cs
- ThicknessAnimationUsingKeyFrames.cs
- CompositeDataBoundControl.cs
- TextCompositionEventArgs.cs
- XmlSchemaComplexContentRestriction.cs
- TailPinnedEventArgs.cs
- ComponentGuaranteesAttribute.cs
- BamlBinaryReader.cs
- Parameter.cs
- ProtocolsConfigurationHandler.cs
- IHttpResponseInternal.cs
- PropertyTab.cs
- ArrayExtension.cs
- ClientScriptManager.cs
- SqlDataSourceConfigureSelectPanel.cs
- PrinterResolution.cs
- ExpressionConverter.cs
- TemplateNodeContextMenu.cs
- Size.cs
- TypeListConverter.cs
- DebuggerAttributes.cs
- ContextStaticAttribute.cs
- VirtualizedContainerService.cs
- HtmlInputControl.cs
- ManualWorkflowSchedulerService.cs
- CircleHotSpot.cs
- Instrumentation.cs
- AnnotationService.cs
- XamlVector3DCollectionSerializer.cs
- AppLevelCompilationSectionCache.cs
- HttpApplicationFactory.cs
- BufferedGraphics.cs
- InstanceNotFoundException.cs
- ThrowOnMultipleAssignment.cs
- propertyentry.cs
- AssemblyName.cs
- SingleKeyFrameCollection.cs
- SynchronizationHandlesCodeDomSerializer.cs
- RadioButton.cs
- WsdlHelpGeneratorElement.cs
- OpCopier.cs
- KnownTypesProvider.cs
- Interlocked.cs
- DateTimeOffset.cs
- FileReservationCollection.cs
- DifferencingCollection.cs
- SweepDirectionValidation.cs
- CompoundFileIOPermission.cs
- AdapterUtil.cs
- control.ime.cs
- ReferencedCollectionType.cs
- SymDocumentType.cs
- InfoCardSymmetricAlgorithm.cs
- RequestCachePolicy.cs
- FrameworkElementFactoryMarkupObject.cs
- WindowsEditBoxRange.cs
- NavigationProperty.cs
- UriTemplateTable.cs
- printdlgexmarshaler.cs
- ClientBuildManagerCallback.cs
- CodeIdentifier.cs
- CqlParserHelpers.cs