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
- XmlAttributeOverrides.cs
- XmlSubtreeReader.cs
- SystemEvents.cs
- SwitchDesigner.xaml.cs
- AddInBase.cs
- DataBoundControlHelper.cs
- DataListItemEventArgs.cs
- BindingNavigator.cs
- WeakHashtable.cs
- WebPartTransformerAttribute.cs
- ControlParameter.cs
- VisualStyleTypesAndProperties.cs
- MouseEvent.cs
- MessageHeaderDescriptionCollection.cs
- LineVisual.cs
- XmlParserContext.cs
- TemplateLookupAction.cs
- ExecutionEngineException.cs
- TableCellCollection.cs
- WebServiceResponse.cs
- RootBuilder.cs
- RangeValuePattern.cs
- KeyManager.cs
- DeobfuscatingStream.cs
- SkewTransform.cs
- PieceNameHelper.cs
- _UncName.cs
- DataViewManager.cs
- LayoutManager.cs
- ActivityTypeCodeDomSerializer.cs
- IPAddress.cs
- HwndHost.cs
- SqlBuilder.cs
- TransactionContextValidator.cs
- TextTreeRootNode.cs
- AncillaryOps.cs
- PointCollectionConverter.cs
- GlyphCache.cs
- ComboBoxAutomationPeer.cs
- Link.cs
- CommonXSendMessage.cs
- RegexMatchCollection.cs
- SocketPermission.cs
- ToolStripActionList.cs
- XmlDocumentType.cs
- CharAnimationUsingKeyFrames.cs
- MouseGesture.cs
- ContextActivityUtils.cs
- SHA1CryptoServiceProvider.cs
- TextComposition.cs
- KeyConverter.cs
- CompilationUtil.cs
- ConstructorNeedsTagAttribute.cs
- Column.cs
- SafeRsaProviderHandle.cs
- DropShadowEffect.cs
- Subtree.cs
- SystemInformation.cs
- UrlMappingCollection.cs
- FormattedText.cs
- ObjectDataSourceDisposingEventArgs.cs
- OracleNumber.cs
- UrlAuthorizationModule.cs
- RangeBase.cs
- XPathNodeList.cs
- FirstMatchCodeGroup.cs
- EventsTab.cs
- ClientCultureInfo.cs
- InputProcessorProfiles.cs
- DataTemplate.cs
- PageTrueTypeFont.cs
- KeyValueInternalCollection.cs
- CachedBitmap.cs
- ExpressionLexer.cs
- DPTypeDescriptorContext.cs
- Model3DGroup.cs
- XmlSchemaImport.cs
- FlowDocumentPage.cs
- SchemaUtility.cs
- GraphicsPathIterator.cs
- smtppermission.cs
- ExpressionConverter.cs
- KeyConverter.cs
- DictionarySectionHandler.cs
- ApplicationCommands.cs
- ScriptRef.cs
- ParserExtension.cs
- controlskin.cs
- LogReservationCollection.cs
- DodSequenceMerge.cs
- XmlSchemaCollection.cs
- CultureTable.cs
- CultureInfoConverter.cs
- WebBrowserProgressChangedEventHandler.cs
- InitializationEventAttribute.cs
- FontDialog.cs
- RuntimeIdentifierPropertyAttribute.cs
- AttributeUsageAttribute.cs
- EventSinkHelperWriter.cs
- Primitive.cs