Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINT.cs / 1305376 / GPPOINT.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 GPPOINT { internal int X; internal int Y; internal GPPOINT() { } internal GPPOINT(PointF pt) { X = (int) pt.X; Y = (int) pt.Y; } internal GPPOINT(Point pt) { X = pt.X; Y = 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 GPPOINT { internal int X; internal int Y; internal GPPOINT() { } internal GPPOINT(PointF pt) { X = (int) pt.X; Y = (int) pt.Y; } internal GPPOINT(Point pt) { X = pt.X; Y = pt.Y; } internal PointF ToPoint() { return new PointF(X, Y); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FlowDocumentReaderAutomationPeer.cs
- SessionPageStateSection.cs
- XmlStringTable.cs
- XmlElementAttributes.cs
- IndentTextWriter.cs
- ReaderWriterLock.cs
- TemplateInstanceAttribute.cs
- AutoGeneratedFieldProperties.cs
- ObjectDataSourceView.cs
- ServiceTimeoutsBehavior.cs
- Instrumentation.cs
- ResumeStoryboard.cs
- EdmComplexTypeAttribute.cs
- _SingleItemRequestCache.cs
- ButtonFieldBase.cs
- DefaultValueTypeConverter.cs
- sitestring.cs
- FSWPathEditor.cs
- ValidateNames.cs
- DashStyle.cs
- VerificationAttribute.cs
- CircleHotSpot.cs
- XmlReflectionMember.cs
- DataGridColumnHeaderAutomationPeer.cs
- WebHttpBindingElement.cs
- SafeTimerHandle.cs
- DataGridViewCellPaintingEventArgs.cs
- LogEntry.cs
- RayMeshGeometry3DHitTestResult.cs
- COM2EnumConverter.cs
- SoapParser.cs
- DataTableTypeConverter.cs
- JoinGraph.cs
- HostElement.cs
- InternalControlCollection.cs
- DocumentXPathNavigator.cs
- SystemIPGlobalProperties.cs
- RenderDataDrawingContext.cs
- BCryptNative.cs
- UTF8Encoding.cs
- ArgumentElement.cs
- DataViewListener.cs
- WindowsComboBox.cs
- SingleStorage.cs
- TraceContextEventArgs.cs
- XmlElementAttribute.cs
- SpellerStatusTable.cs
- FtpRequestCacheValidator.cs
- EqualityComparer.cs
- EntityStoreSchemaGenerator.cs
- DataRelationPropertyDescriptor.cs
- WebServiceClientProxyGenerator.cs
- Metafile.cs
- ClientCultureInfo.cs
- SrgsSubset.cs
- DataList.cs
- HtmlFormParameterReader.cs
- TreeView.cs
- CodeIdentifier.cs
- DataKeyCollection.cs
- StatusBarDrawItemEvent.cs
- ConfigurationManagerInternalFactory.cs
- SettingsSavedEventArgs.cs
- DataObjectAttribute.cs
- TypeUtil.cs
- SafeNativeMethods.cs
- DocumentAutomationPeer.cs
- VirtualPathProvider.cs
- DataGridViewRowEventArgs.cs
- TriggerCollection.cs
- _ConnectStream.cs
- WindowsClaimSet.cs
- BufferedGraphicsContext.cs
- MethodRental.cs
- SimpleFieldTemplateFactory.cs
- CharacterString.cs
- RefExpr.cs
- AbsoluteQuery.cs
- XPathPatternBuilder.cs
- PersistenceTypeAttribute.cs
- PagesSection.cs
- XmlSerializerVersionAttribute.cs
- XmlSerializerNamespaces.cs
- QueryTask.cs
- FlowchartDesigner.xaml.cs
- TableLayoutPanelCellPosition.cs
- AuthenticationService.cs
- DataGridSortCommandEventArgs.cs
- AuthenticationService.cs
- XmlAtomErrorReader.cs
- MessageHeaders.cs
- XmlQuerySequence.cs
- NavigatorInput.cs
- DoubleMinMaxAggregationOperator.cs
- DataGridViewColumn.cs
- CqlIdentifiers.cs
- SizeFConverter.cs
- CaseInsensitiveHashCodeProvider.cs
- Parameter.cs
- DbProviderConfigurationHandler.cs