Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINTF.cs / 2 / 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
- ClassGenerator.cs
- StatusBar.cs
- FileLevelControlBuilderAttribute.cs
- WebReferencesBuildProvider.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- DBCommand.cs
- StringFreezingAttribute.cs
- ScriptRegistrationManager.cs
- InputLanguageManager.cs
- CompilerInfo.cs
- CompositeCollectionView.cs
- OdbcStatementHandle.cs
- Expression.cs
- ObjectQueryProvider.cs
- FixedSOMLineCollection.cs
- DesignerWidgets.cs
- StatusBarAutomationPeer.cs
- InternalBufferOverflowException.cs
- ChangeNode.cs
- PostBackTrigger.cs
- GroupBoxAutomationPeer.cs
- EventDescriptor.cs
- Keyboard.cs
- RSAPKCS1SignatureFormatter.cs
- AnchoredBlock.cs
- HtmlElementEventArgs.cs
- GraphicsPath.cs
- Dictionary.cs
- IndexedString.cs
- SqlRetyper.cs
- PropertyRef.cs
- Enumerable.cs
- Nullable.cs
- BindingSource.cs
- HtmlLinkAdapter.cs
- SqlSelectStatement.cs
- RegexMatch.cs
- ReferencedAssembly.cs
- CustomValidator.cs
- XmlQualifiedName.cs
- PolicyStatement.cs
- ViewBase.cs
- RouteItem.cs
- Helper.cs
- FixedTextContainer.cs
- DefaultBinder.cs
- NestPullup.cs
- AuthenticationServiceManager.cs
- XmlWellformedWriter.cs
- SqlGenericUtil.cs
- TargetPerspective.cs
- SecurityRuntime.cs
- RegexCapture.cs
- MenuItem.cs
- UriScheme.cs
- EdmValidator.cs
- FormViewDeletedEventArgs.cs
- CFGGrammar.cs
- DataGridViewColumnEventArgs.cs
- StreamGeometryContext.cs
- CommentEmitter.cs
- TagNameToTypeMapper.cs
- InputLanguageEventArgs.cs
- ALinqExpressionVisitor.cs
- Base64Decoder.cs
- OracleNumber.cs
- OutputCacheSettingsSection.cs
- ProgressBar.cs
- LicenseProviderAttribute.cs
- RootBrowserWindowProxy.cs
- SQLSingleStorage.cs
- DataControlButton.cs
- BrowserCapabilitiesFactory.cs
- AutoResetEvent.cs
- BrowserCapabilitiesFactoryBase.cs
- BindingManagerDataErrorEventArgs.cs
- AsymmetricCryptoHandle.cs
- RawUIStateInputReport.cs
- safex509handles.cs
- SqlWebEventProvider.cs
- ValidationSummaryDesigner.cs
- SeparatorAutomationPeer.cs
- CalloutQueueItem.cs
- WebPartDisplayModeCollection.cs
- SelfIssuedAuthRSAPKCS1SignatureDeformatter.cs
- PanelDesigner.cs
- X509Utils.cs
- WebBrowserHelper.cs
- PromptBuilder.cs
- MatrixAnimationBase.cs
- DataGridViewCellPaintingEventArgs.cs
- ScrollProviderWrapper.cs
- BindingListCollectionView.cs
- FieldMetadata.cs
- ProgressBarHighlightConverter.cs
- diagnosticsswitches.cs
- AuthenticationModuleElement.cs
- ElementAtQueryOperator.cs
- IdentityReference.cs
- StateChangeEvent.cs