Searched refs:matrix (Results 1 - 25 of 30) sorted by relevance

12

/openjdk7/jdk/src/share/classes/java/awt/print/
H A DPageFormat.java323 * Returns a transformation matrix that translates user
330 * @return the matrix used to translate user space rendering
335 double[] matrix = new double[6];
340 matrix[0] = 0; matrix[1] = -1;
341 matrix[2] = 1; matrix[3] = 0;
342 matrix[4] = 0; matrix[5] = mPaper.getHeight();
346 matrix[
[all...]
/openjdk7/jdk/src/share/classes/sun/java2d/loops/
H A DFontInfo.java60 public String mtx(double[] matrix) { argument
62 matrix[0]+", "+
63 matrix[1]+", "+
64 matrix[2]+", "+
65 matrix[3]+
/openjdk7/jdk/src/share/classes/com/sun/java/util/jar/pack/
H A DHistogram.java40 protected final int[][] matrix; // multi-row matrix {{counti,valueij...}} field in class:Histogram
59 this.matrix = makeMatrix(hist2col);
68 /** Build a histogram given a compact matrix of counts and values. */
70 Histogram(int[][] matrix) { argument
72 matrix = normalizeMatrix(matrix); // clone and sort
73 this.matrix = matrix;
76 for (int i = 0; i < matrix
230 normalizeMatrix(int[][] matrix) argument
496 regroupHistogram(int[][] matrix, int[] groups) argument
[all...]
H A DCodingChooser.java676 int[][] matrix = hist.getMatrix();
682 // Take it from the end of the current matrix row.
686 mrowFreq = matrix[mrow][0];
687 mcol = matrix[mrow].length;
689 int thisValue = matrix[mrow][--mcol];
1241 int[][] matrix = hist.getMatrix();
1242 for (int mrow = 0; mrow < matrix.length; mrow++) {
1243 int[] row = matrix[mrow];
/openjdk7/jdk/src/share/classes/java/awt/image/
H A DBandCombineOp.java39 * in a <CODE>Raster</CODE>, using a specified matrix.
41 * The width of the matrix must be equal to the number of bands in the
43 * column in the matrix than the number of bands, there is an implied 1 at the
45 * of the matrix must be equal to the number of bands in the destination.
61 float[][] matrix; field in class:BandCombineOp
67 * Constructs a <CODE>BandCombineOp</CODE> with the specified matrix.
68 * The width of the matrix must be equal to the number of bands in
70 * more column in the matrix than the number of bands, there is an implied
72 * height of the matrix must be equal to the number of bands in the
80 * @param matrix Th
84 BandCombineOp(float[][] matrix, RenderingHints hints) argument
[all...]
/openjdk7/jdk/src/share/classes/sun/awt/image/
H A DImagingLib.java77 double[] matrix, int interpType);
79 double[] matrix,
185 double[] matrix = new double[6];
186 bOp.getTransform().getMatrix(matrix);
187 if (transformRaster(src, dst, matrix,
250 double[] matrix = new double[6];
252 bOp.getTransform().getMatrix(matrix);
254 if (transformBI(src, dst, matrix,
76 transformBI(BufferedImage src, BufferedImage dst, double[] matrix, int interpType) argument
78 transformRaster(Raster src, Raster dst, double[] matrix, int interpType) argument
/openjdk7/jdk/src/share/native/sun/font/
H A DFontInstanceAdapter.cpp41 float *matrix,
51 xPointSize = euclidianDistance(matrix[0], matrix[1]);
52 yPointSize = euclidianDistance(matrix[2], matrix[3]);
54 txMat[0] = matrix[0]/xPointSize;
55 txMat[1] = matrix[1]/xPointSize;
56 txMat[2] = matrix[2]/yPointSize;
57 txMat[3] = matrix[3]/yPointSize;
38 FontInstanceAdapter(JNIEnv *theEnv, jobject theFont2D, jobject theFontStrike, float *matrix, le_int32 xRes, le_int32 yRes, le_int32 theUPEM, TTLayoutTableCache *ltables) argument
H A DFontInstanceAdapter.h75 float *matrix, le_int32 xRes, le_int32 yRes,
/openjdk7/jdk/src/share/classes/sun/dc/
H A DDuctusRenderingEngine.java65 float matrix[] = new float[4];
69 matrix[i] = (float) dmatrix[i];
71 return matrix;
132 float matrix[] = null;
136 matrix = getTransformMatrix(transform);
138 stroker.setPenT4(matrix);
148 if (transform != null && matrix == null) {
149 matrix = getTransformMatrix(transform);
151 dasher.setDashT4(matrix);
401 float matrix[]
[all...]
/openjdk7/jdk/src/share/classes/sun/font/
H A DFileFontStrike.java143 double[] matrix = new double[4];
145 at.getMatrix(matrix);
177 if (Double.isNaN(matrix[0]) || Double.isNaN(matrix[1]) ||
178 Double.isNaN(matrix[2]) || Double.isNaN(matrix[3]) ||
182 pScalerContext = fileFont.getScaler().createScalerContext(matrix,
198 float ptSize = (float)matrix[3]; // interpreted only when meaningful.
236 (matrix[1] == 0.0 && matrix[
[all...]
H A DGraphicComponent.java209 double[] matrix = { 1, 0, 0, 1, x, y };
212 AffineTransform tx = new AffineTransform(matrix);
218 AffineTransform tx = new AffineTransform(matrix);
220 matrix[4] += graphicAdvance;
H A DNullFontScaler.java69 long createScalerContext(double[] matrix, int aa, argument
H A DFreetypeFontScaler.java213 long createScalerContext(double[] matrix, argument
217 return createScalerContextNative(nativeScaler, matrix,
256 native long createScalerContextNative(long pScaler, double[] matrix, argument
H A DFontScaler.java244 abstract long createScalerContext(double[] matrix, argument
H A DFontDesignMetrics.java126 private double[] matrix; field in class:FontDesignMetrics
349 matrix = new double[4];
/openjdk7/jdk/src/share/native/sun/awt/splashscreen/
H A Dsplashscreen_gfx_impl.h80 format->dithers[0].matrix[col & DITHER_MASK][row & DITHER_MASK]];
82 format->dithers[1].matrix[col & DITHER_MASK][row & DITHER_MASK]];
84 format->dithers[2].matrix[col & DITHER_MASK][row & DITHER_MASK]];
H A Dsplashscreen_gfx.h53 unsigned matrix[DITHER_SIZE][DITHER_SIZE]; member in struct:DitherSettings
/openjdk7/jdk/src/solaris/native/sun/java2d/x11/
H A DXRBackendNative.c96 TRANSFORM.matrix[0][0] = M00; \
97 TRANSFORM.matrix[0][1] = M01; \
98 TRANSFORM.matrix[0][2] = M02; \
99 TRANSFORM.matrix[1][0] = M10; \
100 TRANSFORM.matrix[1][1] = M11; \
101 TRANSFORM.matrix[1][2] = M12; \
102 TRANSFORM.matrix[2][0] = 0; \
103 TRANSFORM.matrix[2][1] = 0; \
104 TRANSFORM.matrix[2][2] = 1<<16; \
/openjdk7/jdk/src/share/native/sun/awt/medialib/
H A Dawt_ImagingLib.c747 double *matrix; local
786 * if given matrix array is too short, we can't handle it
791 matrix = (*env)->GetPrimitiveArrayCritical(env, jmatrix, NULL);
792 if (matrix == NULL) {
798 printf("matrix is %g %g %g %g %g %g\n", matrix[0], matrix[1],
799 matrix[2], matrix[3], matrix[
955 double *matrix; local
[all...]
/openjdk7/jdk/src/share/native/sun/font/layout/
H A DSunLayoutEngine.cpp171 (JNIEnv *env, jclass cls, jobject font2d, jobject strike, jfloatArray matrix, jint gmask,
178 env->GetFloatArrayRegion(matrix, 0, 4, mat);
170 Java_sun_font_SunLayoutEngine_nativeLayout(JNIEnv *env, jclass cls, jobject font2d, jobject strike, jfloatArray matrix, jint gmask, jint baseIndex, jcharArray text, jint start, jint limit, jint min, jint max, jint script, jint lang, jint typo_flags, jobject pt, jobject gvdata, jlong upem, jlong layoutTables) argument
/openjdk7/jdk/make/sun/cmm/kcms/
H A DFILES_c_unix.gmk84 matrix.c \
H A DFILES_c_windows.gmk85 matrix.c \
/openjdk7/jdk/src/share/classes/sun/java2d/pipe/
H A DDrawImage.java853 // Check out the matrix. A non-integral scale will force ARGB
869 double[] matrix = new double[6];
870 tx.getMatrix(matrix);
871 if (matrix[1] == 0. && matrix[2] ==0.
872 && matrix[4] == 0. && matrix[5] == 0.) {
890 } /* if (matrix[0] < 1.f ...) */
/openjdk7/jdk/src/share/classes/sun/java2d/
H A DSunGraphics2D.java1051 * Given a 2 x 2 affine matrix [ A B ] such that
1435 * AffineTransform represented by the following matrix:
1451 * AffineTransform represented by the following matrix:
1490 * AffineTransform represented by the following matrix:
1506 * AffineTransform represented by the following matrix:
1968 double matrix[] = new double[4];
1969 matrix[0] = rect.getX();
1970 matrix[1] = rect.getY();
1971 matrix[2] = matrix[
[all...]
/openjdk7/jdk/src/share/classes/sun/print/
H A DPSPrinterJob.java1786 double[] matrix = new double[6];
1787 transform.getMatrix(matrix);
1788 mPSStream.println("[" + (float)matrix[0]
1789 + " " + (float)matrix[1]
1790 + " " + (float)matrix[2]
1791 + " " + (float)matrix[3]
1792 + " " + (float)matrix[4]
1793 + " " + (float)matrix[5]

Completed in 102 milliseconds

12