[][src]Trait uikit_sys::PNSLayoutManagerDelegate

pub trait PNSLayoutManagerDelegate: Sized + Deref {
    unsafe fn layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_(
        self,
        layoutManager: NSLayoutManager,
        glyphs: *const CGGlyph,
        props: *const NSGlyphProperty,
        charIndexes: *const NSUInteger,
        aFont: UIFont,
        glyphRange: NSRange
    ) -> NSUInteger
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(
        self,
        layoutManager: NSLayoutManager,
        glyphIndex: NSUInteger,
        rect: CGRect
    ) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_(
        self,
        layoutManager: NSLayoutManager,
        glyphIndex: NSUInteger,
        rect: CGRect
    ) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(
        self,
        layoutManager: NSLayoutManager,
        glyphIndex: NSUInteger,
        rect: CGRect
    ) -> CGFloat
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_shouldUseAction_forControlCharacterAtIndex_(
        self,
        layoutManager: NSLayoutManager,
        action: NSControlCharacterAction,
        charIndex: NSUInteger
    ) -> NSControlCharacterAction
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_(
        self,
        layoutManager: NSLayoutManager,
        charIndex: NSUInteger
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_(
        self,
        layoutManager: NSLayoutManager,
        charIndex: NSUInteger
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_(
        self,
        layoutManager: NSLayoutManager,
        glyphIndex: NSUInteger,
        textContainer: NSTextContainer,
        proposedRect: CGRect,
        glyphPosition: CGPoint,
        charIndex: NSUInteger
    ) -> CGRect
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_(
        self,
        layoutManager: NSLayoutManager,
        lineFragmentRect: *mut CGRect,
        lineFragmentUsedRect: *mut CGRect,
        baselineOffset: *mut CGFloat,
        textContainer: NSTextContainer,
        glyphRange: NSRange
    ) -> BOOL
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManagerDidInvalidateLayout_(self, sender: NSLayoutManager)
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_didCompleteLayoutForTextContainer_atEnd_(
        self,
        layoutManager: NSLayoutManager,
        textContainer: NSTextContainer,
        layoutFinishedFlag: BOOL
    )
    where
        Self::Target: Message + Sized
, { ... }
unsafe fn layoutManager_textContainer_didChangeGeometryFromSize_(
        self,
        layoutManager: NSLayoutManager,
        textContainer: NSTextContainer,
        oldSize: CGSize
    )
    where
        Self::Target: Message + Sized
, { ... } }

Provided methods

unsafe fn layoutManager_shouldGenerateGlyphs_properties_characterIndexes_font_forGlyphRange_(
    self,
    layoutManager: NSLayoutManager,
    glyphs: *const CGGlyph,
    props: *const NSGlyphProperty,
    charIndexes: *const NSUInteger,
    aFont: UIFont,
    glyphRange: NSRange
) -> NSUInteger where
    Self::Target: Message + Sized

unsafe fn layoutManager_lineSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(
    self,
    layoutManager: NSLayoutManager,
    glyphIndex: NSUInteger,
    rect: CGRect
) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn layoutManager_paragraphSpacingBeforeGlyphAtIndex_withProposedLineFragmentRect_(
    self,
    layoutManager: NSLayoutManager,
    glyphIndex: NSUInteger,
    rect: CGRect
) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn layoutManager_paragraphSpacingAfterGlyphAtIndex_withProposedLineFragmentRect_(
    self,
    layoutManager: NSLayoutManager,
    glyphIndex: NSUInteger,
    rect: CGRect
) -> CGFloat where
    Self::Target: Message + Sized

unsafe fn layoutManager_shouldUseAction_forControlCharacterAtIndex_(
    self,
    layoutManager: NSLayoutManager,
    action: NSControlCharacterAction,
    charIndex: NSUInteger
) -> NSControlCharacterAction where
    Self::Target: Message + Sized

unsafe fn layoutManager_shouldBreakLineByWordBeforeCharacterAtIndex_(
    self,
    layoutManager: NSLayoutManager,
    charIndex: NSUInteger
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn layoutManager_shouldBreakLineByHyphenatingBeforeCharacterAtIndex_(
    self,
    layoutManager: NSLayoutManager,
    charIndex: NSUInteger
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn layoutManager_boundingBoxForControlGlyphAtIndex_forTextContainer_proposedLineFragment_glyphPosition_characterIndex_(
    self,
    layoutManager: NSLayoutManager,
    glyphIndex: NSUInteger,
    textContainer: NSTextContainer,
    proposedRect: CGRect,
    glyphPosition: CGPoint,
    charIndex: NSUInteger
) -> CGRect where
    Self::Target: Message + Sized

unsafe fn layoutManager_shouldSetLineFragmentRect_lineFragmentUsedRect_baselineOffset_inTextContainer_forGlyphRange_(
    self,
    layoutManager: NSLayoutManager,
    lineFragmentRect: *mut CGRect,
    lineFragmentUsedRect: *mut CGRect,
    baselineOffset: *mut CGFloat,
    textContainer: NSTextContainer,
    glyphRange: NSRange
) -> BOOL where
    Self::Target: Message + Sized

unsafe fn layoutManagerDidInvalidateLayout_(self, sender: NSLayoutManager) where
    Self::Target: Message + Sized

unsafe fn layoutManager_didCompleteLayoutForTextContainer_atEnd_(
    self,
    layoutManager: NSLayoutManager,
    textContainer: NSTextContainer,
    layoutFinishedFlag: BOOL
) where
    Self::Target: Message + Sized

unsafe fn layoutManager_textContainer_didChangeGeometryFromSize_(
    self,
    layoutManager: NSLayoutManager,
    textContainer: NSTextContainer,
    oldSize: CGSize
) where
    Self::Target: Message + Sized

Loading content...

Implementors

Loading content...