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
- fixedPageContentExtractor.cs
- Rect.cs
- CodeMethodInvokeExpression.cs
- FacetValues.cs
- SubMenuStyleCollection.cs
- Switch.cs
- BinarySerializer.cs
- SqlIdentifier.cs
- DesignerTransactionCloseEvent.cs
- Pair.cs
- XamlDesignerSerializationManager.cs
- DbCommandDefinition.cs
- RegexRunnerFactory.cs
- SequentialWorkflowRootDesigner.cs
- RectAnimation.cs
- WindowsListViewGroupSubsetLink.cs
- WebPartDescriptionCollection.cs
- BigInt.cs
- FlowDocumentScrollViewer.cs
- __ComObject.cs
- ViewGenerator.cs
- HtmlTernaryTree.cs
- DocumentApplicationJournalEntry.cs
- ManipulationCompletedEventArgs.cs
- TextBlockAutomationPeer.cs
- AuthorizationRule.cs
- FormViewRow.cs
- DataControlFieldCell.cs
- StickyNote.cs
- DeclaredTypeElement.cs
- PrintEvent.cs
- DataGridItemCollection.cs
- SoapSchemaExporter.cs
- CommandManager.cs
- X509ChainPolicy.cs
- BamlTreeNode.cs
- COM2TypeInfoProcessor.cs
- IndexingContentUnit.cs
- ProfileSettings.cs
- SequentialWorkflowRootDesigner.cs
- ContentDisposition.cs
- SelectorAutomationPeer.cs
- WhileDesigner.xaml.cs
- PageResolution.cs
- ActiveDesignSurfaceEvent.cs
- HttpStreams.cs
- PaperSize.cs
- brushes.cs
- TreeViewItemAutomationPeer.cs
- XomlSerializationHelpers.cs
- MatchingStyle.cs
- PluralizationService.cs
- initElementDictionary.cs
- Blend.cs
- PaginationProgressEventArgs.cs
- DesignerInterfaces.cs
- ElementHost.cs
- FreeFormDragDropManager.cs
- ContentType.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- AmbiguousMatchException.cs
- NativeMethods.cs
- PrinterUnitConvert.cs
- ProgressBarRenderer.cs
- Delay.cs
- MarkupWriter.cs
- RowUpdatingEventArgs.cs
- EventWaitHandleSecurity.cs
- BoundingRectTracker.cs
- httpserverutility.cs
- GroupQuery.cs
- PersonalizationProviderHelper.cs
- CustomErrorsSection.cs
- HebrewCalendar.cs
- BitmapCacheBrush.cs
- WebBrowser.cs
- EntityExpressionVisitor.cs
- Win32MouseDevice.cs
- MessageSmuggler.cs
- XmlAnyElementAttribute.cs
- ConfigurationValues.cs
- InkCanvasInnerCanvas.cs
- AppDomainFactory.cs
- SecureStringHasher.cs
- ReferentialConstraintRoleElement.cs
- Attributes.cs
- Clipboard.cs
- Annotation.cs
- ObjectTag.cs
- Matrix3D.cs
- ProtocolsConfigurationHandler.cs
- InkCanvasAutomationPeer.cs
- TypeUtil.cs
- BlurBitmapEffect.cs
- _WinHttpWebProxyDataBuilder.cs
- ObjectDataSourceDisposingEventArgs.cs
- HandlerFactoryWrapper.cs
- Figure.cs
- Triplet.cs
- RichTextBoxAutomationPeer.cs