Lines Matching refs:attachmentRect
274 HB_GlyphMetrics attachmentRect;
275 memset(&attachmentRect, 0, sizeof(attachmentRect));
324 attachmentRect = baseMetrics;
333 p.x += attachmentRect.x - markMetrics.x;
334 p.y += (attachmentRect.y + attachmentRect.height) - markMetrics.y;
339 p.x += attachmentRect.x - markMetrics.x;
340 p.y += (attachmentRect.y + attachmentRect.height) - markMetrics.y;
342 p.x += (attachmentRect.width - markMetrics.width) / 2;
347 p.x += attachmentRect.x + attachmentRect.width - markMetrics.width - markMetrics.x;
348 p.y += attachmentRect.y + attachmentRect.height - markMetrics.y;
363 p.x += attachmentRect.x - markMetrics.x;
364 p.y += attachmentRect.y - markMetrics.y - markMetrics.height;
369 p.x += attachmentRect.x - markMetrics.x;
370 attachmentRect.y - markMetrics.y - markMetrics.height;
372 p.x += (attachmentRect.width - markMetrics.width) / 2;
377 p.x += attachmentRect.x + attachmentRect.width - markMetrics.x - markMetrics.width;
378 p.y += attachmentRect.y - markMetrics.y - markMetrics.height;
389 HB_GlyphMetrics unitedAttachmentRect = attachmentRect;
390 unitedAttachmentRect.x = HB_MIN(attachmentRect.x, markMetrics.x);
391 unitedAttachmentRect.y = HB_MIN(attachmentRect.y, markMetrics.y);
392 unitedAttachmentRect.width = HB_MAX(attachmentRect.x + attachmentRect.width, markMetrics.x + markMetrics.width) - unitedAttachmentRect.x;
393 unitedAttachmentRect.height = HB_MAX(attachmentRect.y + attachmentRect.height, markMetrics.y + markMetrics.height) - unitedAttachmentRect.y;
394 attachmentRect = unitedAttachmentRect;