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
- EditorPartDesigner.cs
- AuthenticateEventArgs.cs
- CodeTypeConstructor.cs
- ConstructorBuilder.cs
- ExpressionPrefixAttribute.cs
- ParserExtension.cs
- InfoCardSchemas.cs
- CodeConditionStatement.cs
- SHA384Managed.cs
- StreamResourceInfo.cs
- DbParameterHelper.cs
- SqlEnums.cs
- RulePatternOps.cs
- StackOverflowException.cs
- Win32SafeHandles.cs
- StreamAsIStream.cs
- TileBrush.cs
- RegionInfo.cs
- HwndKeyboardInputProvider.cs
- OledbConnectionStringbuilder.cs
- ProcessProtocolHandler.cs
- BamlRecords.cs
- MailSettingsSection.cs
- OutOfProcStateClientManager.cs
- CustomLineCap.cs
- dbenumerator.cs
- DrawingAttributesDefaultValueFactory.cs
- WsdlParser.cs
- LiteralTextContainerControlBuilder.cs
- StorageEntityTypeMapping.cs
- Pkcs7Recipient.cs
- NullableDecimalSumAggregationOperator.cs
- SurrogateSelector.cs
- Vector3D.cs
- FormViewUpdateEventArgs.cs
- COM2IPerPropertyBrowsingHandler.cs
- DispatcherEventArgs.cs
- PathTooLongException.cs
- WindowsToolbar.cs
- PageAsyncTaskManager.cs
- DSACryptoServiceProvider.cs
- StringDictionary.cs
- IntellisenseTextBox.designer.cs
- _IPv6Address.cs
- Utility.cs
- DynamicMethod.cs
- PolyQuadraticBezierSegment.cs
- ExpressionWriter.cs
- DiagnosticsConfigurationHandler.cs
- SchemaSetCompiler.cs
- QilCloneVisitor.cs
- RankException.cs
- DataGridViewCellCollection.cs
- DocumentScope.cs
- SqlProfileProvider.cs
- TextTreeUndoUnit.cs
- StringBuilder.cs
- PassportAuthenticationEventArgs.cs
- AsymmetricKeyExchangeFormatter.cs
- SharedStatics.cs
- SafeRightsManagementPubHandle.cs
- ACL.cs
- ConnectionManagementElement.cs
- CodeTypeMember.cs
- ComponentRenameEvent.cs
- Parameter.cs
- Cursors.cs
- HtmlDocument.cs
- NamespaceMapping.cs
- SmiRecordBuffer.cs
- Invariant.cs
- OnOperation.cs
- wgx_sdk_version.cs
- RowUpdatingEventArgs.cs
- CodeMethodInvokeExpression.cs
- RowParagraph.cs
- TypeInitializationException.cs
- PageSetupDialog.cs
- LinqDataSourceDisposeEventArgs.cs
- RemotingServices.cs
- InfoCardKeyedHashAlgorithm.cs
- SchemaTableColumn.cs
- BitmapEffectInputData.cs
- XmlWriter.cs
- DataBindEngine.cs
- DependencyPropertyHelper.cs
- MatchingStyle.cs
- QueryRewriter.cs
- glyphs.cs
- ToolStrip.cs
- GlyphRunDrawing.cs
- ControlTemplate.cs
- HtmlTitle.cs
- OdbcParameter.cs
- BooleanKeyFrameCollection.cs
- StreamMarshaler.cs
- MessageDesigner.cs
- MouseGesture.cs
- TableItemProviderWrapper.cs
- Converter.cs