Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CommonUI / System / Drawing / Advanced / GPRECTF.cs / 1 / 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. //------------------------------------------------------------------------------ //// 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- COM2PropertyPageUITypeConverter.cs
- PropertyDescriptorComparer.cs
- TraceHandlerErrorFormatter.cs
- recordstatescratchpad.cs
- SecureEnvironment.cs
- TemplateBamlRecordReader.cs
- FrameworkElementFactory.cs
- DesigntimeLicenseContext.cs
- EnvelopedPkcs7.cs
- OleDbReferenceCollection.cs
- RawKeyboardInputReport.cs
- versioninfo.cs
- FrameworkContentElement.cs
- DetailsViewRow.cs
- ObjectListCommandCollection.cs
- ScrollContentPresenter.cs
- RequestQueryParser.cs
- PropertyGridCommands.cs
- safesecurityhelperavalon.cs
- ListView.cs
- Visual3D.cs
- DataBoundControlHelper.cs
- ToolStripDropDown.cs
- ObjectRef.cs
- TextPointer.cs
- EditCommandColumn.cs
- HttpPostLocalhostServerProtocol.cs
- Binding.cs
- ArrangedElement.cs
- ToolbarAUtomationPeer.cs
- XmlIlTypeHelper.cs
- PerformanceCountersElement.cs
- Int32Converter.cs
- StringDictionary.cs
- AnnotationHelper.cs
- TemplateKey.cs
- CompressedStack.cs
- OdbcReferenceCollection.cs
- PassportAuthentication.cs
- DefaultPrintController.cs
- XslNumber.cs
- MdiWindowListItemConverter.cs
- RegistrySecurity.cs
- Ray3DHitTestResult.cs
- Transaction.cs
- MetadataHelper.cs
- PathSegmentCollection.cs
- XmlSchemaAppInfo.cs
- StandardTransformFactory.cs
- WebConfigurationHost.cs
- Win32Native.cs
- Validator.cs
- DrawingContextDrawingContextWalker.cs
- activationcontext.cs
- ClientSession.cs
- SettingsSavedEventArgs.cs
- ZoneButton.cs
- mediaeventshelper.cs
- QueryContext.cs
- MemberDescriptor.cs
- TriggerCollection.cs
- ChineseLunisolarCalendar.cs
- EnumType.cs
- SystemColorTracker.cs
- LogReserveAndAppendState.cs
- PKCS1MaskGenerationMethod.cs
- Bind.cs
- DataGridViewRowHeaderCell.cs
- CompareValidator.cs
- ApplicationProxyInternal.cs
- ListBoxItemAutomationPeer.cs
- Misc.cs
- HostProtectionPermission.cs
- TemplateBamlTreeBuilder.cs
- MethodBody.cs
- securitycriticaldataformultiplegetandset.cs
- EnumBuilder.cs
- DispatcherProcessingDisabled.cs
- DataTemplateSelector.cs
- StateDesigner.LayoutSelectionGlyph.cs
- ListViewInsertedEventArgs.cs
- TextTreeObjectNode.cs
- ItemsControlAutomationPeer.cs
- Rect.cs
- TrustLevelCollection.cs
- CommandSet.cs
- HtmlControlDesigner.cs
- LinqDataSourceDeleteEventArgs.cs
- EntityCommandCompilationException.cs
- COM2EnumConverter.cs
- Win32MouseDevice.cs
- ProjectionQueryOptionExpression.cs
- PageRequestManager.cs
- DataGridViewColumnTypeEditor.cs
- SerializationInfoEnumerator.cs
- HostedHttpContext.cs
- unitconverter.cs
- DeploymentExceptionMapper.cs
- baseaxisquery.cs
- WmpBitmapDecoder.cs