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
- OdbcParameter.cs
- ConditionalAttribute.cs
- Classification.cs
- ListViewItemEventArgs.cs
- ToolStripTextBox.cs
- RegexMatchCollection.cs
- OleDbInfoMessageEvent.cs
- ActiveXMessageFormatter.cs
- SortAction.cs
- ControlBindingsCollection.cs
- MobileResource.cs
- EdgeModeValidation.cs
- DataGridLength.cs
- Aggregates.cs
- ByteStack.cs
- QueryGenerator.cs
- UnmanagedMemoryStreamWrapper.cs
- SecurityDescriptor.cs
- ProcessHostServerConfig.cs
- DataTableCollection.cs
- PenCursorManager.cs
- CellConstantDomain.cs
- ToolboxItemFilterAttribute.cs
- ValidatingPropertiesEventArgs.cs
- Object.cs
- ListViewGroupConverter.cs
- EventManager.cs
- RequestQueue.cs
- ToolboxBitmapAttribute.cs
- MouseGestureValueSerializer.cs
- HtmlInputSubmit.cs
- ScriptManager.cs
- WorkflowInlining.cs
- ToolStripSplitStackLayout.cs
- DesignerCommandAdapter.cs
- CodeLabeledStatement.cs
- QueryStringParameter.cs
- TextEndOfLine.cs
- LinqDataSourceInsertEventArgs.cs
- PasswordBoxAutomationPeer.cs
- RegularExpressionValidator.cs
- ObjectStateFormatter.cs
- FactoryId.cs
- Timeline.cs
- KeyedByTypeCollection.cs
- FixedTextSelectionProcessor.cs
- PrivacyNoticeBindingElementImporter.cs
- RowVisual.cs
- ResourceDescriptionAttribute.cs
- RTLAwareMessageBox.cs
- ProfileServiceManager.cs
- BuildManager.cs
- BindingValueChangedEventArgs.cs
- cookiecontainer.cs
- UserUseLicenseDictionaryLoader.cs
- DATA_BLOB.cs
- DataGridViewHeaderCell.cs
- TableItemStyle.cs
- FontWeight.cs
- HttpModulesSection.cs
- XmlCharCheckingWriter.cs
- Constant.cs
- HyperLinkDesigner.cs
- BooleanStorage.cs
- XmlNodeReader.cs
- DefaultValueAttribute.cs
- RelationshipEndCollection.cs
- OraclePermission.cs
- TextRenderer.cs
- DataTemplateKey.cs
- TableRowsCollectionEditor.cs
- AnnotationResourceChangedEventArgs.cs
- Table.cs
- DirectionalLight.cs
- InputBuffer.cs
- Table.cs
- MiniAssembly.cs
- ItemChangedEventArgs.cs
- HtmlTitle.cs
- ToolboxComponentsCreatedEventArgs.cs
- TableLayoutPanelResizeGlyph.cs
- InputBindingCollection.cs
- DeclaredTypeValidatorAttribute.cs
- DropDownButton.cs
- SymbolType.cs
- XmlSchemaAttributeGroupRef.cs
- Ref.cs
- SrgsElementList.cs
- SQlBooleanStorage.cs
- OdbcConnectionHandle.cs
- CacheManager.cs
- ResolvedKeyFrameEntry.cs
- SimpleBitVector32.cs
- GenerateHelper.cs
- XmlDownloadManager.cs
- StateBag.cs
- DecimalConverter.cs
- Effect.cs
- TemplateKey.cs
- DesignerVerbCollection.cs