Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINTF.cs / 1 / GPPOINTF.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Internal { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal class GPPOINTF { internal float X; internal float Y; internal GPPOINTF() { } internal GPPOINTF(PointF pt) { X = pt.X; Y = pt.Y; } internal GPPOINTF(Point pt) { X = (float) pt.X; Y = (float) pt.Y; } internal PointF ToPoint() { return new PointF(X, Y); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Drawing.Internal { using System.Diagnostics; using System; using System.Drawing; using System.Runtime.InteropServices; [StructLayout(LayoutKind.Sequential)] internal class GPPOINTF { internal float X; internal float Y; internal GPPOINTF() { } internal GPPOINTF(PointF pt) { X = pt.X; Y = pt.Y; } internal GPPOINTF(Point pt) { X = (float) pt.X; Y = (float) pt.Y; } internal PointF ToPoint() { return new PointF(X, Y); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MapPathBasedVirtualPathProvider.cs
- StrongName.cs
- httpapplicationstate.cs
- XmlSecureResolver.cs
- _ListenerAsyncResult.cs
- RMPermissions.cs
- RootNamespaceAttribute.cs
- RelationalExpressions.cs
- WebPartCatalogAddVerb.cs
- DataGridViewCellStyleChangedEventArgs.cs
- CleanUpVirtualizedItemEventArgs.cs
- EventDescriptorCollection.cs
- EditorBrowsableAttribute.cs
- SQLInt32.cs
- IdentityManager.cs
- ProfileSection.cs
- FormViewUpdatedEventArgs.cs
- ListViewAutomationPeer.cs
- HostSecurityManager.cs
- NamedPermissionSet.cs
- TrackingProfile.cs
- IriParsingElement.cs
- dataobject.cs
- QueuePathDialog.cs
- ChangeProcessor.cs
- ListViewCancelEventArgs.cs
- CustomTrackingQuery.cs
- OutputCacheSection.cs
- DataBoundControlDesigner.cs
- TextRunCacheImp.cs
- BaseTemplateParser.cs
- DispatcherEventArgs.cs
- unsafenativemethodsother.cs
- ValueTable.cs
- CacheAxisQuery.cs
- FixedTextView.cs
- DisplayMemberTemplateSelector.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- WebPartCloseVerb.cs
- InstanceStoreQueryResult.cs
- UrlPath.cs
- PropertyOrder.cs
- MdiWindowListItemConverter.cs
- BitmapEffectOutputConnector.cs
- Tokenizer.cs
- DrawingImage.cs
- HostUtils.cs
- util.cs
- CodeFieldReferenceExpression.cs
- ThreadInterruptedException.cs
- WebPartDisplayMode.cs
- HtmlInputImage.cs
- TextDecoration.cs
- XmlParserContext.cs
- MasterPageBuildProvider.cs
- RequestChannelBinder.cs
- BevelBitmapEffect.cs
- SerializationAttributes.cs
- StopStoryboard.cs
- OdbcPermission.cs
- ipaddressinformationcollection.cs
- PeerTransportSecurityElement.cs
- DataGridViewRowsRemovedEventArgs.cs
- configsystem.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- OutArgument.cs
- CheckBox.cs
- XmlSerializationGeneratedCode.cs
- FillBehavior.cs
- PlaceHolder.cs
- OnOperation.cs
- VectorAnimationBase.cs
- ApplicationGesture.cs
- StylusSystemGestureEventArgs.cs
- ComAdminInterfaces.cs
- AdRotator.cs
- ImportCatalogPart.cs
- Int16.cs
- TreeViewImageIndexConverter.cs
- QilInvokeLateBound.cs
- LazyTextWriterCreator.cs
- CodeTypeDeclaration.cs
- ReachFixedPageSerializerAsync.cs
- TextEndOfParagraph.cs
- CapabilitiesState.cs
- OraclePermission.cs
- CopyNamespacesAction.cs
- FilteredSchemaElementLookUpTable.cs
- SqlConnectionFactory.cs
- SubstitutionDesigner.cs
- DefaultSection.cs
- SessionStateContainer.cs
- WebPartHelpVerb.cs
- PrintPageEvent.cs
- TraceContextEventArgs.cs
- RestHandler.cs
- DirectionalLight.cs
- ZipArchive.cs
- LeftCellWrapper.cs
- InkPresenter.cs