Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPPOINTF.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ClaimSet.cs
- OrthographicCamera.cs
- TemplateInstanceAttribute.cs
- Transform.cs
- StyleBamlRecordReader.cs
- SecurityKeyEntropyMode.cs
- QuestionEventArgs.cs
- ToolStripContainer.cs
- TimeSpanMinutesConverter.cs
- TextTreeInsertUndoUnit.cs
- XmlSchemaInfo.cs
- XPathNodePointer.cs
- LogReserveAndAppendState.cs
- SmiContextFactory.cs
- EdmValidator.cs
- UIElementCollection.cs
- ExpressionPrinter.cs
- BamlLocalizationDictionary.cs
- ToolStripContentPanelRenderEventArgs.cs
- Thread.cs
- MatrixUtil.cs
- DataGridViewColumnCollection.cs
- RelationshipFixer.cs
- DirectoryNotFoundException.cs
- AnnotationService.cs
- PreviewPrintController.cs
- ZipIOLocalFileHeader.cs
- DataServiceKeyAttribute.cs
- CodePrimitiveExpression.cs
- ParameterElementCollection.cs
- ExcludeFromCodeCoverageAttribute.cs
- FormatConvertedBitmap.cs
- ListViewHitTestInfo.cs
- XmlEncodedRawTextWriter.cs
- TrackBar.cs
- ObfuscateAssemblyAttribute.cs
- InstallerTypeAttribute.cs
- ItemCheckedEvent.cs
- XmlSchemaAll.cs
- GridViewCellAutomationPeer.cs
- OleDbRowUpdatingEvent.cs
- DataGridRow.cs
- QilLoop.cs
- HasCopySemanticsAttribute.cs
- HttpListenerResponse.cs
- EventLogTraceListener.cs
- WindowsEditBoxRange.cs
- Rect3D.cs
- DummyDataSource.cs
- ItemMap.cs
- DataGridViewToolTip.cs
- XsltSettings.cs
- iisPickupDirectory.cs
- WindowsComboBox.cs
- CustomErrorCollection.cs
- XPathArrayIterator.cs
- SchemaTableColumn.cs
- TabPage.cs
- ResourceDisplayNameAttribute.cs
- ValidateNames.cs
- ProxyAttribute.cs
- ResourcePool.cs
- DesignerActionPanel.cs
- GPRECT.cs
- AutomationIdentifierGuids.cs
- DbProviderFactory.cs
- VarInfo.cs
- Propagator.JoinPropagator.cs
- RestClientProxyHandler.cs
- ResXResourceWriter.cs
- DataGridTableStyleMappingNameEditor.cs
- DataSourceViewSchemaConverter.cs
- WebPartRestoreVerb.cs
- ReliabilityContractAttribute.cs
- ListItemsPage.cs
- CodeObject.cs
- RegexNode.cs
- AttributeData.cs
- NativeMethods.cs
- MissingManifestResourceException.cs
- RealizedColumnsBlock.cs
- BaseAsyncResult.cs
- ScriptIgnoreAttribute.cs
- Attributes.cs
- SqlExpander.cs
- StatusBarPanel.cs
- PreviewPageInfo.cs
- ExpressionBindings.cs
- Stackframe.cs
- IgnoreSectionHandler.cs
- FixedFlowMap.cs
- RadioButtonPopupAdapter.cs
- ListBoxDesigner.cs
- RefExpr.cs
- PictureBox.cs
- Trustee.cs
- NetTcpBindingCollectionElement.cs
- GifBitmapDecoder.cs
- SpeechRecognitionEngine.cs
- AllowedAudienceUriElementCollection.cs