Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / PointCollection.cs / 1305600 / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RemotingConfiguration.cs
- TimeZone.cs
- VerificationAttribute.cs
- XmlSchemaSequence.cs
- DynamicMethod.cs
- ResXBuildProvider.cs
- ConnectionInterfaceCollection.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- FontConverter.cs
- WebGetAttribute.cs
- XmlSchemaCompilationSettings.cs
- HGlobalSafeHandle.cs
- DataBinding.cs
- URLIdentityPermission.cs
- QueryComponents.cs
- TypefaceCollection.cs
- HistoryEventArgs.cs
- Size.cs
- ConnectionInterfaceCollection.cs
- ConnectionStringsSection.cs
- UrlMappingsSection.cs
- PersonalizationProvider.cs
- PrintControllerWithStatusDialog.cs
- Point3DCollectionValueSerializer.cs
- TableCellAutomationPeer.cs
- Vars.cs
- FormsAuthenticationUserCollection.cs
- TdsParameterSetter.cs
- DependsOnAttribute.cs
- SchemaHelper.cs
- ImmutableAssemblyCacheEntry.cs
- Pen.cs
- SecurityPermission.cs
- DrawingBrush.cs
- SQLInt64Storage.cs
- ControlBindingsConverter.cs
- AnnotationAdorner.cs
- RowToFieldTransformer.cs
- NullableDoubleSumAggregationOperator.cs
- FrameworkName.cs
- LongMinMaxAggregationOperator.cs
- EmptyControlCollection.cs
- TypeExtensionSerializer.cs
- CroppedBitmap.cs
- BufferedGraphicsManager.cs
- AnimationClockResource.cs
- Compiler.cs
- Range.cs
- DefaultSection.cs
- ErrorFormatter.cs
- MenuAutoFormat.cs
- MsmqOutputChannel.cs
- CheckableControlBaseAdapter.cs
- SqlParameterizer.cs
- UnauthorizedWebPart.cs
- OdbcHandle.cs
- StaticFileHandler.cs
- MemberHolder.cs
- RealProxy.cs
- Vector3DAnimationUsingKeyFrames.cs
- Thread.cs
- hwndwrapper.cs
- ResolveNameEventArgs.cs
- AssemblyAttributes.cs
- MdiWindowListItemConverter.cs
- DataColumnMapping.cs
- OutKeywords.cs
- ZoneIdentityPermission.cs
- HandlerMappingMemo.cs
- TemplateBamlTreeBuilder.cs
- BamlLocalizer.cs
- Grant.cs
- MD5Cng.cs
- CookieParameter.cs
- CachingHintValidation.cs
- Touch.cs
- RoutedEventConverter.cs
- SerializationHelper.cs
- SequentialUshortCollection.cs
- BinaryFormatterWriter.cs
- CompilerCollection.cs
- DataDesignUtil.cs
- SystemInfo.cs
- HtmlInputImage.cs
- SchemaHelper.cs
- Lookup.cs
- AutoGeneratedFieldProperties.cs
- PixelFormats.cs
- ManipulationPivot.cs
- WebPartHeaderCloseVerb.cs
- ConnectionConsumerAttribute.cs
- StringSource.cs
- SignatureToken.cs
- SmtpAuthenticationManager.cs
- WebZone.cs
- HtmlInputSubmit.cs
- HtmlTitle.cs
- storepermissionattribute.cs
- FrameworkObject.cs
- IsolatedStorageFileStream.cs