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
- StorageRoot.cs
- AggregateNode.cs
- ReceiveReply.cs
- BitmapImage.cs
- TextRunProperties.cs
- VerificationException.cs
- Utils.cs
- ObfuscateAssemblyAttribute.cs
- Qualifier.cs
- ValidationResult.cs
- DtrList.cs
- UnsafeCollabNativeMethods.cs
- ThreadInterruptedException.cs
- WriteTimeStream.cs
- ServiceModelSectionGroup.cs
- StringSorter.cs
- OleDbParameter.cs
- StorageAssociationSetMapping.cs
- MenuScrollingVisibilityConverter.cs
- SaveFileDialog.cs
- Page.cs
- EventListener.cs
- CommandDevice.cs
- WebConfigurationHostFileChange.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- EnterpriseServicesHelper.cs
- LinqExpressionNormalizer.cs
- WmlControlAdapter.cs
- CapabilitiesRule.cs
- GuidConverter.cs
- SignalGate.cs
- ListItem.cs
- CheckBoxBaseAdapter.cs
- SessionSwitchEventArgs.cs
- Color.cs
- CompressionTransform.cs
- ActivityMarkupSerializationProvider.cs
- ImmutableCollection.cs
- CanonicalFontFamilyReference.cs
- AdRotator.cs
- _TLSstream.cs
- cache.cs
- MessageSmuggler.cs
- WorkflowServiceBehavior.cs
- TreeViewCancelEvent.cs
- AccessibleObject.cs
- SettingsSection.cs
- LicenseProviderAttribute.cs
- _SpnDictionary.cs
- DrawListViewSubItemEventArgs.cs
- HttpServerUtilityBase.cs
- AdapterDictionary.cs
- SecurityValidationBehavior.cs
- CodeMethodReturnStatement.cs
- __FastResourceComparer.cs
- TreeNodeConverter.cs
- _StreamFramer.cs
- Config.cs
- PenThreadPool.cs
- _UriTypeConverter.cs
- Setter.cs
- DesignerActionVerbList.cs
- NetMsmqBindingCollectionElement.cs
- XmlQueryCardinality.cs
- HtmlTable.cs
- ConcurrentBag.cs
- SqlTransaction.cs
- printdlgexmarshaler.cs
- SecurityManager.cs
- FixedTextContainer.cs
- Matrix.cs
- StoreContentChangedEventArgs.cs
- JournalEntry.cs
- CodeSubDirectoriesCollection.cs
- ProviderIncompatibleException.cs
- ToolStripStatusLabel.cs
- ThreadLocal.cs
- TextAction.cs
- Errors.cs
- TextShapeableCharacters.cs
- CqlIdentifiers.cs
- ServiceObjectContainer.cs
- RoutedEventValueSerializer.cs
- PropertyFilterAttribute.cs
- ThicknessAnimation.cs
- TcpProcessProtocolHandler.cs
- GlyphingCache.cs
- DropShadowBitmapEffect.cs
- Package.cs
- WebPartsPersonalization.cs
- ThreadNeutralSemaphore.cs
- StrokeCollection2.cs
- HyperLinkColumn.cs
- PlainXmlDeserializer.cs
- DataChangedEventManager.cs
- EventItfInfo.cs
- WebDisplayNameAttribute.cs
- DataSourceIDConverter.cs
- ComEventsSink.cs
- SafePEFileHandle.cs