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