Searched refs:contentRect (Results 1 – 4 of 4) sorted by relevance
350 public Builder setContentRect(Rect contentRect) { in setContentRect() argument351 if (contentRect != null && (contentRect.left < 0 in setContentRect()352 || contentRect.top < 0 in setContentRect()353 || contentRect.right > mPageInfo.mPageWidth in setContentRect()354 || contentRect.bottom > mPageInfo.mPageHeight)) { in setContentRect()357 mPageInfo.mContentRect = contentRect; in setContentRect()
36 PageRecord(int width, int height, const SkRect& contentRect) in PageRecord()41 mContentRect = contentRect; in PageRecord()68 SkRect contentRect = SkRect::MakeLTRB( in startPage() local70 PageRecord* page = new PageRecord(width, height, contentRect); in startPage()75 SkRect::MakeWH(contentRect.width(), contentRect.height())); in startPage()
342 RectF contentRect; in writeBitmap() local344 contentRect = new RectF(page.getInfo().getContentRect()); in writeBitmap()351 contentRect = new RectF(dummyPage.getInfo().getContentRect()); in writeBitmap()359 contentRect, fittingMode); in writeBitmap()365 matrix.postTranslate(contentRect.left, contentRect.top); in writeBitmap()368 page.getCanvas().clipRect(contentRect); in writeBitmap()
285 void resize(Rect contentRect) { in resize() argument286 mContentRect.set(contentRect); in resize()