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
- BinaryReader.cs
- DataGridViewRowCancelEventArgs.cs
- FixedSOMImage.cs
- DocumentApplicationJournalEntry.cs
- WebEvents.cs
- OrderedDictionaryStateHelper.cs
- XmlSchemaExporter.cs
- DataGridColumn.cs
- StateDesigner.cs
- SymbolEqualComparer.cs
- BuildProviderCollection.cs
- FirstMatchCodeGroup.cs
- SerTrace.cs
- FontStretches.cs
- DefaultSettingsSection.cs
- DecimalConstantAttribute.cs
- ChannelServices.cs
- ToolStripSeparatorRenderEventArgs.cs
- DataSetSchema.cs
- DriveInfo.cs
- PagesChangedEventArgs.cs
- Visual3D.cs
- TriggerCollection.cs
- LabelEditEvent.cs
- Menu.cs
- AutomationElementIdentifiers.cs
- HMACSHA384.cs
- OracleColumn.cs
- SiteMapNodeItemEventArgs.cs
- TableHeaderCell.cs
- CurrentChangingEventManager.cs
- ProxyAttribute.cs
- EntityParameter.cs
- ListenerElementsCollection.cs
- GPStream.cs
- Process.cs
- DbParameterHelper.cs
- NumberFormatter.cs
- ExtendedPropertyDescriptor.cs
- TemplatePagerField.cs
- XmlObjectSerializerWriteContextComplex.cs
- WebPartConnectionCollection.cs
- ServiceParser.cs
- OdbcHandle.cs
- UniqueEventHelper.cs
- LinkedResource.cs
- RadioButtonRenderer.cs
- PipeSecurity.cs
- XmlCustomFormatter.cs
- MiniAssembly.cs
- ResourceProviderFactory.cs
- EmptyImpersonationContext.cs
- DataMemberAttribute.cs
- DataGridRelationshipRow.cs
- TextElementAutomationPeer.cs
- SimpleMailWebEventProvider.cs
- PersonalizationProviderCollection.cs
- Blend.cs
- PartitionerStatic.cs
- WindowsListViewScroll.cs
- Environment.cs
- ReadOnlyTernaryTree.cs
- ExtendedProperty.cs
- MediaTimeline.cs
- DataTableReaderListener.cs
- Matrix.cs
- TableLayout.cs
- Int32CollectionConverter.cs
- SortedDictionary.cs
- WebAdminConfigurationHelper.cs
- XmlSignificantWhitespace.cs
- HttpClientChannel.cs
- OperandQuery.cs
- CodeEventReferenceExpression.cs
- OptimizedTemplateContentHelper.cs
- _ProxyChain.cs
- DocumentXPathNavigator.cs
- ChannelManager.cs
- DocumentPageTextView.cs
- Baml2006ReaderContext.cs
- ParsedRoute.cs
- QilInvoke.cs
- SqlUdtInfo.cs
- DateTimeConverter.cs
- ActivationServices.cs
- Compilation.cs
- ClientRoleProvider.cs
- ObjectComplexPropertyMapping.cs
- KnownTypesProvider.cs
- HtmlAnchor.cs
- ClusterRegistryConfigurationProvider.cs
- AbstractSvcMapFileLoader.cs
- TimestampInformation.cs
- IssuedTokenClientBehaviorsElementCollection.cs
- ConfigXmlCDataSection.cs
- OrderByQueryOptionExpression.cs
- EntityDataSourceEntitySetNameItem.cs
- DictionaryMarkupSerializer.cs
- ObjectFullSpanRewriter.cs
- RemoteEndpointMessageProperty.cs