Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ItemList.cs
- ConstantSlot.cs
- DecimalAnimation.cs
- SetterBase.cs
- BinaryParser.cs
- DynamicQueryStringParameter.cs
- MessageAction.cs
- ThreadAbortException.cs
- SendActivityDesigner.cs
- UIElementCollection.cs
- SemaphoreSecurity.cs
- ExpandCollapsePattern.cs
- MediaPlayer.cs
- CustomErrorsSection.cs
- SiteMapHierarchicalDataSourceView.cs
- IPPacketInformation.cs
- ConfigurationLocation.cs
- ContentType.cs
- CompoundFileDeflateTransform.cs
- SecurityContext.cs
- CustomExpression.cs
- System.Data.OracleClient_BID.cs
- FrameSecurityDescriptor.cs
- KeyConstraint.cs
- MaterialGroup.cs
- DesignerCalendarAdapter.cs
- EmptyControlCollection.cs
- SequentialUshortCollection.cs
- HttpWriter.cs
- WebServiceData.cs
- MetadataCache.cs
- CryptoApi.cs
- MessageSecurityProtocol.cs
- DiscoveryDocument.cs
- EventListenerClientSide.cs
- WebPartConnection.cs
- Configuration.cs
- XmlCompatibilityReader.cs
- MissingManifestResourceException.cs
- DropSource.cs
- CodeCastExpression.cs
- OracleNumber.cs
- TextEncodedRawTextWriter.cs
- FlowPanelDesigner.cs
- XamlFilter.cs
- PreservationFileWriter.cs
- DataObjectAttribute.cs
- FontFaceLayoutInfo.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- ComboBoxHelper.cs
- ToolStripOverflow.cs
- SortedSetDebugView.cs
- TemplateColumn.cs
- TextElementEditingBehaviorAttribute.cs
- AccessDataSourceWizardForm.cs
- Memoizer.cs
- FigureParaClient.cs
- QueryMatcher.cs
- NullableIntAverageAggregationOperator.cs
- SqlNotificationRequest.cs
- HashMembershipCondition.cs
- RuleSet.cs
- Bitmap.cs
- SchemaImporterExtensionElementCollection.cs
- ScrollItemProviderWrapper.cs
- LockCookie.cs
- CharAnimationUsingKeyFrames.cs
- BindingNavigatorDesigner.cs
- ToolboxItem.cs
- TemplatedEditableDesignerRegion.cs
- PlacementWorkspace.cs
- PersianCalendar.cs
- ImageFormatConverter.cs
- RectangleConverter.cs
- ObjectDataSourceMethodEventArgs.cs
- BuildProvidersCompiler.cs
- LockedActivityGlyph.cs
- RewritingPass.cs
- HttpRuntime.cs
- Shape.cs
- PropertyGridEditorPart.cs
- XamlLoadErrorInfo.cs
- TraceListeners.cs
- TableLayoutPanel.cs
- PublishLicense.cs
- ValidatingReaderNodeData.cs
- PolyBezierSegment.cs
- mongolianshape.cs
- ResolveNameEventArgs.cs
- Panel.cs
- EntitySqlQueryCacheEntry.cs
- TextBoxView.cs
- SafeWaitHandle.cs
- OrderPreservingPipeliningMergeHelper.cs
- DocumentSchemaValidator.cs
- _Win32.cs
- UseLicense.cs
- DataSetViewSchema.cs
- DoWorkEventArgs.cs
- Propagator.cs