Lines Matching refs:HRM
98 HRM(CoCreateGuid(&guid), "Could not create GUID for id.");
101 HRM(E_UNEXPECTED, "Could not format GUID into id.");
178 HRM(CoCreateInstance(
198 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri),
201 HRM(thumbnailGenerator->GenerateThumbnail(page,
219 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri),
223 HRM(this->fXpsFactory->CreatePage(&pageSize,
236 HRM(this->fXpsFactory->CreatePartUri(L"/FixedDocumentSequence.fdseq",
239 HRM(this->fXpsFactory->CreatePackageWriterOnStream(
255 HRM(this->fXpsFactory->CreatePartUri(
259 HRM(this->fPackageWriter->StartNewDocument(partUri.get(),
412 HRM(current->xpsFont->GetEmbeddingOption(&embedding),
416 HRM(current->xpsFont->GetPartName(&partUri),
419 HRM(current->xpsFont->SetContent(
533 HRM(this->fXpsFactory->CreateMatrixTransform(&rawXpsMatrix, xpsTransform),
543 HRM(this->fXpsFactory->CreateGeometry(&geometry),
547 HRM(geometry->GetFigures(&figureCollection), "Could not get figures.");
548 HRM(figureCollection->Append(figure), "Could not add figure.");
550 HRM(this->fXpsFactory->CreatePath(path), "Could not create path.");
551 HRM((*path)->SetGeometryLocal(geometry.get()), "Could not set geometry");
553 HRM(visuals->Append(*path), "Could not add path to visuals.");
562 HRM(this->fXpsFactory->CreateSolidColorBrush(&xpsColor, NULL, &solidBrush),
564 HRM(solidBrush->SetOpacity(alpha / 255.0f), "Could not set opacity.");
565 HRM(solidBrush->QueryInterface<IXpsOMBrush>(xpsBrush), "QI Fail.");
580 HRM(this->fXpsFactory->CreateImageBrush(image,
585 HRM(areaToFillBrush->SetTileMode(XPS_TILE_MODE_FLIPXY),
587 HRM(areaToFillPath->SetFillBrushLocal(areaToFillBrush.get()),
604 HRM(areaToFillPath->SetFillBrushLocal(areaToFillBrush.get()),
637 HRM(E_FAIL, "Unable to encode bitmap as png.");
642 HRM(SkIStream::CreateFromSkStream(read, true, &readWrapper),
653 HRM(this->fXpsFactory->CreatePartUri(buffer, &imagePartUri),
657 HRM(this->fXpsFactory->CreateImageResource(
669 HRM(this->fXpsFactory->CreateImageBrush(imageResource.get(),
677 HRM(xpsImageBrush->SetTileMode(SkToXpsTileMode[xy[0]][xy[1]]),
679 HRM(xpsImageBrush->SetOpacity(alpha / 255.0f),
681 HRM(xpsImageBrush->QueryInterface(xpsBrush), "QI failed.");
691 HRM(this->fXpsFactory->CreateCanvas(&brushCanvas),
694 HRM(brushCanvas->GetVisuals(&brushVisuals),
706 HRM(xpsImageBrush->SetTileMode(XPS_TILE_MODE_FLIPXY),
708 HRM(centralPath->SetFillBrushLocal(xpsImageBrush.get()),
798 HRM(this->fXpsFactory->CreateVisualBrush(&bound, &bound, &clampBrush),
800 HRM(clampBrush->SetVisualLocal(brushCanvas.get()),
802 HRM(clampBrush->SetTileMode(SkToXpsTileMode[xy[0]][xy[1]]),
804 HRM(clampBrush->SetOpacity(alpha / 255.0f),
807 HRM(clampBrush->QueryInterface(xpsBrush), "QI failed.");
813 HRM((*xpsBrush)->SetTransformLocal(xpsMatrixToUse.get()),
826 HRM(this->fXpsFactory->CreateGradientStop(&gradStopXpsColor,
863 HRM(this->fXpsFactory->CreateLinearGradientBrush(gradStop0.get(),
870 HRM(gradientBrush->SetTransformLocal(xpsMatrix),
875 HRM(gradientBrush->GetGradientStops(&gradStopCollection),
882 HRM(gradStopCollection->Append(gradStop.get()),
886 HRM(gradientBrush->SetSpreadMethod(xps_spread_method(info.fTileMode)),
889 HRM(gradientBrush->SetOpacity(alpha / 255.0f),
891 HRM(gradientBrush->QueryInterface<IXpsOMBrush>(xpsBrush), "QI failed");
939 HRM(this->fXpsFactory->CreateRadialGradientBrush(gradStop0.get(),
947 HRM(gradientBrush->SetTransformLocal(xpsMatrix),
952 HRM(gradientBrush->GetGradientStops(&gradStopCollection),
959 HRM(gradStopCollection->Append(gradStop.get()),
963 HRM(gradientBrush->SetSpreadMethod(xps_spread_method(info.fTileMode)),
966 HRM(gradientBrush->SetOpacity(alpha / 255.0f),
968 HRM(gradientBrush->QueryInterface<IXpsOMBrush>(xpsBrush), "QI failed.");
1079 HRM(tileBrush->QueryInterface<IXpsOMBrush>(brush), "QI failed.");
1127 HRM(this->fXpsFactory->CreateGeometryFigure(&startPoint, xpsQuad),
1150 HRM((*xpsQuad)->SetSegments(
1156 HRM((*xpsQuad)->SetIsClosed(stroke), "Could not set quad close.");
1157 HRM((*xpsQuad)->SetIsFilled(fill), "Could not set quad fill.");
1306 HRM(figure->SetSegments(segmentTypes.count(), segmentData.count(),
1312 HRM(figure->SetIsClosed(stroke), "Could not set path closed.");
1313 HRM(figure->SetIsFilled(fill), "Could not set path fill.");
1316 HRM(figures->Append(figure), "Could not add path to geometry.");
1346 HRM(this->fXpsFactory->CreateGeometryFigure(&startPoint,
1407 HRM(shadedPath->GetGeometry(&shadedGeometry),
1412 HRM(shadedGeometry->GetFigures(&shadedFigures),
1415 HRM(shadedGeometry->SetFillRule(XPS_FILL_RULE_NONZERO),
1430 HRM(this->fXpsFactory->CreateCanvas(&newCanvas),
1435 HRM(this->fXpsFactory->CreateDictionary(&newDictionary),
1437 HRM(newCanvas->SetDictionaryLocal(newDictionary.get()),
1445 HRM(newDictionary->Append(buffer, this->fCurrentXpsCanvas.get()),
1450 HRM(newCanvas->GetVisuals(&newVisuals),
1455 HRM(this->fXpsFactory->CreateGeometry(&oldGeometry),
1459 HRM(oldGeometry->GetFigures(&oldFigures),
1464 HRM(oldFigures->Append(oldFigure.get()),
1468 HRM(this->fXpsFactory->CreateVisualBrush(&universeRectXps,
1474 HRM(this->fXpsFactory->CreatePath(&oldPath),
1476 HRM(oldPath->SetGeometryLocal(oldGeometry.get()),
1478 HRM(oldPath->SetFillBrushLocal(oldBrush.get()),
1481 HRM(newVisuals->Append(oldPath.get()),
1483 HRM(oldBrush->SetVisualLookup(buffer),
1489 HRM(shadedFigures->Append(shadedFigure.get()),
1493 HRM(newVisuals->Append(shadedPath),
1498 HRM(this->fXpsFactory->CreateCanvas(&topCanvas),
1505 HRM(this->fXpsFactory->CreateGeometry(&topGeometry),
1509 HRM(topGeometry->GetFigures(&topFigures),
1514 HRM(topFigures->Append(topFigure.get()),
1518 HRM(this->fXpsFactory->CreateVisualBrush(&universeRectXps,
1524 HRM(this->fXpsFactory->CreatePath(&topPath),
1526 HRM(topPath->SetGeometryLocal(topGeometry.get()),
1528 HRM(topPath->SetFillBrushLocal(topBrush.get()),
1531 HRM(newVisuals->Append(topCanvas.get()),
1534 HRM(topCanvas->GetVisuals(&topVisuals),
1536 HRM(topVisuals->Append(topPath.get()),
1538 HRM(topBrush->SetVisualLookup(buffer),
1576 HRM(shadedPath->GetGeometry(&shadedGeometry),
1581 HRM(shadedGeometry->GetFigures(&shadedFigures),
1603 HRM(shadedPath->SetOpacityMaskBrushLocal(maskBrush.get()),
1609 HRM(this->createXpsRect(universeRect, FALSE, TRUE, &shadedFigure),
1611 HRM(shadedFigures->Append(shadedFigure.get()),
1618 HRM(this->fCurrentXpsCanvas->GetVisuals(¤tVisuals),
1620 HRM(currentVisuals->Append(shadedPath),
1644 HRM(shadedPath->SetFillBrushLocal(fillBrush.get()),
1652 HRM(shadedPath->SetStrokeBrushLocal(strokeBrush.get()),
1654 HRM(shadedPath->SetStrokeThickness(
1661 HRM(shadedPath->GetStrokeDashes(&dashes),
1666 HRM(dashes->Append(&dash), "Could not add dashes to shaded path.");
1667 HRM(shadedPath->SetStrokeDashOffset(-2.0),
1938 HRM(this->fXpsFactory->CreateGeometry(&clipGeometry),
1943 HRM(clipGeometry->GetFigures(&clipFigures),
1951 HRM(clipGeometry->SetFillRule(fillRule),
1953 HRM(xpsVisual->SetClipGeometryLocal(clipGeometry.get()),
2063 HRM(SkIStream::CreateFromSkStream(fontData, true, &fontStream),
2074 HRM(this->fXpsFactory->CreatePartUri(buffer, &partUri),
2078 HRM(this->fXpsFactory->CreateFontResource(fontStream.get(),
2119 HRM(xpsFactory->CreateGlyphs(font->xpsFont, &glyphs), "Could not create glyphs.");
2120 HRM(glyphs->SetFontFaceIndex(font->ttcIndex), "Could not set glyph font face index.");
2133 HRM(glyphs->SetTransformLocal(xpsMatrixToUse.get()),
2143 HRM(glyphs->GetGlyphsEditor(&glyphsEditor), "Could not get glyph editor.");
2146 HRM(glyphsEditor->SetUnicodeString(text),
2151 HRM(glyphsEditor->SetGlyphIndices(xpsGlyphsLen, xpsGlyphs),
2155 HRM(glyphsEditor->ApplyEdits(), "Could not apply glyph edits.");
2163 HRM(glyphs->SetFillBrushLocal(xpsFillBrush.get()),
2166 HRM(glyphs->SetOrigin(origin), "Could not set glyph origin.");
2168 HRM(glyphs->SetFontRenderingEmSize(fontSize),
2171 HRM(glyphs->SetStyleSimulations(sims),
2175 HRM(canvas->GetVisuals(&visuals), "Could not get glyph canvas visuals.");
2179 HRM(visuals->Append(glyphs.get()), "Could not add glyphs to canvas.");
2182 HRM(this->fXpsFactory->CreateCanvas(&glyphCanvas),
2186 HRM(glyphCanvas->GetVisuals(&glyphCanvasVisuals),
2189 HRM(glyphCanvasVisuals->Append(glyphs.get()),
2193 HRM(visuals->Append(glyphCanvas.get()),