HomeSort by relevance Sort by last modified time
    Searched full:cropbox (Results 1 - 19 of 19) sorted by null

  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
PdfManipulationService.java 277 Rect cropBox = new Rect();
318 if (mEditor.getPageCropBox(i, cropBox)) {
319 cropBox.left = (int) (cropBox.left * scale + 0.5f);
320 cropBox.top = (int) (cropBox.top * scale + 0.5f);
321 cropBox.right = (int) (cropBox.right * scale + 0.5f);
322 cropBox.bottom = (int) (cropBox.bottom * scale + 0.5f)
    [all...]
  /frameworks/base/graphics/java/android/graphics/pdf/
PdfEditor.java 192 * @param cropBox The crop box.
194 public void setPageCropBox(int pageIndex, @NonNull Rect cropBox) {
196 throwIfCropBoxNull(cropBox);
198 nativeSetPageCropBox(mNativeDocument, pageIndex, cropBox);
298 private void throwIfCropBoxNull(Rect cropBox) {
299 if (cropBox == null) {
300 throw new NullPointerException("cropBox cannot be null");
  /external/pdfium/testing/resources/
bug_551248.in 19 /CropBox [0 0 612 792]
bug_487928.in 19 /CropBox [0 0 612 792]
  /external/pdfium/fpdfsdk/src/
fpdfppo.cpp 120 // Search the "CropBox" from source page dictionary,
122 pInheritable = PageDictGetInheritableTag(pSrcPageDict, "CropBox");
145 // 3 CropBox //Optional
146 if (!pCurPageDict->KeyExist("CropBox")) {
147 pInheritable = PageDictGetInheritableTag(pSrcPageDict, "CropBox");
149 pCurPageDict->SetAt("CropBox", pInheritable->Clone());
fpdf_transformpage.cpp 69 SetBoundingBox(pPage, "CropBox", left, bottom, right, top);
87 return pPage && GetBoundingBox(pPage, "CropBox", left, bottom, right, top);
fpdf_flatten.cpp 339 if (pPageDict->KeyExist("CropBox"))
340 rcOriginalMB = pPageDict->GetRect("CropBox");
  /external/ImageMagick/coders/
xps.c 104 #define CropBox "CropBox"
226 if (LocaleNCompare(CropBox,command,strlen(CropBox)) == 0)
231 count=(ssize_t) sscanf(command,"CropBox [%lf %lf %lf %lf",
234 count=(ssize_t) sscanf(command,"CropBox[%lf %lf %lf %lf",
pcl.c 152 #define CropBox "CropBox"
274 if (LocaleNCompare(CropBox,command,strlen(CropBox)) == 0)
279 count=(ssize_t) sscanf(command,"CropBox [%lf %lf %lf %lf",
282 count=(ssize_t) sscanf(command,"CropBox[%lf %lf %lf %lf",
pdf.c 381 #define CropBox "CropBox"
427 cropbox,
518 cropbox=IsStringTrue(GetImageOption(image_info,"pdf:use-cropbox"));
584 if (cropbox != MagickFalse)
586 if (LocaleNCompare(CropBox,command,strlen(CropBox)) == 0)
591 count=(ssize_t) sscanf(command,"CropBox [%lf %lf %lf %lf",
594 count=(ssize_t) sscanf(command,"CropBox[%lf %lf %lf %lf"
421 cropbox, local
    [all...]
ps.c 893 option=GetImageOption(image_info,"eps:use-cropbox");
    [all...]
  /external/pdfium/public/
fpdf_transformpage.h 35 * Set "CropBox" entry to the page dictionary.
67 /** Get "CropBox" entry from the page dictionary.
  /external/skia/include/device/xps/
SkXPSDevice.h 59 @param cropBox The size of the recommended view port in physical units.
70 const SkRect* cropBox = NULL);
  /external/ImageMagick/ImageMagick/script/
formats.html 736 <td>Requires <a href="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read. By default, ImageMagick sets the page size to the MediaBox. Some PDF files, however, have a CropBox or TrimBox that is smaller than the MediaBox and may include white space, registration or cutting marks outside the CropBox or TrimBox. To force ImageMagick to use the CropBox or TrimBox rather than the MediaBox, use <a href="command-line-options.php#define">-define</a> (e.g. <code>-define pdf:use-cropbox=true</code> or <code>-define pdf:use-trimbox=true</code>). Use <a href="command-line-options.php#density">-density</a> to improve the appearance of your PDF rendering (e.g. -density 300x300). Use <a href="command-line-options.php#alpha">-alpha remove </a> to remove transparency. To specify direct conversion from Postscript to PDF, use <code>-define delegate:bimodel=true</code>. Use <code>-define pdf:fit-page=true</code> to scale to the page size. To immediately stop processing upon an error, set <code>-define pdf:stop-on-error</code> to <code>true</code>.</td>
    [all...]
command-line-options.html     [all...]
  /external/ImageMagick/www/
formats.html 740 <td>Requires <a href="http://www.cs.wisc.edu/%7Eghost">Ghostscript</a> to read. By default, ImageMagick sets the page size to the MediaBox. Some PDF files, however, have a CropBox or TrimBox that is smaller than the MediaBox and may include white space, registration or cutting marks outside the CropBox or TrimBox. To force ImageMagick to use the CropBox or TrimBox rather than the MediaBox, use <a href="command-line-options.html#define">-define</a> (e.g. <code>-define pdf:use-cropbox=true</code> or <code>-define pdf:use-trimbox=true</code>). Use <a href="command-line-options.html#density">-density</a> to improve the appearance of your PDF rendering (e.g. -density 300x300). Use <a href="command-line-options.html#alpha">-alpha remove </a> to remove transparency. To specify direct conversion from Postscript to PDF, use <code>-define delegate:bimodel=true</code>. Use <code>-define pdf:fit-page=true</code> to scale to the page size. To immediately stop processing upon an error, set <code>-define pdf:stop-on-error</code> to <code>true</code>. To set the page direction preferences to right-to-left, try <code>-define pdf:page-direction=right-to-left</code>.</td>
    [all...]
command-line-options.html     [all...]
  /external/pdfium/core/src/fpdfapi/fpdf_page/
fpdf_page.cpp 827 CPDF_Array* pCropBox = ToArray(GetPageAttr("CropBox"));
  /external/skia/src/device/xps/
SkXPSDevice.cpp 175 const SkRect* cropBox) {
    [all...]

Completed in 3498 milliseconds