Searched defs:pf (Results 1 - 25 of 25) sorted by relevance

/openjdk7/jdk/test/java/awt/print/PrinterJob/ImagePrinting/
H A DPrintARGBImage.java58 public int print(Graphics g, PageFormat pf, int pageIndex) argument
65 g2.translate(pf.getImageableX(), pf.getImageableY());
H A DClippedImages.java204 PageFormat pf = myPrinterJob.defaultPage();
208 pf.setOrientation(PageFormat.PORTRAIT);
212 pf.setOrientation(PageFormat.LANDSCAPE);
215 return pf;
218 String getOrientStr(PageFormat pf) { argument
219 if (pf.getOrientation() == PageFormat.PORTRAIT) {
/openjdk7/jdk/test/java/awt/print/PrinterJob/
H A DMargins.java64 public int print(Graphics g, PageFormat pf, int page) argument
70 int ix = (int)pf.getImageableX();
71 int iy = (int)pf.getImageableY();
72 int iw = (int)pf.getImageableWidth();
73 int ih = (int)pf.getImageableHeight();
79 Paper paper = pf.getPaper();
H A DPageFormatChange.java81 public static void displayPageFormat(PageFormat pf) argument
84 System.out.println("ImageableX = " + pf.getImageableX());
85 System.out.println("ImageableY = " + pf.getImageableY());
86 System.out.println("ImageableWidth = " + pf.getImageableWidth());
87 System.out.println("ImageableHeight = " + pf.getImageableHeight());
88 System.out.println("Width = " + pf.getWidth());
89 System.out.println("Height = " + pf.getHeight());
H A DSameService.java50 public int print(Graphics g, PageFormat pf, int pi) argument
H A DPageRanges.java66 public int print(Graphics g, PageFormat pf, int pi) argument
H A DPrtException.java63 public int print(Graphics g,PageFormat pf,int pageIndex) { argument
68 g2.translate(pf.getImageableX(), pf.getImageableY());
H A DPrintLatinCJKTest.java49 private PageFormat pf; field in class:PrintLatinCJKTest
70 public int print(Graphics g, PageFormat pf, int pageIndex) argument
76 g.translate((int) pf.getImageableX(), (int) pf.getImageableY());
H A DCollate2DPrintingTest.java78 public int print(Graphics g, PageFormat pf, int pageIndex) argument
/openjdk7/jdk/test/javax/print/PrintSE/
H A DPrintSE.java47 public int print(Graphics g, PageFormat pf, int pg) { argument
/openjdk7/jdk/test/javax/print/
H A DStreamPrintingOrientation.java106 public int print(Graphics g, PageFormat pf, int pi) throws PrinterException { argument
114 g2.translate(pf.getImageableX(), pf.getImageableY());
115 System.out.println("StreamPrinting Test Width "+pf.getWidth()+" Height "+pf.getHeight());
/openjdk7/jdk/src/share/classes/sun/print/
H A DImagePrinter.java55 public int print(Graphics g, PageFormat pf, int index) { argument
61 ((Graphics2D)g).translate(pf.getImageableX(), pf.getImageableY());
64 int iw = (int)pf.getImageableWidth();
65 int ih = (int)pf.getImageableHeight();
H A DPSPrinterJob.java2135 public int print(Graphics g, PageFormat pf, int pgIndex) { argument
2165 private PageFormat pf; field in class:PSPrinterJob.EPSPrinter
2189 pf = new PageFormat();
2190 pf.setPaper(p);
2234 return pf;
/openjdk7/jdk/src/share/classes/sun/security/provider/
H A DPolicySpiFile.java46 private PolicyFile pf; field in class:PolicySpiFile
51 pf = new PolicyFile();
59 pf = new PolicyFile(uriParam.getURI().toURL());
67 return pf.getPermissions(codesource);
71 return pf.getPermissions(d);
75 return pf.implies(d, p);
79 pf.refresh();
/openjdk7/jdk/src/share/classes/sun/swing/text/
H A DCompoundPrintable.java48 final PageFormat pf,
52 ret = printables.peek().print(graphics, pf, pageIndex - offset);
47 print(final Graphics graphics, final PageFormat pf, final int pageIndex) argument
H A DTextComponentPrintable.java456 final PageFormat pf,
462 layout((int)Math.floor(pf.getImageableWidth()));
469 return printOnEDT(graphics, pf, pageIndex);
492 ret = printOnEDT(graphics, pf, pageIndex);
505 final PageFormat pf,
528 (int)Math.floor(pf.getImageableHeight()) - borderInsets.top
537 g2d.translate(pf.getImageableX(), pf.getImageableY());
539 (int)Math.floor(pf.getImageableWidth()),
540 (int)Math.floor(pf
455 print(final Graphics graphics, final PageFormat pf, final int pageIndex) argument
504 printOnEDT(final Graphics graphics, final PageFormat pf, final int pageIndex) argument
[all...]
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCPrinterGraphicsConfig.java34 public static CPrinterGraphicsConfig getConfig(PageFormat pf) { argument
35 return new CPrinterGraphicsConfig(pf);
39 PageFormat pf; field in class:CPrinterGraphicsConfig
41 public CPrinterGraphicsConfig(PageFormat pf) { argument
43 this.pf = pf;
47 return pf;
210 return new Rectangle(0, 0, (int)pf.getWidth(), (int)pf.getHeight());
H A DCPrinterSurfaceData.java43 public static SurfaceData createData(PageFormat pf, long context) { argument
44 return new CPrinterSurfaceData(CPrinterGraphicsConfig.getConfig(pf), context);
/openjdk7/jdk/test/java/awt/print/Dialog/
H A DDialogOrient.java83 public int print(Graphics g, PageFormat pf, int pageIndex) { argument
86 if (pf.getOrientation() != PageFormat.LANDSCAPE) {
90 g2d.translate(pf.getImageableX(), pf.getImageableY());
93 double iw = pf.getImageableWidth();
94 double ih = pf.getImageableHeight();
/openjdk7/jdk/src/windows/native/sun/java2d/opengl/
H A DWGLSurfaceData.c586 OGLPixelFormat pf = PixelFormats[0/*PF_INT_ARGB_PRE*/]; local
617 j2d_glPixelStorei(GL_PACK_ALIGNMENT, pf.alignment);
627 pf.format, pf.type, pDst);
/openjdk7/jdk/src/share/native/sun/java2d/opengl/
H A DOGLBlitLoops.c174 OGLPixelFormat *pf,
186 if (!pf->hasAlpha) {
215 j2d_glDrawPixels(width, 1, pf->format, pf->type, pSrc);
221 j2d_glDrawPixels(sx2-sx1, sy2-sy1, pf->format, pf->type, srcInfo->rasBase);
229 if (!pf->hasAlpha) {
259 OGLPixelFormat *pf, OGLSDOps *srcOps,
269 jboolean adjustAlpha = (pf != NULL && !pf
173 OGLBlitSwToSurface(OGLContext *oglc, SurfaceDataRasInfo *srcInfo, OGLPixelFormat *pf, jint sx1, jint sy1, jint sx2, jint sy2, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2) argument
258 OGLBlitToSurfaceViaTexture(OGLContext *oglc, SurfaceDataRasInfo *srcInfo, OGLPixelFormat *pf, OGLSDOps *srcOps, jboolean swsurface, jint hint, jint sx1, jint sy1, jint sx2, jint sy2, jdouble dx1, jdouble dy1, jdouble dx2, jdouble dy2) argument
392 OGLBlitSwToTexture(SurfaceDataRasInfo *srcInfo, OGLPixelFormat *pf, OGLSDOps *dstOps, jint dx1, jint dy1, jint dx2, jint dy2) argument
575 OGLPixelFormat pf = PixelFormats[srctype]; local
707 OGLPixelFormat pf = PixelFormats[dsttype]; local
[all...]
/openjdk7/jdk/src/share/classes/sun/applet/
H A DAppletViewer.java771 public int print(Graphics graphics, PageFormat pf, int pageIndex) { argument
776 g2d.translate(pf.getImageableX(), pf.getImageableY());
/openjdk7/jdk/src/windows/native/java/io/
H A DWinNTFileSystem_md.c832 jchar *pf = p; local
836 free (pf);
/openjdk7/jdk/src/share/native/sun/java2d/cmm/lcms/
H A DLCMS.c98 cmsHPROFILE pf; member in union:storeID_s
188 icc = sTrans.pf;
249 sProf.pf = cmsOpenProfileFromMem((const void *)dataArray,
254 if (sProf.pf == NULL) {
272 if (cmsCloseProfile(sProf.pf) == 0) {
293 if (cmsSaveProfileToMem(sProf.pf, NULL, &pfSize) && ((jint)pfSize > 0)) {
319 if (!cmsSaveProfileToMem(sProf.pf, NULL, &pfSize)) {
335 status = cmsSaveProfileToMem(sProf.pf, dataArray, &pfSize);
347 static cmsBool _getHeaderInfo(cmsHPROFILE pf, jbyte* pBuffer, jint bufferSize);
348 static cmsBool _setHeaderInfo(cmsHPROFILE pf, jbyt
632 Java_sun_java2d_cmm_lcms_LCMS_getProfileID(JNIEnv *env, jclass cls, jobject pf) argument
667 _getHeaderInfo(cmsHPROFILE pf, jbyte* pBuffer, jint bufferSize) argument
694 _setHeaderInfo(cmsHPROFILE pf, jbyte* pBuffer, jint bufferSize) argument
[all...]
/openjdk7/jdk/src/share/demo/jfc/Font2DTest/
H A DFontPanel.java1016 public int print( Graphics g, PageFormat pf, int pageIndex ) { argument
1032 int pageWidth = (int) pf.getImageableWidth();
1033 int pageHeight = (int) pf.getImageableHeight();
1044 g.translate( (int) pf.getImageableX(), (int) pf.getImageableY() + 60 );

Completed in 393 milliseconds