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
- OAVariantLib.cs
- EventLogRecord.cs
- AppDomainProtocolHandler.cs
- KeyValueConfigurationElement.cs
- SecurityContext.cs
- HTMLTagNameToTypeMapper.cs
- AssemblyName.cs
- Message.cs
- SiteMapDataSourceView.cs
- ZoneButton.cs
- Wizard.cs
- WindowsPen.cs
- RotateTransform3D.cs
- SystemColorTracker.cs
- SqlConnectionPoolGroupProviderInfo.cs
- ListView.cs
- DataMemberAttribute.cs
- AnnotationResourceCollection.cs
- BinHexEncoder.cs
- ExtensionDataReader.cs
- SessionPageStatePersister.cs
- RC2.cs
- DataViewSetting.cs
- TextServicesProperty.cs
- RootBrowserWindow.cs
- BinaryFormatter.cs
- RecordConverter.cs
- CDSCollectionETWBCLProvider.cs
- TemplateBindingExtension.cs
- BrowserCapabilitiesFactory35.cs
- LinqDataSourceContextEventArgs.cs
- PagerSettings.cs
- XmlNodeChangedEventArgs.cs
- LineBreakRecord.cs
- AspNetHostingPermission.cs
- RemotingServices.cs
- TimelineGroup.cs
- ConfigXmlWhitespace.cs
- OracleException.cs
- TripleDES.cs
- HotCommands.cs
- HtmlHistory.cs
- PropertyRef.cs
- HashAlgorithm.cs
- MessageSecurityTokenVersion.cs
- PreviewPageInfo.cs
- SspiSecurityTokenParameters.cs
- ValidationVisibilityAttribute.cs
- _SSPISessionCache.cs
- DbConnectionPoolCounters.cs
- WindowsSpinner.cs
- xmlfixedPageInfo.cs
- LayoutEditorPart.cs
- VSWCFServiceContractGenerator.cs
- ConfigViewGenerator.cs
- RectangleGeometry.cs
- TileBrush.cs
- SessionState.cs
- TypedAsyncResult.cs
- SingleKeyFrameCollection.cs
- IndicFontClient.cs
- RectangleHotSpot.cs
- BinaryHeap.cs
- ConfigurationStrings.cs
- Model3D.cs
- DrawingGroup.cs
- IndividualDeviceConfig.cs
- SymLanguageVendor.cs
- RegexBoyerMoore.cs
- DispatchChannelSink.cs
- RequestStatusBarUpdateEventArgs.cs
- ConvertEvent.cs
- PositiveTimeSpanValidatorAttribute.cs
- ObjectConverter.cs
- Literal.cs
- OpenFileDialog.cs
- ThrowHelper.cs
- SourceFileBuildProvider.cs
- FontCacheLogic.cs
- FontInfo.cs
- DocumentViewerHelper.cs
- JsonGlobals.cs
- DescendantBaseQuery.cs
- IncrementalReadDecoders.cs
- DomainUpDown.cs
- XPathNodeInfoAtom.cs
- WebPart.cs
- DynamicPropertyReader.cs
- ObjectSerializerFactory.cs
- DivideByZeroException.cs
- FakeModelItemImpl.cs
- FillBehavior.cs
- AnnotationHighlightLayer.cs
- Directory.cs
- CodeBlockBuilder.cs
- TextProperties.cs
- SynchronizedDispatch.cs
- XmlSerializationGeneratedCode.cs
- WindowsStatic.cs
- ComboBoxAutomationPeer.cs