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
- GridViewRow.cs
- AutoResetEvent.cs
- QilInvokeEarlyBound.cs
- KeyTimeConverter.cs
- TextEndOfSegment.cs
- Tracer.cs
- HelpProvider.cs
- StateFinalizationActivity.cs
- BufferedGraphicsManager.cs
- AppDomainProtocolHandler.cs
- WebServiceClientProxyGenerator.cs
- EditCommandColumn.cs
- WindowHideOrCloseTracker.cs
- TableCellCollection.cs
- codemethodreferenceexpression.cs
- ServiceCredentialsElement.cs
- URLAttribute.cs
- PtsHost.cs
- DataGridViewColumnConverter.cs
- Array.cs
- Point4D.cs
- EntityViewContainer.cs
- JsonClassDataContract.cs
- objectquery_tresulttype.cs
- Util.cs
- SwitchElementsCollection.cs
- CodeParameterDeclarationExpression.cs
- UseManagedPresentationBindingElementImporter.cs
- SqlHelper.cs
- ThrowHelper.cs
- ContextMenuAutomationPeer.cs
- ThreadSafeList.cs
- DataGridViewControlCollection.cs
- VisualStyleInformation.cs
- AmbientLight.cs
- MessageProtectionOrder.cs
- GenericTextProperties.cs
- VisualTreeHelper.cs
- SemanticResultValue.cs
- DependencyObjectCodeDomSerializer.cs
- DesignerTextViewAdapter.cs
- ParameterModifier.cs
- UInt64Converter.cs
- RemotingConfigParser.cs
- SubqueryTrackingVisitor.cs
- ErrorFormatterPage.cs
- ViewDesigner.cs
- SafeMILHandle.cs
- NamedPermissionSet.cs
- ExpressionPrinter.cs
- PageAsyncTask.cs
- ErrorFormatter.cs
- ClipboardData.cs
- WeakReferenceList.cs
- DiscoveryDocumentSearchPattern.cs
- DataControlFieldCell.cs
- SpeakCompletedEventArgs.cs
- CTreeGenerator.cs
- ServiceKnownTypeAttribute.cs
- TextServicesCompartmentEventSink.cs
- TransformValueSerializer.cs
- LabelDesigner.cs
- WebPartConnectionsDisconnectVerb.cs
- CategoriesDocumentFormatter.cs
- RectValueSerializer.cs
- DataGridViewRowsAddedEventArgs.cs
- SessionStateSection.cs
- CodeObject.cs
- FormViewInsertedEventArgs.cs
- RequestTimeoutManager.cs
- FrameworkElement.cs
- FilterElement.cs
- ControlValuePropertyAttribute.cs
- DescriptionAttribute.cs
- RectangleConverter.cs
- Binding.cs
- WmlTextViewAdapter.cs
- RequestQueue.cs
- ImageEditor.cs
- _TimerThread.cs
- TreeViewAutomationPeer.cs
- FlowDecisionLabelFeature.cs
- ScriptIgnoreAttribute.cs
- FileDialog.cs
- WindowsListViewSubItem.cs
- RsaSecurityTokenAuthenticator.cs
- RadialGradientBrush.cs
- WorkflowShape.cs
- ChannelAcceptor.cs
- UnmanagedHandle.cs
- ToolboxComponentsCreatingEventArgs.cs
- DataGridItemAttachedStorage.cs
- EntitySetBase.cs
- Random.cs
- ReadOnlyAttribute.cs
- WebDisplayNameAttribute.cs
- DecimalSumAggregationOperator.cs
- ServiceObjectContainer.cs
- ActivityInterfaces.cs
- SoapExtensionImporter.cs