Lines Matching refs:get

191                                               partUri.get(),
213 partUri.get(),
228 this->fOutputStream.get(),
231 partUri.get(),
247 HRM(this->fPackageWriter->StartNewDocument(partUri.get(),
274 "Could not get scale canvas visuals.");
280 HRBM(scaleCanvas->SetTransformLocal(geomToPhys.get()),
284 HRBM(scaleCanvasVisuals->Append(this->fCurrentXpsCanvas.get()),
296 HRBM(page->GetVisuals(&pageVisuals), "Could not get page visuals.");
299 HRBM(pageVisuals->Append(scaleCanvas.get()),
303 if (nullptr == this->fPackageWriter.get()) {
306 this->createXpsThumbnail(page.get(), 0, &image);
308 HRB(this->initXpsDocumentWriter(image.get()));
311 HRBM(this->fPackageWriter->AddPage(page.get(),
373 memmove(fontPackageBuffer.get() + extra, fontPackageBuffer.get(), bytesWritten);
376 SkTTCFHeader* ttcfHeader = reinterpret_cast<SkTTCFHeader*>(fontPackageBuffer.get());
386 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra);
407 "Could not get embedding option from font.");
411 "Could not get part uri from font.");
414 newIStream.get(),
416 partUri.get()),
543 HRM(geometry->GetFigures(&figureCollection), "Could not get figures.");
547 HRM((*path)->SetGeometryLocal(geometry.get()), "Could not set geometry");
573 HR(this->createPath(areaToFillFigure.get(), visuals, &areaToFillPath));
583 HRM(areaToFillPath->SetFillBrushLocal(areaToFillBrush.get()),
596 HR(this->createPath(areaToFillFigure.get(), visuals, &areaToFillPath));
600 HRM(areaToFillPath->SetFillBrushLocal(areaToFillBrush.get()),
655 read.get(),
657 imagePartUri.get(),
666 HRM(this->fXpsFactory->CreateImageBrush(imageResource.get(),
692 "Could not get image brush canvas visuals collection.");
700 HR(this->createPath(centralFigure.get(),
701 brushVisuals.get(),
705 HRM(centralPath->SetFillBrushLocal(xpsImageBrush.get()),
716 imageResource.get(),
717 brushVisuals.get()));
725 imageResource.get(),
726 brushVisuals.get()));
737 imageResource.get(),
738 brushVisuals.get()));
746 imageResource.get(),
747 brushVisuals.get()));
756 HR(this->cornerOfClamp(tlArea, tlColor, brushVisuals.get()));
760 HR(this->cornerOfClamp(trArea, trColor, brushVisuals.get()));
765 HR(this->cornerOfClamp(brArea, brColor, brushVisuals.get()));
769 HR(this->cornerOfClamp(blArea, blColor, brushVisuals.get()));
795 HRM(clampBrush->SetVisualLocal(brushCanvas.get()),
807 if (xpsMatrixToUse.get()) {
808 HRM((*xpsBrush)->SetTransformLocal(xpsMatrixToUse.get()),
858 HRM(this->fXpsFactory->CreateLinearGradientBrush(gradStop0.get(),
859 gradStop1.get(),
871 "Could not get linear gradient stop collection.");
877 HRM(gradStopCollection->Append(gradStop.get()),
934 HRM(this->fXpsFactory->CreateRadialGradientBrush(gradStop0.get(),
935 gradStop1.get(),
948 "Could not get radial gradient stop collection.");
954 HRM(gradStopCollection->Append(gradStop.get()),
1005 info.fColors = colors.get();
1006 info.fColorOffsets = colorOffsets.get();
1027 xpsMatrixToUse.get(),
1036 xpsMatrixToUse.get(),
1208 HRVM(shadedPath->SetGeometryLocal(shadedGeometry.get()),
1214 HRV(this->shadePath(shadedPath.get(), paint, this->localToDevice(), &fill, &stroke));
1221 if (xpsTransform.get()) {
1222 HRVM(shadedGeometry->SetTransformLocal(xpsTransform.get()),
1247 "Could not get shaded figures for rect.");
1250 HRVM(shadedFigures->Append(rectFigure.get()),
1253 HRV(this->clip(shadedPath.get()));
1258 "Could not get current visuals for rect.");
1259 HRVM(currentVisuals->Append(shadedPath.get()),
1306 if (xpsFigure.get()) {
1309 xpsFigure.get() , xpsFigures));
1364 // we ignore these, and just get the whole segment from
1372 if (xpsFigure.get()) {
1375 xpsFigure.get(), xpsFigures));
1404 "Could not get mask shaded geometry.");
1409 "Could not get mask shaded figures.");
1426 HRM(shadedPath->SetOpacityMaskBrushLocal(maskBrush.get()),
1434 HRM(shadedFigures->Append(shadedFigure.get()),
1442 "Could not get mask current visuals.");
1467 HRM(shadedPath->SetFillBrushLocal(fillBrush.get()),
1475 HRM(shadedPath->SetStrokeBrushLocal(strokeBrush.get()),
1546 HRVM(shadedPath->SetGeometryLocal(shadedGeometry.get()),
1561 HRV(this->shadePath(shadedPath.get(),
1610 HRV(this->applyMask(*mask, ppuScale, shadedPath.get()));
1618 "Could not get shaded figures for shaded path.");
1651 HRVM(shadedFigures->Append(addOneFigure.get()),
1668 if (xpsTransform.get()) {
1669 HRVM(shadedGeometry->SetTransformLocal(xpsTransform.get()),
1682 HRV(this->addXpsPathGeometry(shadedFigures.get(),
1685 HRV(this->clip(shadedPath.get()));
1690 "Could not get current visuals for shaded path.");
1691 HRVM(currentVisuals->Append(shadedPath.get()),
1716 "Could not get the clip figures.");
1720 clipFigures.get(),
1725 HRM(xpsVisual->SetClipGeometryLocal(clipGeometry.get()),
1770 HRM(this->fXpsFactory->CreateFontResource(fontStream.get(),
1772 partUri.get(),
1777 //TODO: change openStream to return -1 for non-ttc, get rid of this.
1808 HRM(xpsFactory->CreateGlyphs(font->xpsFont.get(), &glyphs), "Could not create glyphs.");
1821 if (xpsMatrixToUse.get()) {
1822 HRM(glyphs->SetTransformLocal(xpsMatrixToUse.get()),
1832 HRM(glyphs->GetGlyphsEditor(&glyphsEditor), "Could not get glyph editor.");
1852 HRM(glyphs->SetFillBrushLocal(xpsFillBrush.get()),
1864 HRM(canvas->GetVisuals(&visuals), "Could not get glyph canvas visuals.");
1867 HR(this->clip(glyphs.get()));
1868 HRM(visuals->Append(glyphs.get()), "Could not add glyphs to canvas.");
1876 "Could not get glyph visuals collection.");
1878 HRM(glyphCanvasVisuals->Append(glyphs.get()),
1880 HR(this->clip(glyphCanvas.get()));
1882 HRM(visuals->Append(glyphCanvas.get()),
1952 HRV(AddGlyphs(this->fXpsFactory.get(),
1953 this->fCurrentXpsCanvas.get(),
1956 xpsGlyphs.get(), actualGlyphCount,
1972 HRVM(that->fCurrentXpsCanvas->SetTransformLocal(xpsTransform.get()),
1978 "Could not get current visuals for layer.");
1979 HRVM(currentVisuals->Append(that->fCurrentXpsCanvas.get()),
1996 dev->fXpsFactory.reset(SkRefComPtr(fXpsFactory.get()));