Home | History | Annotate | Download | only in pdf

Lines Matching full:bbox

24 static bool inverse_transform_bbox(const SkMatrix& matrix, SkRect* bbox) {
29 inverse.mapRect(bbox);
438 const SkIRect& bbox, SkScalar rasterScale);
541 SkRect& bbox,
552 pattern->insertObject("BBox", SkPDFUtils::RectToArray(bbox));
553 pattern->insertScalar("XStep", bbox.width());
554 pattern->insertScalar("YStep", bbox.height());
581 * luminosity mode. The shader pattern extends to the bbox.
585 SkRect bbox;
586 bbox.set(state.fBBox);
593 SkAutoTDelete<SkStream> alphaStream(create_pattern_fill_content(-1, bbox));
599 new SkPDFFormXObject(alphaStream.get(), bbox, resources.get()));
611 SkRect bbox;
612 bbox.set(state.fBBox);
634 create_pattern_fill_content(0, bbox));
637 populate_tiling_pattern_dict(alphaFunctionShader, bbox, resourceDict.get(),
752 // info->fPoints to the matrix (updating bbox appropriately). Now
774 SkRect bbox;
775 bbox.set(state.fBBox);
776 if (!inverse_transform_bbox(finalMatrix, &bbox)) {
782 domain->appendScalar(bbox.fLeft);
783 domain->appendScalar(bbox.fRight);
784 domain->appendScalar(bbox.fTop);
785 domain->appendScalar(bbox.fBottom);
1100 const SkIRect& bbox, SkScalar rasterScale)
1102 fBBox(bbox),
1118 // * allocate a bbox-sized bitmap
1122 // bbox is in device space. While that's exactly what we want for sizing our bitmap,
1125 SkRect shaderRect = SkRect::Make(bbox);
1133 SkScalar bitmapArea = rasterScale * bbox.width() * rasterScale * bbox.height();
1138 SkISize size = SkISize::Make(SkScalarRoundToInt(rasterScale * bbox.width()),
1139 SkScalarRoundToInt(rasterScale * bbox.height()));