Searched refs:titleRect (Results 1 – 3 of 3) sorted by relevance
175 …IntRect titleRect = enclosingIntRect(font.selectionRectForText(nodeTitleRun, titleBasePoint, fontH… in drawElementTitle() local176 titleRect.inflate(rectInflatePx); in drawElementTitle()183 if (titleRect.maxX() > overlayRect.maxX()) in drawElementTitle()184 dx = overlayRect.maxX() - titleRect.maxX(); in drawElementTitle()187 if (titleRect.x() + dx < overlayRect.x()) in drawElementTitle()188 dx = overlayRect.x() - titleRect.x() - borderWidthPx; in drawElementTitle()191 if (titleRect.maxY() > overlayRect.maxY()) { in drawElementTitle()192 dy = anchorBox.y() - titleRect.maxY() - borderWidthPx; in drawElementTitle()194 if (titleRect.maxY() + dy > overlayRect.maxY()) in drawElementTitle()195 dy = overlayRect.maxY() - titleRect.maxY(); in drawElementTitle()[all …]
620 NSRect titleRect = cellFrame;621 titleRect.size.width -= kTextXOffset;622 titleRect.origin.x += kTextXOffset;623 [self drawTitle:title withFrame:titleRect inView:controlView];
1426 NSRect titleRect = tile.title_rect();1429 CGFloat scale = NSWidth(titleToRect) / NSWidth(titleRect);1431 NSWidth(titleRect) * scale * titleLayer.anchorPoint.x;1433 NSHeight(titleRect) * scale * titleLayer.anchorPoint.y;