Code:
/ FX-1434 / FX-1434 / 1.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
- TypeElement.cs
- ImageMap.cs
- XpsFilter.cs
- QilIterator.cs
- ViewStateException.cs
- FileDialogPermission.cs
- HandleExceptionArgs.cs
- HttpPostServerProtocol.cs
- XmlNullResolver.cs
- ImageConverter.cs
- QilFactory.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- PresentationSource.cs
- Profiler.cs
- TypedAsyncResult.cs
- BaseAppDomainProtocolHandler.cs
- TableParagraph.cs
- SecureConversationDriver.cs
- ThicknessConverter.cs
- WebFormDesignerActionService.cs
- MembershipSection.cs
- AnimationStorage.cs
- MethodResolver.cs
- OneWayChannelListener.cs
- PerfCounterSection.cs
- filewebrequest.cs
- EventLog.cs
- StateRuntime.cs
- _RequestCacheProtocol.cs
- SqlFlattener.cs
- SystemIPInterfaceProperties.cs
- DataGridViewRowPrePaintEventArgs.cs
- ModelItemDictionary.cs
- OraclePermissionAttribute.cs
- PageParser.cs
- HashAlgorithm.cs
- DeviceContexts.cs
- MultiView.cs
- XmlSchemaType.cs
- ValuePatternIdentifiers.cs
- FormClosedEvent.cs
- TextSearch.cs
- QueryNode.cs
- EncoderExceptionFallback.cs
- CommandField.cs
- HybridDictionary.cs
- serverconfig.cs
- TrustManager.cs
- SqlConnection.cs
- EditorZoneBase.cs
- SafeMILHandle.cs
- SqlClientFactory.cs
- PingOptions.cs
- LocalBuilder.cs
- TextHintingModeValidation.cs
- HiddenField.cs
- TableLayoutCellPaintEventArgs.cs
- StylusPointPropertyId.cs
- cryptoapiTransform.cs
- ChangePassword.cs
- ButtonRenderer.cs
- MarkupExtensionReturnTypeAttribute.cs
- EntitySetRetriever.cs
- SrgsRulesCollection.cs
- CopyCodeAction.cs
- StickyNoteContentControl.cs
- XamlHostingSection.cs
- BuildProvider.cs
- ChangeInterceptorAttribute.cs
- PluralizationServiceUtil.cs
- LayoutTable.cs
- TrustLevelCollection.cs
- RequestCache.cs
- Deserializer.cs
- AuthenticationSection.cs
- WebDisplayNameAttribute.cs
- PipelineModuleStepContainer.cs
- DataRowView.cs
- CapabilitiesRule.cs
- TypeConverterHelper.cs
- MissingManifestResourceException.cs
- TrackingMemoryStreamFactory.cs
- CombinedGeometry.cs
- FlowDocumentReader.cs
- Baml2006Reader.cs
- Canonicalizers.cs
- ViewLoader.cs
- MenuScrollingVisibilityConverter.cs
- HtmlInputSubmit.cs
- EncoderReplacementFallback.cs
- ConfigsHelper.cs
- InvalidCastException.cs
- EdmConstants.cs
- SHA512Managed.cs
- OrderByBuilder.cs
- TaskFormBase.cs
- BrowserCapabilitiesFactory.cs
- GenericPrincipal.cs
- HtmlTableRowCollection.cs
- HtmlToClrEventProxy.cs