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
- EventLogPermission.cs
- PolicyUnit.cs
- versioninfo.cs
- ControlUtil.cs
- TabletDeviceInfo.cs
- SortedDictionary.cs
- LinqToSqlWrapper.cs
- HttpCachePolicyElement.cs
- HtmlInputRadioButton.cs
- ItemAutomationPeer.cs
- FreezableCollection.cs
- Permission.cs
- ConfigurationElement.cs
- hresults.cs
- BackStopAuthenticationModule.cs
- DispatcherEventArgs.cs
- TrackingMemoryStream.cs
- PersonalizableAttribute.cs
- Lasso.cs
- CellCreator.cs
- CheckableControlBaseAdapter.cs
- CodeGenerator.cs
- WindowsContainer.cs
- InputScope.cs
- HebrewCalendar.cs
- JsonFaultDetail.cs
- FacetChecker.cs
- XmlMessageFormatter.cs
- ToolStripContainerActionList.cs
- List.cs
- HtmlTableRowCollection.cs
- shaperfactoryquerycacheentry.cs
- FrugalList.cs
- clipboard.cs
- ListViewCommandEventArgs.cs
- HttpUnhandledOperationInvoker.cs
- ICspAsymmetricAlgorithm.cs
- IndicShape.cs
- ManifestResourceInfo.cs
- FastPropertyAccessor.cs
- DataTransferEventArgs.cs
- ModelItemCollectionImpl.cs
- ExpressionServices.cs
- ActivityInstance.cs
- DropSource.cs
- MediaTimeline.cs
- SchemaCollectionCompiler.cs
- Internal.cs
- XmlLanguageConverter.cs
- BitmapEffectInputData.cs
- ArrayTypeMismatchException.cs
- MemberPath.cs
- DataGridColumnCollection.cs
- WebResponse.cs
- DbConnectionFactory.cs
- BasicKeyConstraint.cs
- MeshGeometry3D.cs
- WebPartUtil.cs
- PerformanceCountersElement.cs
- ExpressionBuilderCollection.cs
- ErrorItem.cs
- BindingMemberInfo.cs
- RadioButton.cs
- RemoteWebConfigurationHost.cs
- ByteStack.cs
- OperatingSystem.cs
- Margins.cs
- FontFamily.cs
- DtrList.cs
- HttpDictionary.cs
- SchemaTypeEmitter.cs
- TypeSystem.cs
- TableLayoutColumnStyleCollection.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- ComPlusTypeLoader.cs
- ChildChangedEventArgs.cs
- FormsIdentity.cs
- GeneralTransform3D.cs
- DataGridViewComboBoxColumn.cs
- FileCodeGroup.cs
- XmlObjectSerializer.cs
- HtmlMeta.cs
- MaskInputRejectedEventArgs.cs
- TypeAccessException.cs
- CultureData.cs
- IndexerNameAttribute.cs
- AlphaSortedEnumConverter.cs
- ParallelQuery.cs
- WindowsPrincipal.cs
- ClosableStream.cs
- CompoundFileIOPermission.cs
- DateTimeConverter.cs
- CriticalHandle.cs
- Vector3D.cs
- UTF8Encoding.cs
- Int32RectConverter.cs
- CheckedPointers.cs
- TraversalRequest.cs
- XmlLanguage.cs
- LogEntrySerializationException.cs