Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINTF.cs / 2 / GPPOINTF.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 GPPOINTF { internal float X; internal float Y; internal GPPOINTF() { } internal GPPOINTF(PointF pt) { X = pt.X; Y = pt.Y; } internal GPPOINTF(Point pt) { X = (float) pt.X; Y = (float) 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 GPPOINTF { internal float X; internal float Y; internal GPPOINTF() { } internal GPPOINTF(PointF pt) { X = pt.X; Y = pt.Y; } internal GPPOINTF(Point pt) { X = (float) pt.X; Y = (float) 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
- NotifyInputEventArgs.cs
- ObjectTokenCategory.cs
- RenderData.cs
- X509CertificateInitiatorClientCredential.cs
- ResourceReferenceKeyNotFoundException.cs
- UriWriter.cs
- TableCell.cs
- _NtlmClient.cs
- ToolStripItemClickedEventArgs.cs
- ActivityDesignerLayoutSerializers.cs
- NonPrimarySelectionGlyph.cs
- OrderPreservingPipeliningMergeHelper.cs
- LineServicesCallbacks.cs
- InkPresenterAutomationPeer.cs
- DrawingState.cs
- XmlUtilWriter.cs
- Cell.cs
- CompilerScopeManager.cs
- HostedTransportConfigurationManager.cs
- GeneralTransform3DGroup.cs
- ConstantSlot.cs
- GridItemCollection.cs
- GeneralTransformGroup.cs
- LinkArea.cs
- Attributes.cs
- EntityUtil.cs
- DesignerActionPanel.cs
- PinnedBufferMemoryStream.cs
- TypeConverterAttribute.cs
- GridViewEditEventArgs.cs
- EntityType.cs
- ReplyChannelAcceptor.cs
- Command.cs
- ServiceDescriptionContext.cs
- WriterOutput.cs
- TablePatternIdentifiers.cs
- EdmPropertyAttribute.cs
- PrinterSettings.cs
- DocumentSchemaValidator.cs
- SafeRightsManagementHandle.cs
- TablePattern.cs
- RadioButton.cs
- GroupBox.cs
- CheckoutException.cs
- SchemaTableOptionalColumn.cs
- CodeExporter.cs
- ConfigPathUtility.cs
- ProgressPage.cs
- FormatConvertedBitmap.cs
- HttpRuntimeSection.cs
- WebPartExportVerb.cs
- SafeBuffer.cs
- RtfControls.cs
- ProjectionAnalyzer.cs
- IntPtr.cs
- ExpressionConverter.cs
- IgnoreSectionHandler.cs
- SuppressMergeCheckAttribute.cs
- DataMemberConverter.cs
- EpmContentSerializerBase.cs
- NotImplementedException.cs
- StylusPointPropertyUnit.cs
- DrawingContextWalker.cs
- ConditionalBranch.cs
- DataGridViewRow.cs
- DefaultTypeArgumentAttribute.cs
- XmlElementCollection.cs
- ControlBuilderAttribute.cs
- FormatException.cs
- BaseCAMarshaler.cs
- CollectionsUtil.cs
- ProvidersHelper.cs
- ToolstripProfessionalRenderer.cs
- StickyNoteContentControl.cs
- SpecialFolderEnumConverter.cs
- SendActivityValidator.cs
- DataSysAttribute.cs
- oledbmetadatacolumnnames.cs
- ThumbButtonInfo.cs
- SpecialNameAttribute.cs
- OleCmdHelper.cs
- ReachPageContentCollectionSerializerAsync.cs
- WindowAutomationPeer.cs
- RewritingProcessor.cs
- HttpCachePolicyElement.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- GenerateTemporaryTargetAssembly.cs
- XmlArrayAttribute.cs
- SqlClientPermission.cs
- SolidBrush.cs
- Converter.cs
- SafeThreadHandle.cs
- SplineQuaternionKeyFrame.cs
- EncryptedData.cs
- SqlBulkCopy.cs
- SecurityTokenParametersEnumerable.cs
- StretchValidation.cs
- Primitive.cs
- AtomicFile.cs
- ProfileGroupSettings.cs