Home | History | Annotate | Download | only in xps

Lines Matching refs:HRM

98     HRM(CoCreateGuid(&guid), "Could not create GUID for id.");
102 HRM(E_UNEXPECTED, "Could not format GUID into id.");
195 HRM(CoCreateInstance(
215 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri),
218 HRM(thumbnailGenerator->GenerateThumbnail(page,
236 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri),
240 HRM(this->fXpsFactory->CreatePage(&pageSize,
253 HRM(this->fXpsFactory->CreatePartUri(L"/FixedDocumentSequence.fdseq",
256 HRM(this->fXpsFactory->CreatePackageWriterOnStream(
272 HRM(this->fXpsFactory->CreatePartUri(
276 HRM(this->fPackageWriter->StartNewDocument(partUri.get(),
429 HRM(current->xpsFont->GetEmbeddingOption(&embedding),
433 HRM(current->xpsFont->GetPartName(&partUri),
436 HRM(current->xpsFont->SetContent(
550 HRM(this->fXpsFactory->CreateMatrixTransform(&rawXpsMatrix, xpsTransform),
560 HRM(this->fXpsFactory->CreateGeometry(&geometry),
564 HRM(geometry->GetFigures(&figureCollection), "Could not get figures.");
565 HRM(figureCollection->Append(figure), "Could not add figure.");
567 HRM(this->fXpsFactory->CreatePath(path), "Could not create path.");
568 HRM((*path)->SetGeometryLocal(geometry.get()), "Could not set geometry");
570 HRM(visuals->Append(*path), "Could not add path to visuals.");
579 HRM(this->fXpsFactory->CreateSolidColorBrush(&xpsColor, nullptr, &solidBrush),
581 HRM(solidBrush->SetOpacity(alpha / 255.0f), "Could not set opacity.");
582 HRM(solidBrush->QueryInterface<IXpsOMBrush>(xpsBrush), "QI Fail.");
597 HRM(this->fXpsFactory->CreateImageBrush(image,
602 HRM(areaToFillBrush->SetTileMode(XPS_TILE_MODE_FLIPXY),
604 HRM(areaToFillPath->SetFillBrushLocal(areaToFillBrush.get()),
621 HRM(areaToFillPath->SetFillBrushLocal(areaToFillBrush.get()),
654 HRM(E_FAIL, "Unable to encode bitmap as png.");
659 HRM(SkIStream::CreateFromSkStream(read, true, &readWrapper),
670 HRM(this->fXpsFactory->CreatePartUri(buffer, &imagePartUri),
674 HRM(this->fXpsFactory->CreateImageResource(
686 HRM(this->fXpsFactory->CreateImageBrush(imageResource.get(),
694 HRM(xpsImageBrush->SetTileMode(SkToXpsTileMode[xy[0]][xy[1]]),
696 HRM(xpsImageBrush->SetOpacity(alpha / 255.0f),
698 HRM(xpsImageBrush->QueryInterface(xpsBrush), "QI failed.");
708 HRM(this->fXpsFactory->CreateCanvas(&brushCanvas),
711 HRM(brushCanvas->GetVisuals(&brushVisuals),
723 HRM(xpsImageBrush->SetTileMode(XPS_TILE_MODE_FLIPXY),
725 HRM(centralPath->SetFillBrushLocal(xpsImageBrush.get()),
815 HRM(this->fXpsFactory->CreateVisualBrush(&bound, &bound, &clampBrush),
817 HRM(clampBrush->SetVisualLocal(brushCanvas.get()),
819 HRM(clampBrush->SetTileMode(SkToXpsTileMode[xy[0]][xy[1]]),
821 HRM(clampBrush->SetOpacity(alpha / 255.0f),
824 HRM(clampBrush->QueryInterface(xpsBrush), "QI failed.");
830 HRM((*xpsBrush)->SetTransformLocal(xpsMatrixToUse.get()),
843 HRM(this->fXpsFactory->CreateGradientStop(&gradStopXpsColor,
880 HRM(this->fXpsFactory->CreateLinearGradientBrush(gradStop0.get(),
887 HRM(gradientBrush->SetTransformLocal(xpsMatrix),
892 HRM(gradientBrush->GetGradientStops(&gradStopCollection),
899 HRM(gradStopCollection->Append(gradStop.get()),
903 HRM(gradientBrush->SetSpreadMethod(xps_spread_method(info.fTileMode)),
906 HRM(gradientBrush->SetOpacity(alpha / 255.0f),
908 HRM(gradientBrush->QueryInterface<IXpsOMBrush>(xpsBrush), "QI failed");
956 HRM(this->fXpsFactory->CreateRadialGradientBrush(gradStop0.get(),
964 HRM(gradientBrush->SetTransformLocal(xpsMatrix),
969 HRM(gradientBrush->GetGradientStops(&gradStopCollection),
976 HRM(gradStopCollection->Append(gradStop.get()),
980 HRM(gradientBrush->SetSpreadMethod(xps_spread_method(info.fTileMode)),
983 HRM(gradientBrush->SetOpacity(alpha / 255.0f),
985 HRM(gradientBrush->QueryInterface<IXpsOMBrush>(xpsBrush), "QI failed.");
1089 HRM(tileBrush->QueryInterface<IXpsOMBrush>(brush), "QI failed.");
1129 HRM(this->fXpsFactory->CreateGeometryFigure(&startPoint, xpsQuad),
1152 HRM((*xpsQuad)->SetSegments(
1158 HRM((*xpsQuad)->SetIsClosed(stroke), "Could not set quad close.");
1159 HRM((*xpsQuad)->SetIsFilled(fill), "Could not set quad fill.");
1299 HRM(figure->SetSegments(segmentTypes.count(), segmentData.count(),
1305 HRM(figure->SetIsClosed(stroke), "Could not set path closed.");
1306 HRM(figure->SetIsFilled(fill), "Could not set path fill.");
1309 HRM(figures->Append(figure), "Could not add path to geometry.");
1339 HRM(this->fXpsFactory->CreateGeometryFigure(&startPoint,
1426 HRM(shadedPath->GetGeometry(&shadedGeometry),
1431 HRM(shadedGeometry->GetFigures(&shadedFigures),
1449 HRM(shadedPath->SetOpacityMaskBrushLocal(maskBrush.get()),
1455 HRM(this->createXpsRect(universeRect, FALSE, TRUE, &shadedFigure),
1457 HRM(shadedFigures->Append(shadedFigure.get()),
1464 HRM(this->fCurrentXpsCanvas->GetVisuals(&currentVisuals),
1466 HRM(currentVisuals->Append(shadedPath),
1490 HRM(shadedPath->SetFillBrushLocal(fillBrush.get()),
1498 HRM(shadedPath->SetStrokeBrushLocal(strokeBrush.get()),
1500 HRM(shadedPath->SetStrokeThickness(
1507 HRM(shadedPath->GetStrokeDashes(&dashes),
1512 HRM(dashes->Append(&dash), "Could not add dashes to shaded path.");
1513 HRM(shadedPath->SetStrokeDashOffset(-2.0),
1776 HRM(this->fXpsFactory->CreateGeometry(&clipGeometry),
1781 HRM(clipGeometry->GetFigures(&clipFigures),
1789 HRM(clipGeometry->SetFillRule(fillRule),
1791 HRM(xpsVisual->SetClipGeometryLocal(clipGeometry.get()),
1901 HRM(SkIStream::CreateFromSkStream(fontData, true, &fontStream),
1912 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri),
1916 HRM(this->fXpsFactory->CreateFontResource(fontStream.get(),
1957 HRM(xpsFactory->CreateGlyphs(font->xpsFont, &glyphs), "Could not create glyphs.");
1958 HRM(glyphs->SetFontFaceIndex(font->ttcIndex), "Could not set glyph font face index.");
1971 HRM(glyphs->SetTransformLocal(xpsMatrixToUse.get()),
1981 HRM(glyphs->GetGlyphsEditor(&glyphsEditor), "Could not get glyph editor.");
1984 HRM(glyphsEditor->SetUnicodeString(text),
1989 HRM(glyphsEditor->SetGlyphIndices(xpsGlyphsLen, xpsGlyphs),
1993 HRM(glyphsEditor->ApplyEdits(), "Could not apply glyph edits.");
2001 HRM(glyphs->SetFillBrushLocal(xpsFillBrush.get()),
2004 HRM(glyphs->SetOrigin(origin), "Could not set glyph origin.");
2006 HRM(glyphs->SetFontRenderingEmSize(fontSize),
2009 HRM(glyphs->SetStyleSimulations(sims),
2013 HRM(canvas->GetVisuals(&visuals), "Could not get glyph canvas visuals.");
2017 HRM(visuals->Append(glyphs.get()), "Could not add glyphs to canvas.");
2020 HRM(this->fXpsFactory->CreateCanvas(&glyphCanvas),
2024 HRM(glyphCanvas->GetVisuals(&glyphCanvasVisuals),
2027 HRM(glyphCanvasVisuals->Append(glyphs.get()),
2031 HRM(visuals->Append(glyphCanvas.get()),