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
- XPathMultyIterator.cs
- ResourceAttributes.cs
- peernodestatemanager.cs
- ConfigXmlText.cs
- Control.cs
- HttpCachePolicyElement.cs
- SwitchCase.cs
- EmbeddedObject.cs
- Section.cs
- RoleGroup.cs
- FacetChecker.cs
- WindowsSysHeader.cs
- WebPartDisplayModeCollection.cs
- DataServiceQueryException.cs
- SymmetricAlgorithm.cs
- TextSelectionHelper.cs
- SoapTypeAttribute.cs
- CodeSnippetCompileUnit.cs
- QilInvoke.cs
- PointCollectionValueSerializer.cs
- ITextView.cs
- ClientCultureInfo.cs
- CalendarModeChangedEventArgs.cs
- RC2CryptoServiceProvider.cs
- DataGridViewCellCancelEventArgs.cs
- Misc.cs
- Base64Encoder.cs
- Vector3D.cs
- GridViewRowCollection.cs
- StrongTypingException.cs
- ThaiBuddhistCalendar.cs
- Int32CAMarshaler.cs
- UriTemplateTableMatchCandidate.cs
- TagElement.cs
- X509Utils.cs
- TypeLoadException.cs
- BuildProvider.cs
- XPathScanner.cs
- WindowsTokenRoleProvider.cs
- FocusWithinProperty.cs
- GlyphsSerializer.cs
- SafeEventLogWriteHandle.cs
- DbUpdateCommandTree.cs
- PageFunction.cs
- CellTreeNodeVisitors.cs
- IntegerValidator.cs
- Utils.cs
- ComNativeDescriptor.cs
- XmlEncoding.cs
- HashSet.cs
- WindowsSlider.cs
- EmptyQuery.cs
- EncodingTable.cs
- InheritanceRules.cs
- OpenTypeLayoutCache.cs
- DataGridViewCellLinkedList.cs
- TypeInitializationException.cs
- CodeAttributeDeclaration.cs
- InfiniteIntConverter.cs
- XNameTypeConverter.cs
- XmlSchemaImporter.cs
- _SslStream.cs
- SafePipeHandle.cs
- FamilyTypefaceCollection.cs
- FontCollection.cs
- DeclaredTypeValidator.cs
- ButtonChrome.cs
- FamilyMap.cs
- Evidence.cs
- LoginNameDesigner.cs
- AnnotationComponentChooser.cs
- PropertyConverter.cs
- TextChange.cs
- As.cs
- ObjectPropertyMapping.cs
- HtmlElement.cs
- CodeDefaultValueExpression.cs
- XPathNodeIterator.cs
- SourceElementsCollection.cs
- Padding.cs
- ObjectDataSourceDesigner.cs
- StandardCommands.cs
- BasePattern.cs
- DriveNotFoundException.cs
- DataSet.cs
- LastQueryOperator.cs
- CompleteWizardStep.cs
- StrokeNodeEnumerator.cs
- ToolStripProgressBar.cs
- TypeDescriptionProvider.cs
- ResourceKey.cs
- DCSafeHandle.cs
- RecipientServiceModelSecurityTokenRequirement.cs
- MailAddress.cs
- SerializationAttributes.cs
- XXXInfos.cs
- XamlSerializer.cs
- ForEachDesigner.xaml.cs
- AttachInfo.cs
- ReachSerializableProperties.cs