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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChineseLunisolarCalendar.cs
- EventLogger.cs
- _SSPIWrapper.cs
- TextViewSelectionProcessor.cs
- XPathBinder.cs
- GeneralTransform2DTo3DTo2D.cs
- Floater.cs
- ChangePassword.cs
- SoapClientProtocol.cs
- ComponentEditorPage.cs
- NameObjectCollectionBase.cs
- sortedlist.cs
- TrackingLocation.cs
- DataGridViewTextBoxColumn.cs
- PathTooLongException.cs
- Vector3DValueSerializer.cs
- MeshGeometry3D.cs
- DispatcherExceptionEventArgs.cs
- SoapAttributeOverrides.cs
- Selector.cs
- ServiceHttpHandlerFactory.cs
- PersonalizableTypeEntry.cs
- XpsSerializationManager.cs
- OutputCacheSettingsSection.cs
- Formatter.cs
- StoreItemCollection.cs
- SkipQueryOptionExpression.cs
- CodeSubDirectoriesCollection.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- DataChangedEventManager.cs
- WorkflowElementDialog.cs
- GC.cs
- DocumentPageHost.cs
- TextTreeTextNode.cs
- TemplateBindingExpression.cs
- UpdateCompiler.cs
- DispatcherSynchronizationContext.cs
- SQLResource.cs
- ThreadSafeList.cs
- CodeEventReferenceExpression.cs
- ImmutablePropertyDescriptorGridEntry.cs
- SystemKeyConverter.cs
- XmlChildEnumerator.cs
- PeerIPHelper.cs
- BoundingRectTracker.cs
- StylusDownEventArgs.cs
- VirtualPathProvider.cs
- DataGridViewCellStyle.cs
- DbExpressionVisitor_TResultType.cs
- ReaderWriterLock.cs
- DataServices.cs
- UniqueEventHelper.cs
- WebPartUserCapability.cs
- TextSelectionProcessor.cs
- PageParser.cs
- DbSourceCommand.cs
- SaveFileDialog.cs
- XmlSchemaGroupRef.cs
- HtmlImage.cs
- TemplateParser.cs
- DataGridTableCollection.cs
- AlternationConverter.cs
- NamespaceCollection.cs
- WebPartTransformerAttribute.cs
- EntityAdapter.cs
- Stylesheet.cs
- Messages.cs
- IisTraceWebEventProvider.cs
- FileFormatException.cs
- Currency.cs
- IPEndPointCollection.cs
- SQLInt16Storage.cs
- NonBatchDirectoryCompiler.cs
- ValidationSummary.cs
- CodeDirectiveCollection.cs
- PagesSection.cs
- DnsElement.cs
- ManagedIStream.cs
- XmlMemberMapping.cs
- SafeTimerHandle.cs
- Fault.cs
- XamlSerializer.cs
- TreeWalker.cs
- ProjectionPruner.cs
- BitmapPalettes.cs
- XPathSingletonIterator.cs
- ObjectListCommand.cs
- TextSyndicationContent.cs
- XmlSiteMapProvider.cs
- ProcessModuleCollection.cs
- BamlReader.cs
- FamilyCollection.cs
- FixedStringLookup.cs
- DataRowExtensions.cs
- OdbcConnectionString.cs
- Process.cs
- SqlUserDefinedAggregateAttribute.cs
- AssertFilter.cs
- ObjectQueryProvider.cs
- NamedPermissionSet.cs