Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINT.cs / 1 / GPPOINT.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * GPPOINT.cs * * Abstract: * * Native GDI+ integer coordinate point structure. * * Revision History: * * 12/14/1998 davidx * Created it. * \**************************************************************************/ 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ListSortDescriptionCollection.cs
- NamespaceEmitter.cs
- ResXBuildProvider.cs
- CompiledRegexRunnerFactory.cs
- ToolboxBitmapAttribute.cs
- WebColorConverter.cs
- DataSourceControlBuilder.cs
- DbConnectionHelper.cs
- HttpPostServerProtocol.cs
- SkewTransform.cs
- XamlReaderConstants.cs
- SetIndexBinder.cs
- BuildProviderCollection.cs
- UserControl.cs
- IndentTextWriter.cs
- TreeView.cs
- ThreadAbortException.cs
- NullableConverter.cs
- TrackingStringDictionary.cs
- InvalidPropValue.cs
- LoadItemsEventArgs.cs
- ContentTextAutomationPeer.cs
- ProtocolsConfiguration.cs
- ControlBindingsConverter.cs
- AmbiguousMatchException.cs
- BindingBase.cs
- MessageSmuggler.cs
- TemplateXamlTreeBuilder.cs
- SafeMILHandle.cs
- WebEventCodes.cs
- Profiler.cs
- Cast.cs
- SemanticAnalyzer.cs
- DataReceivedEventArgs.cs
- Attributes.cs
- TabItemAutomationPeer.cs
- BaseCollection.cs
- AdapterDictionary.cs
- Formatter.cs
- PageContentCollection.cs
- Sorting.cs
- KerberosTicketHashIdentifierClause.cs
- OSFeature.cs
- TreeNode.cs
- PersistenceMetadataNamespace.cs
- DispatcherObject.cs
- DataObjectFieldAttribute.cs
- StateItem.cs
- TextContainerChangeEventArgs.cs
- XmlEntityReference.cs
- ValidationErrorInfo.cs
- HeaderPanel.cs
- CursorConverter.cs
- ReachPrintTicketSerializer.cs
- WizardPanelChangingEventArgs.cs
- CodeDOMProvider.cs
- SchemaNamespaceManager.cs
- OleDbFactory.cs
- ComponentResourceKeyConverter.cs
- CustomErrorCollection.cs
- XNameConverter.cs
- XmlWellformedWriterHelpers.cs
- SQLMoneyStorage.cs
- ServiceObjectContainer.cs
- QilUnary.cs
- BounceEase.cs
- UrlMappingsSection.cs
- RemoteWebConfigurationHostStream.cs
- EntityTransaction.cs
- DbProviderConfigurationHandler.cs
- ByeMessage11.cs
- DbConnectionPoolIdentity.cs
- sqlmetadatafactory.cs
- EmptyEnumerator.cs
- PassportAuthentication.cs
- Brushes.cs
- GridPatternIdentifiers.cs
- MouseWheelEventArgs.cs
- PackagingUtilities.cs
- Internal.cs
- SoapDocumentMethodAttribute.cs
- DesignerGenericWebPart.cs
- X509CertificateClaimSet.cs
- TableItemPattern.cs
- UserUseLicenseDictionaryLoader.cs
- Utility.cs
- SimpleHandlerBuildProvider.cs
- RegexWriter.cs
- TextEditorCopyPaste.cs
- XmlLanguage.cs
- BasePropertyDescriptor.cs
- TraceUtility.cs
- HeaderedContentControl.cs
- XPathChildIterator.cs
- Msec.cs
- WarningException.cs
- HttpResponse.cs
- TabPanel.cs
- TreeNodeCollection.cs
- BulletedList.cs