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
- BufferedOutputStream.cs
- ThrowHelper.cs
- ViewKeyConstraint.cs
- DataList.cs
- DataSourceViewSchemaConverter.cs
- TTSEngineProxy.cs
- InfoCardCryptoHelper.cs
- WhitespaceRule.cs
- ProofTokenCryptoHandle.cs
- CursorConverter.cs
- SafePointer.cs
- PenThreadPool.cs
- GenericAuthenticationEventArgs.cs
- DataSourceExpression.cs
- TemplatedMailWebEventProvider.cs
- AtomMaterializerLog.cs
- UserNameSecurityTokenAuthenticator.cs
- ProcessModule.cs
- WhitespaceRuleReader.cs
- VisualStyleRenderer.cs
- ImageMap.cs
- _ScatterGatherBuffers.cs
- WindowsFormsDesignerOptionService.cs
- SqlBulkCopyColumnMapping.cs
- TouchDevice.cs
- DragEventArgs.cs
- QuaternionKeyFrameCollection.cs
- CacheMemory.cs
- ExponentialEase.cs
- CapabilitiesSection.cs
- SqlParameterCollection.cs
- Run.cs
- TextTreeFixupNode.cs
- SqlExpander.cs
- RegexGroup.cs
- ComponentRenameEvent.cs
- MasterPage.cs
- AssociationTypeEmitter.cs
- BufferBuilder.cs
- WorkItem.cs
- BridgeDataReader.cs
- NativeRecognizer.cs
- Bitmap.cs
- DataTableReader.cs
- Decoder.cs
- FaultDesigner.cs
- FreezableDefaultValueFactory.cs
- NavigatingCancelEventArgs.cs
- FormParameter.cs
- DownloadProgressEventArgs.cs
- BufferedStream.cs
- OdbcUtils.cs
- ListSortDescriptionCollection.cs
- StringAnimationBase.cs
- BufferedGraphics.cs
- StrokeDescriptor.cs
- ViewKeyConstraint.cs
- Literal.cs
- ClientConvert.cs
- SyndicationSerializer.cs
- LazyLoadBehavior.cs
- DbConnectionPool.cs
- RegexRunnerFactory.cs
- ArrayEditor.cs
- StreamInfo.cs
- ConnectionOrientedTransportElement.cs
- ComponentEditorPage.cs
- WinEventTracker.cs
- WriteableBitmap.cs
- ResourceDictionary.cs
- MobileUITypeEditor.cs
- DocumentEventArgs.cs
- DataRowView.cs
- InvalidWMPVersionException.cs
- BindingExpressionBase.cs
- FragmentQueryKB.cs
- DataListComponentEditor.cs
- FontFaceLayoutInfo.cs
- RoleService.cs
- FrameworkName.cs
- AutomationPattern.cs
- Dump.cs
- FormsAuthenticationEventArgs.cs
- GlobalizationSection.cs
- ArraySortHelper.cs
- EnumMember.cs
- PingReply.cs
- FileFormatException.cs
- httpserverutility.cs
- InvalidPipelineStoreException.cs
- TriggerCollection.cs
- Signature.cs
- StreamAsIStream.cs
- SwitchLevelAttribute.cs
- XmlChildEnumerator.cs
- WindowAutomationPeer.cs
- Schema.cs
- GridSplitter.cs
- KeyedHashAlgorithm.cs
- FrameworkReadOnlyPropertyMetadata.cs