Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINT.cs / 2 / 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
- XmlNamedNodeMap.cs
- ConsumerConnectionPoint.cs
- Vector3DKeyFrameCollection.cs
- UnsafeNativeMethods.cs
- Error.cs
- IgnoreDataMemberAttribute.cs
- SafeThemeHandle.cs
- GeneratedContractType.cs
- ContentDisposition.cs
- StaticFileHandler.cs
- MenuItemStyleCollection.cs
- VerificationAttribute.cs
- FontStyles.cs
- ReachVisualSerializer.cs
- HitTestParameters3D.cs
- DesignerProperties.cs
- DataGridAddNewRow.cs
- XmlDataSource.cs
- VirtualPathProvider.cs
- CodeArgumentReferenceExpression.cs
- Point4D.cs
- ClassGenerator.cs
- SocketCache.cs
- UInt32Converter.cs
- OleDbWrapper.cs
- DbSourceCommand.cs
- DataListCommandEventArgs.cs
- QueryContinueDragEvent.cs
- DataTableMappingCollection.cs
- FieldToken.cs
- SystemInfo.cs
- CodeCommentStatementCollection.cs
- NegationPusher.cs
- ReferencedAssemblyResolver.cs
- WebPartDescriptionCollection.cs
- SecurityUtils.cs
- RegexReplacement.cs
- CreatingCookieEventArgs.cs
- RemoteX509Token.cs
- PrintDocument.cs
- formatstringdialog.cs
- IntSecurity.cs
- ContractHandle.cs
- NavigationExpr.cs
- ToolStripPanelRow.cs
- TagPrefixAttribute.cs
- RsaKeyGen.cs
- Rotation3DKeyFrameCollection.cs
- SchemaElementDecl.cs
- StrongName.cs
- DesignSurfaceManager.cs
- AlternateView.cs
- __Error.cs
- _SingleItemRequestCache.cs
- AssemblyCache.cs
- EventWaitHandleSecurity.cs
- RangeValuePatternIdentifiers.cs
- DependentList.cs
- IPAddressCollection.cs
- CaseExpr.cs
- CollaborationHelperFunctions.cs
- ToolStripProgressBar.cs
- CodeTypeConstructor.cs
- CustomPeerResolverService.cs
- ToolStripRendererSwitcher.cs
- PostBackOptions.cs
- HostExecutionContextManager.cs
- ComplexLine.cs
- ZoneButton.cs
- ObsoleteAttribute.cs
- ConfigXmlSignificantWhitespace.cs
- HighlightComponent.cs
- SessionStateContainer.cs
- SerializationSectionGroup.cs
- WebPartConnection.cs
- AssociationEndMember.cs
- LinkAreaEditor.cs
- IOException.cs
- XmlAttribute.cs
- RelatedView.cs
- dbdatarecord.cs
- ImageConverter.cs
- DbParameterHelper.cs
- SSmlParser.cs
- PathSegment.cs
- StorageEntitySetMapping.cs
- TemplateApplicationHelper.cs
- _LocalDataStore.cs
- XmlUrlResolver.cs
- WindowsScrollBarBits.cs
- CacheSection.cs
- CodeConstructor.cs
- RoleBoolean.cs
- ThicknessAnimation.cs
- CustomAttributeBuilder.cs
- ReaderOutput.cs
- CodeBlockBuilder.cs
- LogWriteRestartAreaAsyncResult.cs
- FocusManager.cs
- XmlIlGenerator.cs