Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ViewCellSlot.cs
- ComponentResourceKey.cs
- TypeExtensionConverter.cs
- HostedController.cs
- PaperSize.cs
- SqlDependency.cs
- OperationResponse.cs
- XmlText.cs
- HandlerWithFactory.cs
- UpdateException.cs
- DisableDpiAwarenessAttribute.cs
- BamlTreeNode.cs
- HostedBindingBehavior.cs
- MenuCommandsChangedEventArgs.cs
- PageFunction.cs
- EventLogPermissionEntry.cs
- printdlgexmarshaler.cs
- Schema.cs
- BitFlagsGenerator.cs
- HttpCapabilitiesSectionHandler.cs
- SiteMapDataSource.cs
- ZipIOLocalFileBlock.cs
- ColumnMapCopier.cs
- SerializationObjectManager.cs
- DecoderReplacementFallback.cs
- WebServiceParameterData.cs
- HttpConfigurationSystem.cs
- ColumnCollection.cs
- PrePrepareMethodAttribute.cs
- WebBrowserProgressChangedEventHandler.cs
- DelegatingTypeDescriptionProvider.cs
- DataServiceResponse.cs
- XamlReader.cs
- _OSSOCK.cs
- SignedPkcs7.cs
- ClientSettingsSection.cs
- MetadataPropertyvalue.cs
- GroupQuery.cs
- CommonEndpointBehaviorElement.cs
- DropShadowEffect.cs
- Brush.cs
- _UncName.cs
- ControlTemplate.cs
- PtsHelper.cs
- StaticSiteMapProvider.cs
- TemplatedAdorner.cs
- Line.cs
- SecurityHelper.cs
- PeerEndPoint.cs
- DesignerSerializationVisibilityAttribute.cs
- ToolstripProfessionalRenderer.cs
- BindingWorker.cs
- ServiceControllerDesigner.cs
- TypefaceMetricsCache.cs
- RuntimeConfigurationRecord.cs
- ProtocolsConfiguration.cs
- DataServiceOperationContext.cs
- IdentitySection.cs
- IntegrationExceptionEventArgs.cs
- ConnectionsZone.cs
- SimplePropertyEntry.cs
- Bitmap.cs
- InstancePersistence.cs
- CodeIdentifier.cs
- MetabaseServerConfig.cs
- ControlCachePolicy.cs
- CounterCreationData.cs
- HandledMouseEvent.cs
- DataBoundControl.cs
- SetMemberBinder.cs
- InvalidFilterCriteriaException.cs
- CompilerTypeWithParams.cs
- QuaternionRotation3D.cs
- StorageFunctionMapping.cs
- _FtpDataStream.cs
- PeerObject.cs
- ComponentDispatcherThread.cs
- Timer.cs
- EditorPart.cs
- ConfigXmlReader.cs
- PackWebRequest.cs
- CaseInsensitiveOrdinalStringComparer.cs
- StateMachineSubscription.cs
- regiisutil.cs
- WebScriptEnablingElement.cs
- SR.cs
- XmlIncludeAttribute.cs
- HMACSHA1.cs
- ClientSettingsStore.cs
- OperationPickerDialog.cs
- ConfigurationHelpers.cs
- SelectionListComponentEditor.cs
- ToolboxComponentsCreatingEventArgs.cs
- RandomNumberGenerator.cs
- PersonalizationAdministration.cs
- TextModifier.cs
- LinearKeyFrames.cs
- DataBinder.cs
- cookiecollection.cs
- SequentialOutput.cs