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
- NativeMsmqMessage.cs
- QueryCacheEntry.cs
- WebPartCloseVerb.cs
- OleDbException.cs
- FactoryGenerator.cs
- MailWebEventProvider.cs
- DataGridViewRowPostPaintEventArgs.cs
- ICspAsymmetricAlgorithm.cs
- PrintSchema.cs
- XsdDuration.cs
- WorkflowApplication.cs
- PenLineCapValidation.cs
- CheckableControlBaseAdapter.cs
- TextRange.cs
- SymmetricKeyWrap.cs
- AdministrationHelpers.cs
- Content.cs
- UriParserTemplates.cs
- EnumValAlphaComparer.cs
- ConfigurationLockCollection.cs
- LinearKeyFrames.cs
- PasswordTextContainer.cs
- ProcessModuleDesigner.cs
- InteropDesigner.xaml.cs
- NotSupportedException.cs
- DropShadowEffect.cs
- CacheRequest.cs
- DeleteCardRequest.cs
- DbConnectionClosed.cs
- Stack.cs
- WorkflowServiceHostFactory.cs
- BasicExpandProvider.cs
- ButtonField.cs
- PropertyDescriptorGridEntry.cs
- OperationResponse.cs
- TextElementCollectionHelper.cs
- ToolStripOverflow.cs
- GraphicsContainer.cs
- ZoneMembershipCondition.cs
- Brush.cs
- ScrollBarRenderer.cs
- Point4DValueSerializer.cs
- DispatcherOperation.cs
- Internal.cs
- ServiceProviders.cs
- MaskDesignerDialog.cs
- QuaternionRotation3D.cs
- MsmqIntegrationProcessProtocolHandler.cs
- SqlInternalConnectionTds.cs
- HtmlInputButton.cs
- DataGridViewCellStyleConverter.cs
- ComponentChangingEvent.cs
- BamlReader.cs
- WebColorConverter.cs
- List.cs
- CompositeTypefaceMetrics.cs
- WeakKeyDictionary.cs
- SEHException.cs
- ConfigDefinitionUpdates.cs
- File.cs
- RootBrowserWindowProxy.cs
- _IPv6Address.cs
- GroupItem.cs
- IsolatedStorageFilePermission.cs
- Rfc2898DeriveBytes.cs
- LinqToSqlWrapper.cs
- CodeGenerationManager.cs
- HyperLink.cs
- DispatcherFrame.cs
- AQNBuilder.cs
- IndentTextWriter.cs
- Vector3DIndependentAnimationStorage.cs
- RectKeyFrameCollection.cs
- TextAnchor.cs
- SqlTopReducer.cs
- WebServiceHandlerFactory.cs
- Dynamic.cs
- MessageFilter.cs
- PagedDataSource.cs
- SqlClientMetaDataCollectionNames.cs
- FormViewCommandEventArgs.cs
- EmptyStringExpandableObjectConverter.cs
- ContentTextAutomationPeer.cs
- CompilerWrapper.cs
- WebBrowserNavigatingEventHandler.cs
- CredentialCache.cs
- HTMLTextWriter.cs
- Container.cs
- RoleManagerEventArgs.cs
- ImpersonateTokenRef.cs
- MSAANativeProvider.cs
- ImageInfo.cs
- ListBoxItemWrapperAutomationPeer.cs
- ProcessHostServerConfig.cs
- OraclePermissionAttribute.cs
- Drawing.cs
- DataSourceSelectArguments.cs
- EpmContentSerializerBase.cs
- FormViewDeletedEventArgs.cs
- MessageDirection.cs