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
- XmlDataProvider.cs
- DataGridColumnCollection.cs
- DecimalStorage.cs
- MSAAEventDispatcher.cs
- TextTreeInsertElementUndoUnit.cs
- PropertyCollection.cs
- ChtmlPhoneCallAdapter.cs
- HttpContextServiceHost.cs
- SequenceDesigner.cs
- WindowsGraphics2.cs
- IUnknownConstantAttribute.cs
- TextChange.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- GetFileNameResult.cs
- CssStyleCollection.cs
- TextComposition.cs
- AuthenticationConfig.cs
- XmlKeywords.cs
- NullableLongSumAggregationOperator.cs
- IsolatedStorageFilePermission.cs
- Panel.cs
- VirtualPathExtension.cs
- DataGridViewToolTip.cs
- LeaseManager.cs
- MouseActionConverter.cs
- ComponentConverter.cs
- JoinCqlBlock.cs
- ProgressPage.cs
- TreeViewCancelEvent.cs
- BitmapSourceSafeMILHandle.cs
- HitTestWithPointDrawingContextWalker.cs
- ChannelServices.cs
- TransportBindingElementImporter.cs
- Single.cs
- MaskedTextProvider.cs
- IChannel.cs
- EntityWithKeyStrategy.cs
- XMLUtil.cs
- SqlAliasesReferenced.cs
- safex509handles.cs
- DbProviderFactory.cs
- CallbackHandler.cs
- FaultDesigner.cs
- VideoDrawing.cs
- WinInet.cs
- XmlReflectionImporter.cs
- SystemDropShadowChrome.cs
- _SpnDictionary.cs
- DataGridViewSelectedCellCollection.cs
- SpinLock.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- SHA384Managed.cs
- CapabilitiesRule.cs
- TrustLevel.cs
- DataPointer.cs
- ProjectionCamera.cs
- GroupBoxRenderer.cs
- CultureMapper.cs
- RepeatButton.cs
- ErrorEventArgs.cs
- ColorAnimationBase.cs
- FormViewUpdatedEventArgs.cs
- CompilerParameters.cs
- Rules.cs
- _ShellExpression.cs
- WebPartZoneCollection.cs
- RepeatBehavior.cs
- SerTrace.cs
- RowToFieldTransformer.cs
- TextTreeRootTextBlock.cs
- WebPartCloseVerb.cs
- OciHandle.cs
- Stylesheet.cs
- AutoGeneratedField.cs
- XmlElementAttribute.cs
- Duration.cs
- DesignerDataColumn.cs
- Graphics.cs
- AutomationEvent.cs
- DataTransferEventArgs.cs
- RSACryptoServiceProvider.cs
- DataRowView.cs
- TagNameToTypeMapper.cs
- Decoder.cs
- CommandHelper.cs
- BindingMemberInfo.cs
- ColorDialog.cs
- ThreadPool.cs
- List.cs
- SwitchAttribute.cs
- ClientScriptManagerWrapper.cs
- BaseCodeDomTreeGenerator.cs
- DataGridViewButtonCell.cs
- EditingMode.cs
- GenericAuthenticationEventArgs.cs
- StateManagedCollection.cs
- RectangleConverter.cs
- Model3D.cs
- CfgSemanticTag.cs
- ClientSideProviderDescription.cs