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
- TextUtf8RawTextWriter.cs
- BoundPropertyEntry.cs
- autovalidator.cs
- HostingEnvironmentException.cs
- SessionState.cs
- TerminatorSinks.cs
- BehaviorEditorPart.cs
- XmlWriterSettings.cs
- FactoryGenerator.cs
- JsonWriterDelegator.cs
- OleDbRowUpdatedEvent.cs
- ProtectedUri.cs
- PolyQuadraticBezierSegment.cs
- controlskin.cs
- DataGridColumnCollection.cs
- VScrollBar.cs
- Timer.cs
- ComponentEditorForm.cs
- BuildManager.cs
- DesignerView.cs
- Metafile.cs
- CheckBoxList.cs
- ExpressionBuilder.cs
- SqlUnionizer.cs
- ProviderUtil.cs
- DBSchemaRow.cs
- ProfileService.cs
- AnnotationComponentManager.cs
- RightNameExpirationInfoPair.cs
- RepeaterItem.cs
- WindowsFormsSectionHandler.cs
- CommunicationObject.cs
- RepeatButton.cs
- BrowserCapabilitiesFactory.cs
- XmlIlVisitor.cs
- Funcletizer.cs
- DateTimeFormatInfoScanner.cs
- EnumMember.cs
- MemberPath.cs
- LockedActivityGlyph.cs
- StylusLogic.cs
- SchemaNames.cs
- PrivilegeNotHeldException.cs
- DataTableClearEvent.cs
- AuthenticationService.cs
- RichTextBoxConstants.cs
- BinHexEncoding.cs
- Membership.cs
- LogicalCallContext.cs
- RawMouseInputReport.cs
- IntegerCollectionEditor.cs
- FacetEnabledSchemaElement.cs
- CqlErrorHelper.cs
- ScriptControl.cs
- RelationshipFixer.cs
- HtmlControlDesigner.cs
- SettingsContext.cs
- basenumberconverter.cs
- URLString.cs
- BadImageFormatException.cs
- TreeNodeStyle.cs
- ResourceManager.cs
- FunctionNode.cs
- LateBoundBitmapDecoder.cs
- ActiveXHelper.cs
- RunInstallerAttribute.cs
- _Win32.cs
- GenericPrincipal.cs
- ObjectQueryProvider.cs
- AggregationMinMaxHelpers.cs
- TableHeaderCell.cs
- DisplayInformation.cs
- NetPipeSectionData.cs
- UpdateCommand.cs
- WebBaseEventKeyComparer.cs
- DataRowChangeEvent.cs
- URIFormatException.cs
- MenuItemBinding.cs
- IdnElement.cs
- ComponentChangingEvent.cs
- GeometryDrawing.cs
- WindowsButton.cs
- ProtectedProviderSettings.cs
- HtmlShim.cs
- DelegatingTypeDescriptionProvider.cs
- XmlDeclaration.cs
- HttpCacheParams.cs
- TreeViewImageIndexConverter.cs
- PropertyInfo.cs
- PackagingUtilities.cs
- CompositionAdorner.cs
- COAUTHINFO.cs
- ColorConverter.cs
- XPathChildIterator.cs
- TextRunTypographyProperties.cs
- TrackingQueryElement.cs
- ContentType.cs
- ErrorItem.cs
- EmbeddedObject.cs
- MemoryMappedFile.cs