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
- recordstatescratchpad.cs
- TabControl.cs
- WizardPanel.cs
- SamlAuthorizationDecisionClaimResource.cs
- VectorKeyFrameCollection.cs
- SafeRegistryKey.cs
- EventLog.cs
- HwndHost.cs
- EastAsianLunisolarCalendar.cs
- SqlDelegatedTransaction.cs
- RelationshipFixer.cs
- SuppressIldasmAttribute.cs
- XmlSchemaComplexType.cs
- SqlDependency.cs
- ExpressionsCollectionEditor.cs
- SecurityToken.cs
- Matrix3DConverter.cs
- ActivationService.cs
- PartialClassGenerationTaskInternal.cs
- XmlSerializerVersionAttribute.cs
- WeakKeyDictionary.cs
- UrlAuthFailedErrorFormatter.cs
- SubMenuStyleCollection.cs
- SynchronizationScope.cs
- WebSysDescriptionAttribute.cs
- NativeStructs.cs
- XPathException.cs
- BitmapScalingModeValidation.cs
- MatrixTransform.cs
- ClassicBorderDecorator.cs
- DependencyPropertyAttribute.cs
- PrintDocument.cs
- ContentValidator.cs
- DurableInstance.cs
- Baml2006ReaderSettings.cs
- DataGridViewTopLeftHeaderCell.cs
- Attributes.cs
- ProtocolReflector.cs
- XmlILModule.cs
- GenericAuthenticationEventArgs.cs
- TextRangeBase.cs
- BStrWrapper.cs
- URLBuilder.cs
- SqlPersonalizationProvider.cs
- Light.cs
- MetaTableHelper.cs
- MarkupExtensionParser.cs
- WindowsScroll.cs
- ToggleButton.cs
- SqlNodeAnnotation.cs
- ObjectSecurityT.cs
- TableParagraph.cs
- DataGridCellsPanel.cs
- ActivityCodeDomSerializer.cs
- XmlTypeMapping.cs
- KnownColorTable.cs
- Boolean.cs
- SubpageParagraph.cs
- DefaultBinder.cs
- HTTPNotFoundHandler.cs
- RegexEditorDialog.cs
- CommandEventArgs.cs
- UseManagedPresentationBindingElementImporter.cs
- WindowExtensionMethods.cs
- DeferrableContentConverter.cs
- PassportAuthenticationEventArgs.cs
- WebConfigurationHost.cs
- ChameleonKey.cs
- OlePropertyStructs.cs
- DeviceSpecificChoice.cs
- ByteBufferPool.cs
- SHA256Managed.cs
- HandleCollector.cs
- _TimerThread.cs
- SuppressIldasmAttribute.cs
- documentation.cs
- Attributes.cs
- SmtpDigestAuthenticationModule.cs
- Zone.cs
- EditorPartChrome.cs
- CompiledRegexRunner.cs
- InertiaRotationBehavior.cs
- SoapEnumAttribute.cs
- DbConnectionPoolGroup.cs
- TextOnlyOutput.cs
- XmlBinaryReader.cs
- DesignerCategoryAttribute.cs
- XamlStream.cs
- PreviewPageInfo.cs
- SettingsBase.cs
- DataControlField.cs
- SoapConverter.cs
- CqlGenerator.cs
- TextBlockAutomationPeer.cs
- ClientBuildManager.cs
- DataBoundControl.cs
- HtmlInputReset.cs
- BeginStoryboard.cs
- SqlTriggerContext.cs
- ISAPIWorkerRequest.cs