/dports/print/cups-filters/cups-filters-1.28.10/filter/pdftopdf/ |
H A D | qpdf_pdftopdf.cc | 106 ctm[2]=-ctm[2]; in rotate() 107 ctm[3]=-ctm[3]; in rotate() 110 ctm[0]=-ctm[0]; in rotate() 111 ctm[3]=-ctm[3]; in rotate() 116 ctm[0]=-ctm[0]; in rotate() 117 ctm[1]=-ctm[1]; in rotate() 162 ctm[4]+=ctm[0]*tx+ctm[2]*ty; in translate() 163 ctm[5]+=ctm[1]*tx+ctm[3]*ty; in translate() 183 ctm[0] = tmp[0]*rhs.ctm[0] + tmp[2]*rhs.ctm[1]; in operator *=() 184 ctm[1] = tmp[1]*rhs.ctm[0] + tmp[3]*rhs.ctm[1]; in operator *=() [all …]
|
/dports/devel/plan9port/plan9port-1f098efb7370a0b28306d10681e21883fb1c1507/src/cmd/postscript/common/ |
H A D | bbox.c | 99 x = ctm[0] * ubbox.llx + ctm[2] * ubbox.lly + ctm[4]; 100 y = ctm[1] * ubbox.llx + ctm[3] * ubbox.lly + ctm[5]; 102 x = ctm[0] * ubbox.llx + ctm[2] * ubbox.ury + ctm[4]; 103 y = ctm[1] * ubbox.llx + ctm[3] * ubbox.ury + ctm[5]; 105 x = ctm[0] * ubbox.urx + ctm[2] * ubbox.ury + ctm[4]; 106 y = ctm[1] * ubbox.urx + ctm[3] * ubbox.ury + ctm[5]; 108 x = ctm[0] * ubbox.urx + ctm[2] * ubbox.lly + ctm[4]; 109 y = ctm[1] * ubbox.urx + ctm[3] * ubbox.lly + ctm[5]; 245 m2[0] = ctm[0]; 246 m2[1] = ctm[1]; [all …]
|
/dports/cad/openctm/OpenCTM-1.0.3/tools/ |
H A D | ctm.cpp | 42 CTMimporter ctm; in Import_CTM() local 45 ctm.Load(aFileName); in Import_CTM() 71 if(ctm.GetInteger(CTM_HAS_NORMALS) == CTM_TRUE) in Import_CTM() 84 if(ctm.GetInteger(CTM_UV_MAP_COUNT) > 0) in Import_CTM() 120 CTMexporter ctm; in Export_CTM() local 149 ctm.FileComment(aMesh->mComment.c_str()); in Export_CTM() 152 ctm.CompressionMethod(aOptions.mMethod); in Export_CTM() 153 ctm.CompressionLevel(aOptions.mLevel); in Export_CTM() 157 ctm.VertexPrecision(aOptions.mVertexPrecision); in Export_CTM() 162 ctm.NormalPrecision(aOptions.mNormalPrecision); in Export_CTM() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.CodeDom/ |
H A D | CodeTypeMemberCollectionCas.cs | 44 private CodeTypeMember ctm; field in MonoCasTests.System.CodeDom.CodeTypeMemberCollectionCas 50 ctm = new CodeTypeMember (); in FixtureSetUp() 51 array = new CodeTypeMember[1] { ctm }; in FixtureSetUp() 66 Assert.AreEqual (0, coll.Add (ctm), "Add"); in Constructor0_Deny_Unrestricted() 67 Assert.AreSame (ctm, coll[0], "this[int]"); in Constructor0_Deny_Unrestricted() 73 coll.Insert (0, ctm); in Constructor0_Deny_Unrestricted() 74 coll.Remove (ctm); in Constructor0_Deny_Unrestricted() 89 coll.Insert (0, ctm); in Constructor1_Deny_Unrestricted() 90 coll.Remove (ctm); in Constructor1_Deny_Unrestricted() 106 coll.Insert (0, ctm); in Constructor2_Deny_Unrestricted() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/skia/tests/ |
H A D | ShadowTest.cpp | 129 ctm.mapRect(&bounds); in check_xformed_bounds() 148 SkMatrix ctm; in check_bounds() local 149 ctm.setTranslate(100, 100); in check_bounds() 151 ctm.postScale(2, 2); in check_bounds() 153 ctm.preRotate(45); in check_bounds() 155 ctm.preSkew(40, -20); in check_bounds() 158 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds() 159 ctm[SkMatrix::kMPersp1] = 12.f; in check_bounds() 161 ctm[SkMatrix::kMPersp0] = 0.0001f; in check_bounds() 162 ctm[SkMatrix::kMPersp1] = -12.f; in check_bounds() [all …]
|
/dports/graphics/mupdf/mupdf-1.18.0-source/platform/java/example/ |
H A D | TraceDevice.java | 64 public void clipPath(Path path, boolean evenOdd, Matrix ctm) { in clipPath() argument 65 System.out.println("clipPath " + evenOdd + " " + ctm); in clipPath() 84 public void clipText(Text text, Matrix ctm) { in clipText() argument 85 System.out.println("clipText " + ctm); in clipText() 94 public void ignoreText(Text text, Matrix ctm) { in ignoreText() argument 95 System.out.println("ignoreText " + ctm); in ignoreText() 99 public void fillShade(Shade shd, Matrix ctm, float alpha, int cp) { in fillShade() argument 100 System.out.println("fillShade " + ctm + " " + alpha); in fillShade() 104 System.out.println("fillImage " + ctm + " " + alpha); in fillImage() 111 public void clipImageMask(Image img, Matrix ctm) { in clipImageMask() argument [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 272 gs_matrix_fixed ctm; member 420 pgs->ctm.tx += pt.x; in gs_translate() 421 pgs->ctm.ty += pt.y; in gs_translate() 427 { pgs->ctm.xx *= sx; in gs_scale() 428 pgs->ctm.xy *= sx; in gs_scale() 429 pgs->ctm.yx *= sy; in gs_scale() 430 pgs->ctm.yy *= sy; in gs_scale() 481 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 482 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 490 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 272 gs_matrix_fixed ctm; member 420 pgs->ctm.tx += pt.x; in gs_translate() 421 pgs->ctm.ty += pt.y; in gs_translate() 427 { pgs->ctm.xx *= sx; in gs_scale() 428 pgs->ctm.xy *= sx; in gs_scale() 429 pgs->ctm.yx *= sy; in gs_scale() 430 pgs->ctm.yy *= sy; in gs_scale() 481 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 482 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 490 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 272 gs_matrix_fixed ctm; member 420 pgs->ctm.tx += pt.x; in gs_translate() 421 pgs->ctm.ty += pt.y; in gs_translate() 427 { pgs->ctm.xx *= sx; in gs_scale() 428 pgs->ctm.xy *= sx; in gs_scale() 429 pgs->ctm.yx *= sy; in gs_scale() 430 pgs->ctm.yy *= sy; in gs_scale() 481 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 482 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 490 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/lang/gcc48/gcc-4.8.5/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 272 gs_matrix_fixed ctm; member 420 pgs->ctm.tx += pt.x; in gs_translate() 421 pgs->ctm.ty += pt.y; in gs_translate() 427 { pgs->ctm.xx *= sx; in gs_scale() 428 pgs->ctm.xy *= sx; in gs_scale() 429 pgs->ctm.yx *= sy; in gs_scale() 430 pgs->ctm.yy *= sy; in gs_scale() 481 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 482 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 490 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/lang/gnat_util/gcc-6-20180516/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 270 gs_matrix_fixed ctm; member 418 pgs->ctm.tx += pt.x; in gs_translate() 419 pgs->ctm.ty += pt.y; in gs_translate() 425 { pgs->ctm.xx *= sx; in gs_scale() 426 pgs->ctm.xy *= sx; in gs_scale() 427 pgs->ctm.yx *= sy; in gs_scale() 428 pgs->ctm.yy *= sy; in gs_scale() 479 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 480 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 488 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 920428-2.c | 272 gs_matrix_fixed ctm; member 420 pgs->ctm.tx += pt.x; in gs_translate() 421 pgs->ctm.ty += pt.y; in gs_translate() 427 { pgs->ctm.xx *= sx; in gs_scale() 428 pgs->ctm.xy *= sx; in gs_scale() 429 pgs->ctm.yx *= sy; in gs_scale() 430 pgs->ctm.yy *= sy; in gs_scale() 481 { pgs->ctm.tx = ((float)((pgs->ctm.tx_fixed = px)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 482 pgs->ctm.ty = ((float)((pgs->ctm.ty_fixed = py)*(1.0/(1<<12 ) ))); in gs_translate_to_fixed() 490 { gs_matrix ctm; in gx_matrix_to_fixed_coeff() local [all …]
|