• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/platform/graphics/

Lines Matching +defs:font +defs:size

466 void GraphicsContext::drawText(const Font& font, const TextRun& run, const FloatPoint& point, int from, int to)
471 font.drawText(this, run, point, from, to);
475 float GraphicsContext::drawText(const Font& font, const TextRun& run, const FloatPoint& point, int from, int to)
480 return font.drawText(this, run, point, from, to);
484 void GraphicsContext::drawGlyphs(const Font& font, const SimpleFontData& fontData, const GlyphBuffer& buffer, int from, int numGlyphs, const FloatPoint& point)
489 font.drawGlyphs(this, &fontData, buffer, from, numGlyphs, point);
492 void GraphicsContext::drawEmphasisMarks(const Font& font, const TextRun& run, const AtomicString& mark, const FloatPoint& point, int from, int to)
497 font.drawEmphasisMarks(this, run, mark, point, from, to);
504 void GraphicsContext::drawBidiText(const Font& font, const TextRun& run, const FloatPoint& point, Font::CustomFontNotReadyAction customFontNotReadyAction)
506 float GraphicsContext::drawBidiText(const Font& font, const TextRun& run, const FloatPoint& point, Font::CustomFontNotReadyAction customFontNotReadyAction, BidiStatus* status, int length)
548 font.drawText(this, subrun, currPoint, 0, -1, customFontNotReadyAction);
553 currPoint.move(font.width(subrun), 0);
555 float width = font.drawText(this, subrun, currPoint, 0, -1, customFontNotReadyAction);
577 drawImage(image, colorSpace, FloatRect(destination, image->size()), FloatRect(FloatPoint(), image->size()), imagePaintingOptions);
588 FloatRect srcRect(FloatPoint(), image->size());
868 std::unique_ptr<ImageBuffer> GraphicsContext::createCompatibleBuffer(const FloatSize& size, bool hasAlpha) const
875 FloatSize scaledSize(static_cast<int>(ceil(size.width() * transform.xScale())), static_cast<int>(ceil(size.height() * transform.yScale())));
881 buffer->context()->scale(FloatSize(scaledSize.width() / size.width(), scaledSize.height() / size.height()));