Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINTF.cs / 1 / 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
- Win32Exception.cs
- HMACRIPEMD160.cs
- DropShadowBitmapEffect.cs
- WsiProfilesElementCollection.cs
- AppSettingsExpressionBuilder.cs
- CellRelation.cs
- SQLSingleStorage.cs
- UserControlFileEditor.cs
- WindowsGraphicsCacheManager.cs
- Operand.cs
- RegexCompilationInfo.cs
- CacheHelper.cs
- DBConcurrencyException.cs
- safemediahandle.cs
- ObjectViewListener.cs
- IssuanceLicense.cs
- ArrayElementGridEntry.cs
- UseAttributeSetsAction.cs
- PersonalizationStateQuery.cs
- X509ChainPolicy.cs
- FixedFindEngine.cs
- MSHTMLHost.cs
- IsolatedStoragePermission.cs
- MetabaseReader.cs
- AppDomainResourcePerfCounters.cs
- XmlSequenceWriter.cs
- DataServiceConfiguration.cs
- CqlParser.cs
- NativeMethods.cs
- DataGridViewLinkColumn.cs
- DebuggerAttributes.cs
- DataGridViewToolTip.cs
- ReadOnlyDataSourceView.cs
- DataGridViewCell.cs
- Point3DIndependentAnimationStorage.cs
- _TransmitFileOverlappedAsyncResult.cs
- xmlsaver.cs
- MouseWheelEventArgs.cs
- PrimitiveDataContract.cs
- XmlSchemaComplexContentExtension.cs
- XmlSerializerNamespaces.cs
- ElementHostPropertyMap.cs
- DataGridViewIntLinkedList.cs
- XmlValidatingReader.cs
- CodeTryCatchFinallyStatement.cs
- DataServiceQueryException.cs
- ExpressionBuilder.cs
- FlowDecision.cs
- PropertyGroupDescription.cs
- CubicEase.cs
- StateDesigner.TransitionInfo.cs
- SqlParameter.cs
- DesignerSerializationOptionsAttribute.cs
- TdsEnums.cs
- BamlCollectionHolder.cs
- Regex.cs
- ProjectionCamera.cs
- SplineKeyFrames.cs
- BindingNavigator.cs
- XmlSignatureManifest.cs
- BuildDependencySet.cs
- SemanticAnalyzer.cs
- ScrollBar.cs
- GroupStyle.cs
- MSAAEventDispatcher.cs
- WindowsTokenRoleProvider.cs
- ModifierKeysConverter.cs
- SqlFunctions.cs
- GlobalId.cs
- CellIdBoolean.cs
- MarkupExtensionParser.cs
- CodeNamespace.cs
- EdmError.cs
- VisualTreeUtils.cs
- _FixedSizeReader.cs
- ApplicationFileParser.cs
- figurelengthconverter.cs
- DoubleLinkListEnumerator.cs
- ScrollProperties.cs
- HtmlLink.cs
- StrongNamePublicKeyBlob.cs
- RecommendedAsConfigurableAttribute.cs
- XmlReader.cs
- File.cs
- ObjectTokenCategory.cs
- SymbolType.cs
- UserControlDesigner.cs
- ThicknessConverter.cs
- ArithmeticException.cs
- HitTestResult.cs
- SQLDouble.cs
- ServicePointManager.cs
- SymDocumentType.cs
- ProviderIncompatibleException.cs
- XmlExpressionDumper.cs
- HierarchicalDataBoundControlAdapter.cs
- DebugInfoExpression.cs
- Timer.cs
- DebuggerAttributes.cs
- NullableDoubleMinMaxAggregationOperator.cs