Home | History | Annotate | Download | only in cts

Lines Matching defs:transformation

104      * Render a pdf onto a bitmap <u>while</u> applying the transformation <u>in the</u>
111 * @param transformation The transformation of the PDF
118 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode,
125 page.render(bm, clipping, transformation, renderMode);
134 * another bitmap while applying the transformation. Hence use canvas' translation and clipping
141 * @param transformation The transformation of the PDF
148 @RawRes int docRes, @Nullable Rect clipping, @Nullable Matrix transformation,
165 if (transformation == null) {
166 // According to PdfRenderer.page#render transformation == null means that the bitmap
168 transformation = new Matrix();
171 transformation.postScale((float) clipping.width() / renderedBm.getWidth(),
173 transformation.postTranslate(clipping.left, clipping.top);
175 transformation.postScale((float) bmWidth / renderedBm.getWidth(),
182 canvas.drawBitmap(renderedBm, transformation, null);
229 * Render the PDF two times. Once with applying the transformation and clipping in the {@link
237 * @param transformation The transformation to apply
244 @Nullable Rect clipping, @Nullable Matrix transformation, int renderMode,
246 Bitmap a = renderWithTransform(width, height, docRes, clipping, transformation,
248 Bitmap b = renderAndThenTransform(width, height, docRes, clipping, transformation,
259 ", clipping:" + clipping + ", transform:" + transformation + ". Bitmaps " +