Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 1305376 / GPRECTF.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 struct GPRECTF { internal float X; internal float Y; internal float Width; internal float Height; internal GPRECTF(float x, float y, float width, float height) { X = x; Y = y; Width = width; Height = height; } internal GPRECTF(RectangleF rect) { X = rect.X; Y = rect.Y; Width = rect.Width; Height = rect.Height; } internal SizeF SizeF { get { return new SizeF(Width, Height); } } internal RectangleF ToRectangleF() { return new RectangleF(X, Y, Width, Height); } } } // 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
- ClosureBinding.cs
- ColorAnimationBase.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- DocumentEventArgs.cs
- XmlTextReader.cs
- HMACSHA256.cs
- XmlArrayItemAttributes.cs
- Main.cs
- DelegatingTypeDescriptionProvider.cs
- TimeZone.cs
- ObjectSet.cs
- GroupBox.cs
- SmiRecordBuffer.cs
- XmlSchemaComplexType.cs
- CompletedAsyncResult.cs
- ClientData.cs
- EnterpriseServicesHelper.cs
- SHA512.cs
- connectionpool.cs
- TextBoxView.cs
- DataGridViewTextBoxColumn.cs
- CompilationUnit.cs
- ProfileParameter.cs
- XmlSignatureProperties.cs
- SmiMetaDataProperty.cs
- StrongNameUtility.cs
- XmlSchemaAny.cs
- PersianCalendar.cs
- TransactionContextValidator.cs
- ConfigurationSection.cs
- DataGridItemAutomationPeer.cs
- XmlNullResolver.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ToolStripSystemRenderer.cs
- Utils.cs
- EncoderParameter.cs
- PowerStatus.cs
- SqlCachedBuffer.cs
- TdsValueSetter.cs
- Types.cs
- WebPartAuthorizationEventArgs.cs
- SqlUserDefinedAggregateAttribute.cs
- FontDriver.cs
- EventMappingSettingsCollection.cs
- UDPClient.cs
- MediaContext.cs
- XslNumber.cs
- DataMemberFieldEditor.cs
- XmlSchemaAll.cs
- LayoutEvent.cs
- ThreadExceptionEvent.cs
- DataContext.cs
- XamlFilter.cs
- SqlConnectionHelper.cs
- StringReader.cs
- GeometryGroup.cs
- PartialCachingAttribute.cs
- RenderDataDrawingContext.cs
- BaseCodePageEncoding.cs
- UnauthorizedAccessException.cs
- DetailsViewDeleteEventArgs.cs
- ContentElement.cs
- LowerCaseStringConverter.cs
- sapiproxy.cs
- WorkflowServiceInstance.cs
- PowerModeChangedEventArgs.cs
- DataSourceView.cs
- DataGridAddNewRow.cs
- UrlMappingsSection.cs
- PackageProperties.cs
- ColumnTypeConverter.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ToolStripOverflow.cs
- InvalidEnumArgumentException.cs
- RelatedEnd.cs
- RoutingChannelExtension.cs
- UnmanagedBitmapWrapper.cs
- DataList.cs
- InternalDispatchObject.cs
- StylusButtonCollection.cs
- XmlAttribute.cs
- TreeNodeCollection.cs
- ResourcePermissionBase.cs
- SqlExpander.cs
- TransactionTraceIdentifier.cs
- DiscoveryReferences.cs
- FixedSOMTable.cs
- ProcessThreadDesigner.cs
- UserControlAutomationPeer.cs
- OleDbDataAdapter.cs
- ResourceExpressionBuilder.cs
- ServiceObjectContainer.cs
- ListenerBinder.cs
- StringValueSerializer.cs
- Package.cs
- GcSettings.cs
- ConnectionStringSettingsCollection.cs
- ModelUIElement3D.cs
- ConstraintCollection.cs
- MessageSecurityOverTcp.cs