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
- PersonalizationProviderHelper.cs
- PrimitiveXmlSerializers.cs
- DesignerForm.cs
- TypeBuilderInstantiation.cs
- ListViewTableCell.cs
- Internal.cs
- TreeNodeStyleCollection.cs
- GraphicsContainer.cs
- FormViewDeleteEventArgs.cs
- HttpException.cs
- NullableBoolConverter.cs
- HandleCollector.cs
- BlockExpression.cs
- CustomWebEventKey.cs
- SchemaImporterExtension.cs
- FormsAuthenticationModule.cs
- GPPOINT.cs
- RowUpdatingEventArgs.cs
- OutputCacheProfile.cs
- TimeSpanValidatorAttribute.cs
- CatalogPart.cs
- UpdatePanelTriggerCollection.cs
- HttpProfileBase.cs
- BitmapEncoder.cs
- ReaderContextStackData.cs
- DrawingState.cs
- PeerApplication.cs
- ResourceSetExpression.cs
- GridViewDeleteEventArgs.cs
- ResourcePart.cs
- FlatButtonAppearance.cs
- CaseStatement.cs
- XmlSchemaInferenceException.cs
- ObjectViewQueryResultData.cs
- Int32CAMarshaler.cs
- DocumentSequence.cs
- Trace.cs
- LogExtent.cs
- HtmlInputSubmit.cs
- ClientSection.cs
- LOSFormatter.cs
- DoubleAnimationBase.cs
- ItemMap.cs
- SoapObjectReader.cs
- CommonXSendMessage.cs
- EntryIndex.cs
- TrackBarRenderer.cs
- FacetEnabledSchemaElement.cs
- CodeLabeledStatement.cs
- DataGridToolTip.cs
- MsdtcWrapper.cs
- XmlSecureResolver.cs
- FormViewUpdateEventArgs.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- InfoCardServiceInstallComponent.cs
- OdbcInfoMessageEvent.cs
- DataObjectAttribute.cs
- ParentQuery.cs
- BaseValidator.cs
- ColorAnimation.cs
- XPathChildIterator.cs
- ControlBuilder.cs
- DataGridViewHeaderCell.cs
- StylusButton.cs
- WindowsRebar.cs
- InputScopeAttribute.cs
- DataSourceXmlSerializer.cs
- DataGridViewRowCollection.cs
- CompilerHelpers.cs
- MissingMemberException.cs
- CodeDomSerializationProvider.cs
- RequiredArgumentAttribute.cs
- ProxyElement.cs
- ContextMenuStrip.cs
- TrackingProvider.cs
- FrameworkContentElementAutomationPeer.cs
- ServerIdentity.cs
- Base64WriteStateInfo.cs
- PostBackOptions.cs
- WSDualHttpSecurityMode.cs
- XmlSchemaNotation.cs
- X509KeyIdentifierClauseType.cs
- TypeForwardedToAttribute.cs
- MdImport.cs
- HyperLinkColumn.cs
- SimpleRecyclingCache.cs
- InfoCardTraceRecord.cs
- BufferedGraphicsManager.cs
- EventWaitHandle.cs
- ProfilePropertySettingsCollection.cs
- AnimatedTypeHelpers.cs
- ContainerControl.cs
- X509Extension.cs
- GridProviderWrapper.cs
- CollectionChangeEventArgs.cs
- StyleTypedPropertyAttribute.cs
- TextOptionsInternal.cs
- X509CertificateValidationMode.cs
- DataGridRowClipboardEventArgs.cs
- Vars.cs