Home | History | Annotate | Download | only in ports

Lines Matching refs:total_size

1307     GDIGlyphbufferPointIter(const uint8_t* glyphbuf, DWORD total_size)
1308 : fHeaderIter(glyphbuf, total_size), fCurveIter(), fPointIter()
1349 GDIPolygonHeaderIter(const uint8_t* glyphbuf, DWORD total_size)
1351 , fEndPolygon(SkTAddOffset<const TTPOLYGONHEADER>(glyphbuf, total_size))
1447 static void sk_path_from_gdi_path(SkPath* path, const uint8_t* glyphbuf, DWORD total_size) {
1449 const uint8_t* end_glyph = glyphbuf + total_size;
1504 static bool sk_path_from_gdi_paths(SkPath* path, const uint8_t* glyphbuf, DWORD total_size,
1507 const uint8_t* end_glyph = glyphbuf + total_size;
1577 DWORD total_size = GetGlyphOutlineW(fDDC, glyph, flags, &gm, BUFFERSIZE, glyphbuf->get(), &fMat22);
1580 if (GDI_ERROR == total_size || total_size > BUFFERSIZE) {
1584 total_size = GetGlyphOutlineW(fDDC, glyph, flags, &gm, 0, nullptr, &fMat22);
1585 if (GDI_ERROR == total_size) {
1587 total_size = GetGlyphOutlineW(fDDC, glyph, flags, &gm, 0, nullptr, &fMat22);
1588 if (GDI_ERROR == total_size) {
1595 glyphbuf->reset(total_size);
1597 DWORD ret = GetGlyphOutlineW(fDDC, glyph, flags, &gm, total_size, glyphbuf->get(), &fMat22);
1600 ret = GetGlyphOutlineW(fDDC, glyph, flags, &gm, total_size, glyphbuf->get(), &fMat22);
1607 return total_size;
1630 DWORD total_size = getGDIGlyphPath(glyph, format, &glyphbuf);
1631 if (0 == total_size) {
1636 sk_path_from_gdi_path(path, glyphbuf, total_size);
1647 if (!sk_path_from_gdi_paths(path, glyphbuf, total_size,
1651 sk_path_from_gdi_path(path, glyphbuf, total_size);