Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / textformatting / IndexedGlyphRun.cs / 1305600 / IndexedGlyphRun.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: IndexedGlyphRun class // // History: // 2/2/2004: Garyyang Created the file // //--------------------------------------------------------------------------- using System; using System.Windows.Media; namespace System.Windows.Media.TextFormatting { ////// GlyphRun indexed with text source character index. It allows clients to map a text source character index /// to the corresponding GlyphRun. /// public sealed class IndexedGlyphRun { ////// Internal constructor. /// internal IndexedGlyphRun( int textSourceCharacterIndex, int textSourceCharacterLength, GlyphRun glyphRun ) { _textSourceCharacterIndex = textSourceCharacterIndex; _length = textSourceCharacterLength; _glyphRun = glyphRun; } //---------------------------------- // Public properties //---------------------------------- ////// gets the text source character index corresponding to the beginning of the GlyphRun /// public int TextSourceCharacterIndex { get { return _textSourceCharacterIndex; } } ////// gets the text source character length corresponding to this GlyphRun. The text source character /// length does not necessarily equal to the character count in GlyphRun. /// public int TextSourceLength { get { return _length; } } ////// gets the GlyphRun object /// public GlyphRun GlyphRun { get { return _glyphRun; } } //------------------------- // private members //------------------------- private GlyphRun _glyphRun; private int _textSourceCharacterIndex; private int _length; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OleDbMetaDataFactory.cs
- SerializerDescriptor.cs
- Menu.cs
- SafeRightsManagementSessionHandle.cs
- InvokeProviderWrapper.cs
- WorkflowMarkupSerializationManager.cs
- SerialPort.cs
- EntityTypeEmitter.cs
- ACE.cs
- ConnectorSelectionGlyph.cs
- MemberRelationshipService.cs
- UidPropertyAttribute.cs
- Directory.cs
- WpfPayload.cs
- PackageRelationship.cs
- CSharpCodeProvider.cs
- SqlProviderUtilities.cs
- ScrollViewerAutomationPeer.cs
- TimeSpanMinutesConverter.cs
- VersionUtil.cs
- ChineseLunisolarCalendar.cs
- MailSettingsSection.cs
- Cursors.cs
- ForeignConstraint.cs
- PropertyMetadata.cs
- OleStrCAMarshaler.cs
- WebBrowserNavigatedEventHandler.cs
- PreProcessor.cs
- ToolStripDropTargetManager.cs
- AuthenticateEventArgs.cs
- QilGeneratorEnv.cs
- UInt32Storage.cs
- RelationalExpressions.cs
- recordstate.cs
- NameValueSectionHandler.cs
- AuthenticationException.cs
- Executor.cs
- TreeNodeBindingCollection.cs
- ThrowHelper.cs
- Color.cs
- DataKeyCollection.cs
- OdbcDataAdapter.cs
- CqlGenerator.cs
- Underline.cs
- DbTransaction.cs
- ImageDrawing.cs
- Perspective.cs
- GenericsInstances.cs
- ResourceReferenceExpression.cs
- TimeStampChecker.cs
- AspNetHostingPermission.cs
- WebEvents.cs
- WindowsEditBox.cs
- FormsAuthenticationTicket.cs
- ListControl.cs
- HandoffBehavior.cs
- DateTimeStorage.cs
- UniformGrid.cs
- XmlWhitespace.cs
- ImageBrush.cs
- ConfigurationLockCollection.cs
- XmlSerializerOperationGenerator.cs
- DateRangeEvent.cs
- PeerCollaborationPermission.cs
- ThicknessConverter.cs
- DetailsViewUpdateEventArgs.cs
- CodeTypeParameterCollection.cs
- Visual3DCollection.cs
- XPathDocumentBuilder.cs
- XmlValidatingReaderImpl.cs
- ShapeTypeface.cs
- WebServiceTypeData.cs
- EdmType.cs
- TableDetailsRow.cs
- UriSectionData.cs
- xamlnodes.cs
- ListMarkerLine.cs
- IdnElement.cs
- PropertyEmitter.cs
- ExpressionPrinter.cs
- UrlPath.cs
- HttpInputStream.cs
- GridViewAutoFormat.cs
- CopyNamespacesAction.cs
- X509Certificate2.cs
- MultiSelector.cs
- NativeMethodsCLR.cs
- TableStyle.cs
- SByteConverter.cs
- SurrogateEncoder.cs
- VScrollBar.cs
- NativeMethods.cs
- NativeMethods.cs
- XamlRtfConverter.cs
- CheckBox.cs
- MissingSatelliteAssemblyException.cs
- HandlerWithFactory.cs
- LinqDataSourceSelectEventArgs.cs
- AssemblyFilter.cs
- SqlDataReaderSmi.cs