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
- PerspectiveCamera.cs
- OverflowException.cs
- InputProcessorProfiles.cs
- IListConverters.cs
- Select.cs
- DNS.cs
- ObjectSerializerFactory.cs
- ResourceReferenceKeyNotFoundException.cs
- DatagridviewDisplayedBandsData.cs
- Calendar.cs
- XmlWriterSettings.cs
- ColorMatrix.cs
- AxHost.cs
- LookupBindingPropertiesAttribute.cs
- RoutingUtilities.cs
- cookiecontainer.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- WebResourceAttribute.cs
- ManagementInstaller.cs
- AttributeEmitter.cs
- FastPropertyAccessor.cs
- DataObjectAttribute.cs
- DoubleAnimationBase.cs
- DataGridViewButtonColumn.cs
- XmlSchemaDocumentation.cs
- ImageCreator.cs
- ProfileService.cs
- Clipboard.cs
- LocationEnvironment.cs
- LayoutInformation.cs
- QuadraticEase.cs
- SparseMemoryStream.cs
- NamespaceList.cs
- RelationalExpressions.cs
- DataSourceControlBuilder.cs
- MemoryFailPoint.cs
- RelationshipFixer.cs
- ScopedMessagePartSpecification.cs
- BackgroundFormatInfo.cs
- SiteMapNodeCollection.cs
- ErrorWebPart.cs
- HtmlTernaryTree.cs
- BrowserDefinitionCollection.cs
- DescendantBaseQuery.cs
- RelationshipSet.cs
- cookieexception.cs
- SemanticResultValue.cs
- DataGridViewCellStyle.cs
- Substitution.cs
- XmlNavigatorFilter.cs
- PropertyItemInternal.cs
- Stacktrace.cs
- NotificationContext.cs
- dbdatarecord.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- Constants.cs
- PersonalizationStateInfo.cs
- XmlSchemaSimpleType.cs
- ComponentResourceKey.cs
- XmlSchemaObject.cs
- SerializationHelper.cs
- ScaleTransform.cs
- FileVersionInfo.cs
- ControlCachePolicy.cs
- WindowsImpersonationContext.cs
- RefType.cs
- shaperfactoryquerycachekey.cs
- HelloOperationAsyncResult.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- FormViewPagerRow.cs
- PathParser.cs
- AttributeQuery.cs
- PolyLineSegmentFigureLogic.cs
- securitycriticaldataClass.cs
- ToolStripControlHost.cs
- WSFederationHttpBindingCollectionElement.cs
- RelationshipConverter.cs
- Section.cs
- SecureEnvironment.cs
- ComPlusContractBehavior.cs
- JpegBitmapDecoder.cs
- TextParaLineResult.cs
- StreamResourceInfo.cs
- Color.cs
- BamlTreeMap.cs
- ListBoxAutomationPeer.cs
- ToolStripLocationCancelEventArgs.cs
- ImmutableClientRuntime.cs
- LocationFactory.cs
- PlanCompilerUtil.cs
- ProcessInputEventArgs.cs
- MsmqIntegrationSecurityMode.cs
- TitleStyle.cs
- Comparer.cs
- BindingManagerDataErrorEventArgs.cs
- PageSettings.cs
- XmlNamespaceManager.cs
- MouseGestureConverter.cs
- CalculatedColumn.cs
- XComponentModel.cs