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
- Schema.cs
- DefaultProxySection.cs
- SafeReversePInvokeHandle.cs
- ProcessManager.cs
- Rotation3DAnimationUsingKeyFrames.cs
- Graph.cs
- ISessionStateStore.cs
- NavigationProgressEventArgs.cs
- PerspectiveCamera.cs
- ValidationHelper.cs
- BitmapFrameDecode.cs
- Annotation.cs
- ImageFormat.cs
- AuthenticationService.cs
- BufferedGraphicsManager.cs
- StyleSheetComponentEditor.cs
- UnsafeNativeMethods.cs
- System.Data.OracleClient_BID.cs
- XsdBuilder.cs
- HorizontalAlignConverter.cs
- LocalizedNameDescriptionPair.cs
- UpdateProgress.cs
- FilteredReadOnlyMetadataCollection.cs
- IntSecurity.cs
- DSACryptoServiceProvider.cs
- Random.cs
- StatusBar.cs
- ACL.cs
- ResourceReferenceExpression.cs
- XmlBinaryReader.cs
- ScrollProperties.cs
- ResourceReferenceExpression.cs
- ObjectKeyFrameCollection.cs
- IERequestCache.cs
- __Filters.cs
- SystemColors.cs
- CommandValueSerializer.cs
- IIS7UserPrincipal.cs
- XmlSchemaException.cs
- Clock.cs
- CacheAxisQuery.cs
- PageParserFilter.cs
- SafeRightsManagementSessionHandle.cs
- GlyphingCache.cs
- MimeMultiPart.cs
- httpserverutility.cs
- UnaryNode.cs
- CellTreeNodeVisitors.cs
- UnsafeNativeMethods.cs
- TrustManagerPromptUI.cs
- ProtocolsConfiguration.cs
- WmpBitmapDecoder.cs
- SoapProtocolImporter.cs
- HelpProvider.cs
- FontUnitConverter.cs
- XmlnsDictionary.cs
- HttpConfigurationContext.cs
- Error.cs
- OdbcStatementHandle.cs
- PreviousTrackingServiceAttribute.cs
- Point3DAnimationBase.cs
- ResizingMessageFilter.cs
- DefaultBindingPropertyAttribute.cs
- PathFigure.cs
- AmbientLight.cs
- DataGridViewDataErrorEventArgs.cs
- XmlUtil.cs
- GlyphTypeface.cs
- mansign.cs
- WindowsGraphicsWrapper.cs
- CacheSection.cs
- XPathNode.cs
- FacetDescriptionElement.cs
- DefaultValueAttribute.cs
- ReverseComparer.cs
- AliasExpr.cs
- PartBasedPackageProperties.cs
- ErrorTableItemStyle.cs
- FloaterParagraph.cs
- CodeLabeledStatement.cs
- UseLicense.cs
- ResourceProviderFactory.cs
- CircleHotSpot.cs
- NativeCppClassAttribute.cs
- HtmlTableRowCollection.cs
- Encoding.cs
- Function.cs
- EntityDataSourceChangingEventArgs.cs
- CollectionViewSource.cs
- QueryableDataSource.cs
- EUCJPEncoding.cs
- SessionEndingEventArgs.cs
- EndpointConfigContainer.cs
- OrderPreservingMergeHelper.cs
- XmlSchemaExternal.cs
- FrugalMap.cs
- XmlSchemaInferenceException.cs
- Enum.cs
- FontUnit.cs
- WebPartCatalogCloseVerb.cs