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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- IsolationInterop.cs
- TempEnvironment.cs
- FormViewInsertEventArgs.cs
- TreeViewCancelEvent.cs
- InputScopeAttribute.cs
- CodeEventReferenceExpression.cs
- SrgsRule.cs
- TypeInfo.cs
- GlobalEventManager.cs
- CodeDirectoryCompiler.cs
- EventLogReader.cs
- MonitorWrapper.cs
- ConstraintConverter.cs
- BitmapInitialize.cs
- SkewTransform.cs
- HttpHandlerAction.cs
- CallbackDebugBehavior.cs
- KnownBoxes.cs
- XmlChildNodes.cs
- KeyboardDevice.cs
- WebPartHeaderCloseVerb.cs
- ContractCodeDomInfo.cs
- RepeaterItem.cs
- SqlTypesSchemaImporter.cs
- TemplateBindingExpressionConverter.cs
- tooltip.cs
- Configuration.cs
- TemplateColumn.cs
- TimerElapsedEvenArgs.cs
- ControlPager.cs
- CommonEndpointBehaviorElement.cs
- ProfileSettings.cs
- DataServiceBuildProvider.cs
- HijriCalendar.cs
- AssemblyBuilderData.cs
- SystemIcmpV4Statistics.cs
- TreeNodeCollection.cs
- TextDecoration.cs
- WebPartsSection.cs
- _RequestLifetimeSetter.cs
- PickDesigner.xaml.cs
- ImageCodecInfoPrivate.cs
- Range.cs
- Component.cs
- COM2ExtendedBrowsingHandler.cs
- InputBinder.cs
- EventBuilder.cs
- Number.cs
- RepeatInfo.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- SqlDataReader.cs
- LinkConverter.cs
- DesignerActionVerbList.cs
- SqlMethodAttribute.cs
- FormDesigner.cs
- DataSourceControlBuilder.cs
- _SSPISessionCache.cs
- IndexedGlyphRun.cs
- ScrollBarRenderer.cs
- Latin1Encoding.cs
- RegexWorker.cs
- DetailsViewAutoFormat.cs
- DataControlField.cs
- MeshGeometry3D.cs
- Deflater.cs
- PrintEvent.cs
- MultiplexingFormatMapping.cs
- StringBuilder.cs
- ListItemParagraph.cs
- ValueUnavailableException.cs
- ServiceInfoCollection.cs
- UIElement3D.cs
- StringResourceManager.cs
- WebControlsSection.cs
- DesignerTransaction.cs
- RoleService.cs
- FixedFindEngine.cs
- JournalEntryListConverter.cs
- MeasureData.cs
- RoutingUtilities.cs
- XslCompiledTransform.cs
- DependencyObject.cs
- WebMessageEncoderFactory.cs
- LinqDataSourceEditData.cs
- StrongName.cs
- ListViewSortEventArgs.cs
- Util.cs
- WebPartManagerInternals.cs
- ExpressionWriter.cs
- DeviceContext.cs
- WebPartPersonalization.cs
- LeaseManager.cs
- LinearKeyFrames.cs
- RTLAwareMessageBox.cs
- ConfigurationManagerHelper.cs
- DataStreamFromComStream.cs
- UrlMappingsSection.cs
- PictureBox.cs
- UnsafeNativeMethods.cs
- TimelineCollection.cs