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
- CommandBinding.cs
- StylusPointPropertyUnit.cs
- XmlSchemaAttributeGroup.cs
- StateDesigner.CommentLayoutGlyph.cs
- WebPart.cs
- AttributeCollection.cs
- NamespaceDisplay.xaml.cs
- PropertyValueUIItem.cs
- PeerInvitationResponse.cs
- InvokeCompletedEventArgs.cs
- ListBindingHelper.cs
- SynchronousChannel.cs
- ListCommandEventArgs.cs
- XsltCompileContext.cs
- TreeNodeCollection.cs
- XmlEntityReference.cs
- DropTarget.cs
- CommandExpr.cs
- SoapExtensionImporter.cs
- BooleanStorage.cs
- CodeTypeReferenceSerializer.cs
- Pair.cs
- DBCommand.cs
- WebControl.cs
- WSSecurityOneDotOneReceiveSecurityHeader.cs
- MemberMemberBinding.cs
- WebControl.cs
- CubicEase.cs
- ToolboxService.cs
- CompensationParticipant.cs
- GridSplitter.cs
- NullEntityWrapper.cs
- ProtectedProviderSettings.cs
- TaiwanCalendar.cs
- EpmContentSerializerBase.cs
- DesignerView.xaml.cs
- XamlInt32CollectionSerializer.cs
- XmlElementCollection.cs
- CancellationState.cs
- FullTextBreakpoint.cs
- SignatureTargetIdManager.cs
- KeySplineConverter.cs
- HostedImpersonationContext.cs
- OdbcPermission.cs
- WebExceptionStatus.cs
- ObjectRef.cs
- Button.cs
- ChannelTerminatedException.cs
- OutputCacheSection.cs
- BindingValueChangedEventArgs.cs
- Formatter.cs
- HtmlTableRowCollection.cs
- MatrixTransform3D.cs
- Pool.cs
- CustomError.cs
- TraceSection.cs
- FrameworkElement.cs
- IncrementalCompileAnalyzer.cs
- BasicHttpSecurityElement.cs
- GacUtil.cs
- DateTimeUtil.cs
- DesignTimeTemplateParser.cs
- CachedTypeface.cs
- MemberMaps.cs
- InputBuffer.cs
- DynamicPropertyHolder.cs
- GenericEnumerator.cs
- GZipStream.cs
- WorkflowViewService.cs
- ObjectQuery.cs
- ILGenerator.cs
- ResourceDescriptionAttribute.cs
- ComEventsHelper.cs
- CSharpCodeProvider.cs
- FlagsAttribute.cs
- IdentitySection.cs
- entityreference_tresulttype.cs
- MenuItemCollection.cs
- httpapplicationstate.cs
- ListView.cs
- HandleCollector.cs
- validationstate.cs
- EndpointAddress.cs
- HtmlWindowCollection.cs
- TdsParserSessionPool.cs
- LayoutTableCell.cs
- DataGridAddNewRow.cs
- PropertyChangingEventArgs.cs
- log.cs
- Timer.cs
- ImmutableCommunicationTimeouts.cs
- WSUtilitySpecificationVersion.cs
- Rect.cs
- GridItemProviderWrapper.cs
- CellCreator.cs
- PropertyChangedEventManager.cs
- MachineKeyConverter.cs
- LocatorGroup.cs
- CellParaClient.cs
- HttpCacheVaryByContentEncodings.cs