Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINTF.cs / 1 / GPPOINTF.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /*************************************************************************\ * * Copyright (c) 1998-1999, Microsoft Corp. All Rights Reserved. * * Module Name: * * GPPOINTF.cpp * * Abstract: * * Native GDI+ floating-point 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 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodePageEncoding.cs
- MemberRelationshipService.cs
- WebUtil.cs
- SpStreamWrapper.cs
- URLString.cs
- OleDbConnection.cs
- DiagnosticsConfigurationHandler.cs
- ActivityXamlServices.cs
- FrameworkRichTextComposition.cs
- TimersDescriptionAttribute.cs
- EasingQuaternionKeyFrame.cs
- Renderer.cs
- EastAsianLunisolarCalendar.cs
- GB18030Encoding.cs
- ManipulationDeltaEventArgs.cs
- SecurityContext.cs
- SqlMethodCallConverter.cs
- SoapBinding.cs
- EFTableProvider.cs
- SoapAttributeAttribute.cs
- DataGridViewCellCollection.cs
- oledbmetadatacollectionnames.cs
- AutomationInteropProvider.cs
- Knowncolors.cs
- GeneralTransform2DTo3DTo2D.cs
- InstanceNotFoundException.cs
- ACE.cs
- PropertyChangedEventManager.cs
- StringValidatorAttribute.cs
- ImageField.cs
- SectionInformation.cs
- StrokeNodeOperations2.cs
- WebPermission.cs
- cookiecontainer.cs
- XpsViewerException.cs
- ComPlusServiceLoader.cs
- DropSource.cs
- VariableExpressionConverter.cs
- Utils.cs
- Journal.cs
- XmlSchemaGroupRef.cs
- AsnEncodedData.cs
- SessionStateModule.cs
- RemotingAttributes.cs
- Clock.cs
- DataTemplate.cs
- AnnotationStore.cs
- ConfigUtil.cs
- ImageConverter.cs
- NominalTypeEliminator.cs
- SiteMapDataSourceView.cs
- XmlSignificantWhitespace.cs
- GeneralTransform2DTo3D.cs
- WorkflowRuntimeElement.cs
- HitTestWithPointDrawingContextWalker.cs
- DbConnectionPoolGroup.cs
- WebPartMenuStyle.cs
- UnsignedPublishLicense.cs
- WindowsRichEdit.cs
- RangeContentEnumerator.cs
- FontStyleConverter.cs
- TypedElement.cs
- BaseConfigurationRecord.cs
- InfoCardSymmetricCrypto.cs
- _DomainName.cs
- ConfigurationPropertyCollection.cs
- TableLayout.cs
- AnimatedTypeHelpers.cs
- XmlSchemaProviderAttribute.cs
- TagNameToTypeMapper.cs
- PropertyPushdownHelper.cs
- LocatorBase.cs
- FilteredDataSetHelper.cs
- WindowsAltTab.cs
- DbParameterCollectionHelper.cs
- XmlSignificantWhitespace.cs
- PageSettings.cs
- ManipulationLogic.cs
- WinFormsComponentEditor.cs
- WindowsImpersonationContext.cs
- Brush.cs
- ThemeDictionaryExtension.cs
- PolicyManager.cs
- AvTraceFormat.cs
- WebPartTracker.cs
- XmlTextReaderImplHelpers.cs
- ChtmlTextBoxAdapter.cs
- CharEnumerator.cs
- HttpInputStream.cs
- SafeFileMappingHandle.cs
- TileBrush.cs
- GridEntryCollection.cs
- FileStream.cs
- StringReader.cs
- InternalReceiveMessage.cs
- OpenTypeLayoutCache.cs
- DataSourceProvider.cs
- SerialErrors.cs
- ManipulationDelta.cs
- PackageDigitalSignature.cs