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
- SymLanguageVendor.cs
- activationcontext.cs
- ExpressionBinding.cs
- BulletDecorator.cs
- MarkupCompilePass2.cs
- PersonalizableAttribute.cs
- InstalledVoice.cs
- FileSystemInfo.cs
- JapaneseCalendar.cs
- PixelFormatConverter.cs
- OperationFormatUse.cs
- XomlCompilerResults.cs
- WebCodeGenerator.cs
- AuthenticationService.cs
- DecimalAnimationBase.cs
- HebrewCalendar.cs
- OciLobLocator.cs
- AsyncDataRequest.cs
- FileUtil.cs
- MsmqIntegrationChannelListener.cs
- TaiwanCalendar.cs
- DesignerTransaction.cs
- StructuredProperty.cs
- HttpResponse.cs
- ConnectionStringSettings.cs
- SystemPens.cs
- Hash.cs
- SessionChannels.cs
- UnaryQueryOperator.cs
- EventSchemaTraceListener.cs
- ClientProxyGenerator.cs
- ReferencedType.cs
- ResourceExpressionBuilder.cs
- BlurEffect.cs
- HttpWebResponse.cs
- DataGridAutomationPeer.cs
- Signature.cs
- BitmapFrameDecode.cs
- Config.cs
- BinaryConverter.cs
- BooleanProjectedSlot.cs
- QuaternionValueSerializer.cs
- RemoteWebConfigurationHostServer.cs
- VectorCollectionValueSerializer.cs
- InternalMappingException.cs
- FixedSOMPageElement.cs
- AssociatedControlConverter.cs
- CellTreeNodeVisitors.cs
- GlyphCache.cs
- XPathBinder.cs
- XmlDictionaryReader.cs
- CLRBindingWorker.cs
- ObjectRef.cs
- EncryptedReference.cs
- DrawingGroupDrawingContext.cs
- Line.cs
- HyperLinkColumn.cs
- SQLBytes.cs
- XsltOutput.cs
- EventHandlerList.cs
- MetadataPropertyAttribute.cs
- InvariantComparer.cs
- MultipartIdentifier.cs
- X509Utils.cs
- ToolStripButton.cs
- QilDataSource.cs
- CookieParameter.cs
- Mutex.cs
- CustomAttributeSerializer.cs
- Accessors.cs
- Module.cs
- TraceUtility.cs
- Authorization.cs
- PointF.cs
- WebPartUtil.cs
- Transform.cs
- PersonalizationState.cs
- RoleManagerModule.cs
- DispatcherEventArgs.cs
- ActivityPropertyReference.cs
- LambdaCompiler.Unary.cs
- RTLAwareMessageBox.cs
- TableLayout.cs
- XmlChildEnumerator.cs
- SystemBrushes.cs
- Win32MouseDevice.cs
- BinaryNode.cs
- DynamicPropertyReader.cs
- ViewSimplifier.cs
- OneOfTypeConst.cs
- AssertUtility.cs
- PointAnimationBase.cs
- CompositeActivityTypeDescriptorProvider.cs
- _RegBlobWebProxyDataBuilder.cs
- HttpGetProtocolReflector.cs
- ProfilePropertySettings.cs
- TransformProviderWrapper.cs
- BindingMAnagerBase.cs
- bindurihelper.cs
- DataTablePropertyDescriptor.cs