Home
last modified time | relevance | path

Searched refs:ncol0 (Results 1 – 25 of 92) sorted by relevance

1234

/dports/math/plplot/plplot-5.15.0/drivers/
H A Dcgm.c427 int ncol0 = pls->ncol0, total_colours;
437 if ( ncol0 > cdMaxColors / 2 ) // Check for ridiculous number of colours
440 ncol0 = cdMaxColors / 2; // warning if it does
441 pls->ncol0 = ncol0;
446 total_colours = ncol0 + ncol1; // Work out how many colours are wanted
451 ncol1 = total_colours - ncol0; // than we have room for.
466 if ( ncol0 > 0 ) // make sure the program actually asked for cmap0 first
504 for ( i = 0; i < ncol0; i++ )
545 dev->colour_index[i + pls->ncol0] = cdImageColorAllocate( dev->im_out,
604 dev->colour = pls->ncol0 + (int) tmp_colour_pos;
[all …]
H A Dgd.c792 int ncol0 = pls->ncol0, total_colours; in setcmap() local
810 if ( ncol0 > NCOLOURS / 2 ) // Check for ridiculous number of colours in setcmap()
813 ncol0 = NCOLOURS / 2; // warning if it does in setcmap()
814 pls->ncol0 = ncol0; in setcmap()
819 total_colours = ncol0 + ncol1; // Work out how many colours are wanted in setcmap()
824 ncol1 = total_colours - ncol0; // than we have room for. in setcmap()
841 for ( i = 0; i < ncol0; i++ ) in setcmap()
986 dev->colour = pls->ncol0 + (int) tmp_colour_pos; in plD_state_png()
989 dev->colour = pls->ncol0 + pls->icol1; in plD_state_png()
1167 if ( pls->ncol0 > 15 ) in plD_black15_gd()
[all …]
H A Dxfig.c157 dev->cmap0_ncol = 2 * pls->ncol0; // allow for a maximum of 2x the default cmap0 entries in plD_init_xfig()
181 if ( pls->ncol0 > dev->cmap0_ncol ) in stcmap0()
190 for ( i = 0; i < pls->ncol0; i++ ) in stcmap0()
195 for ( i = pls->ncol0; i < dev->cmap0_ncol; i++ ) in stcmap0()
401 dev->curcol = pls->icol1 + XFIG_COLBASE + pls->ncol0; in plD_state_xfig()
H A Dxwin.c696 if ( pls->ncol0 != xwd->ncol0 ) in plD_state_xw()
1040 xwd->ncol0_alloc = pls->ncol0; in OpenXwin()
2967 for ( i = 0; i < xwd->ncol0; i++ ) in AllocCustomMap()
3025 for ( i = 1; i < xwd->ncol0; i++ ) in AllocCmap0()
3032 if ( pls->ncol0 > xwd->ncol0_alloc ) in AllocCmap0()
3034 xwd->ncol0_alloc = pls->ncol0; in AllocCmap0()
3048 npixels = pls->ncol0 - 1; in AllocCmap0()
3059 xwd->ncol0 = npixels + 1; in AllocCmap0()
3060 for ( i = 1; i < xwd->ncol0; i++ ) in AllocCmap0()
3124 xwd->ncol0 = i; in AllocCmap0()
[all …]
/dports/math/plplot-ada/plplot-5.15.0/drivers/
H A Dcgm.c427 int ncol0 = pls->ncol0, total_colours; in setcmap() local
437 if ( ncol0 > cdMaxColors / 2 ) // Check for ridiculous number of colours in setcmap()
440 ncol0 = cdMaxColors / 2; // warning if it does in setcmap()
441 pls->ncol0 = ncol0; in setcmap()
446 total_colours = ncol0 + ncol1; // Work out how many colours are wanted in setcmap()
451 ncol1 = total_colours - ncol0; // than we have room for. in setcmap()
466 if ( ncol0 > 0 ) // make sure the program actually asked for cmap0 first in setcmap()
504 for ( i = 0; i < ncol0; i++ ) in setcmap()
545 dev->colour_index[i + pls->ncol0] = cdImageColorAllocate( dev->im_out, in setcmap()
604 dev->colour = pls->ncol0 + (int) tmp_colour_pos; in plD_state_cgm()
[all …]
H A Dgd.c792 int ncol0 = pls->ncol0, total_colours; in setcmap() local
810 if ( ncol0 > NCOLOURS / 2 ) // Check for ridiculous number of colours in setcmap()
813 ncol0 = NCOLOURS / 2; // warning if it does in setcmap()
814 pls->ncol0 = ncol0; in setcmap()
819 total_colours = ncol0 + ncol1; // Work out how many colours are wanted in setcmap()
824 ncol1 = total_colours - ncol0; // than we have room for. in setcmap()
841 for ( i = 0; i < ncol0; i++ ) in setcmap()
986 dev->colour = pls->ncol0 + (int) tmp_colour_pos; in plD_state_png()
989 dev->colour = pls->ncol0 + pls->icol1; in plD_state_png()
1167 if ( pls->ncol0 > 15 ) in plD_black15_gd()
[all …]
H A Dxfig.c157 dev->cmap0_ncol = 2 * pls->ncol0; // allow for a maximum of 2x the default cmap0 entries
181 if ( pls->ncol0 > dev->cmap0_ncol )
190 for ( i = 0; i < pls->ncol0; i++ )
195 for ( i = pls->ncol0; i < dev->cmap0_ncol; i++ )
401 dev->curcol = pls->icol1 + XFIG_COLBASE + pls->ncol0;
H A Dxwin.c696 if ( pls->ncol0 != xwd->ncol0 ) in plD_state_xw()
1040 xwd->ncol0_alloc = pls->ncol0; in OpenXwin()
2967 for ( i = 0; i < xwd->ncol0; i++ ) in AllocCustomMap()
3025 for ( i = 1; i < xwd->ncol0; i++ ) in AllocCmap0()
3032 if ( pls->ncol0 > xwd->ncol0_alloc ) in AllocCmap0()
3034 xwd->ncol0_alloc = pls->ncol0; in AllocCmap0()
3048 npixels = pls->ncol0 - 1; in AllocCmap0()
3059 xwd->ncol0 = npixels + 1; in AllocCmap0()
3060 for ( i = 1; i < xwd->ncol0; i++ ) in AllocCmap0()
3124 xwd->ncol0 = i; in AllocCmap0()
[all …]
/dports/math/plplot/plplot-5.15.0/bindings/tk/
H A Dplcolor.tcl417 global ncol0 plcmap0_col
420 set ncol0 [lindex $cmap0 0]
442 global ncol0
443 puts $f "$ncol0"
455 global ncol0 plcmap0_col
457 set ncol0 [gets $f]
458 if {$ncol0 < 0 || $ncol0 > 255} {
476 global ncol0 plcmap0_col
484 global ncol0 plcmap0_col
520 global ncol0 plcmap0_col
[all …]
H A Dplr.c469 U_SHORT ncol0;
471 plr_rd( pdf_rd_2bytes( plr->pdfs, &ncol0 ) );
472 plscmap0n( (PLINT) ncol0 );
473 for ( i = 0; i < plsc->ncol0; i++ )
/dports/math/plplot-ada/plplot-5.15.0/bindings/tk/
H A Dplcolor.tcl417 global ncol0 plcmap0_col
420 set ncol0 [lindex $cmap0 0]
442 global ncol0
443 puts $f "$ncol0"
455 global ncol0 plcmap0_col
457 set ncol0 [gets $f]
458 if {$ncol0 < 0 || $ncol0 > 255} {
476 global ncol0 plcmap0_col
484 global ncol0 plcmap0_col
520 global ncol0 plcmap0_col
[all …]
H A Dplr.c469 U_SHORT ncol0; in plr_state() local
471 plr_rd( pdf_rd_2bytes( plr->pdfs, &ncol0 ) ); in plr_state()
472 plscmap0n( (PLINT) ncol0 ); in plr_state()
473 for ( i = 0; i < plsc->ncol0; i++ ) in plr_state()
/dports/biology/emboss/EMBOSS-6.6.0/plplot/
H A Dgd.c807 int ncol0=pls->ncol0, total_colours; in setcmap() local
824 if (ncol0>NCOLOURS/2) /* Check for ridiculous number of colours */ in setcmap()
827 ncol0=NCOLOURS/2; /* warning if it does */ in setcmap()
828 pls->ncol0=ncol0; in setcmap()
833 total_colours=ncol0+ncol1; /* Work out how many colours are wanted */ in setcmap()
838 ncol1=total_colours-ncol0; /* than we have room for. */ in setcmap()
855 for (i = 0; i < ncol0; i++) in setcmap()
982 dev->colour = pls->ncol0 + (int)tmp_colour_pos; in plD_state_png()
985 dev->colour = pls->ncol0 + pls->icol1; in plD_state_png()
1162 if (pls->ncol0>15) in plD_black15_gd()
[all …]
H A Dplctrl.c118 if (icol0 < 0 || icol0 >= plsc->ncol0) { in c_plcol0()
270 plscmap0n(ncol0); in c_plscmap0()
272 for (i = 0; i < plsc->ncol0; i++) { in c_plscmap0()
520 c_plscmap0n(PLINT ncol0) in c_plscmap0n() argument
526 if (ncol0 > 0 && plsc->ncol0 == ncol0) in c_plscmap0n()
531 if (plsc->ncol0 <= 0 && ncol0 <= 0) in c_plscmap0n()
533 else if (ncol0 <= 0) in c_plscmap0n()
534 ncol = plsc->ncol0; in c_plscmap0n()
536 ncol = ncol0; in c_plscmap0n()
549 imin = plsc->ncol0; in c_plscmap0n()
[all …]
H A Dxfig.c138 cmap0_ncol = 2 * pls->ncol0; /* allow for a maximum of 2x the default cmap0 entries */ in plD_init_xfig()
159 if (pls->ncol0 > cmap0_ncol) in stcmap0()
168 for (i=0; i<pls->ncol0; i++) in stcmap0()
173 for (i=pls->ncol0; i<cmap0_ncol; i++) in stcmap0()
360 curcol = pls->icol1 + XFIG_COLBASE + pls->ncol0; in plD_state_xfig()
H A Dplbuf.c513 if ((int) icol0 >= pls->ncol0) { in rdbuf_state()
1013 + pls->ncol0 * sizeof(PLColor)
1123 buf += sizeof(PLColor) * pls->ncol0;
1129 plot_state->color_map[0].ncol = pls->ncol0;
1130 for (i = 0; i < pls->ncol0; i++) {
1172 pls->ncol0 = new_state->color_map[0].ncol;
1231 prev_state->color_map[0].ncol = pls->ncol0;
H A Dtek.c621 if ((ncol1 = MIN(16 - pls->ncol0, pls->ncol1)) < 1) in plD_state_tek()
624 icol1 = pls->ncol0 + (pls->icol1 * (ncol1-1)) / (pls->ncol1-1); in plD_state_tek()
985 int i, ncol1 = MIN(16 - pls->ncol0, pls->ncol1); in setcmap()
992 for (i = 0; i < pls->ncol0; i++) in setcmap()
999 scolor(pls, i + pls->ncol0, cmap1col.r, cmap1col.g, cmap1col.b); in setcmap()
H A Dxwin.c639 if (pls->ncol0 != xwd->ncol0) in plD_state_xw()
957 xwd->ncol0_alloc = pls->ncol0; in OpenXwin()
2757 for (i = 0; i < xwd->ncol0; i++) { in AllocCustomMap()
2810 for (i = 1; i < xwd->ncol0; i++) { in AllocCmap0()
2817 xwd->ncol0_alloc = pls->ncol0; in AllocCmap0()
2830 npixels = pls->ncol0-1; in AllocCmap0()
2840 xwd->ncol0 = npixels+1; in AllocCmap0()
2841 for (i = 1; i < xwd->ncol0; i++) { in AllocCmap0()
2851 for (i = 1; i < pls->ncol0; i++) { in AllocCmap0()
2898 xwd->ncol0 = i; in AllocCmap0()
[all …]
/dports/math/plplot-ada/plplot-5.15.0/src/
H A Dplctrl.c439 plscmap0n( ncol0 ); in c_plscmap0()
441 for ( i = 0; i < plsc->ncol0; i++ ) in c_plscmap0()
479 plscmap0n( ncol0 ); in c_plscmap0a()
942 c_plscmap0n( PLINT ncol0 ) in c_plscmap0n() argument
948 if ( ncol0 > 0 && plsc->ncol0 == ncol0 ) in c_plscmap0n()
953 if ( plsc->ncol0 <= 0 && ncol0 <= 0 ) in c_plscmap0n()
955 else if ( ncol0 <= 0 ) in c_plscmap0n()
956 ncol = plsc->ncol0; in c_plscmap0n()
958 ncol = ncol0; in c_plscmap0n()
979 imin = plsc->ncol0; in c_plscmap0n()
[all …]
/dports/math/plplot/plplot-5.15.0/src/
H A Dplctrl.c439 plscmap0n( ncol0 ); in c_plscmap0()
441 for ( i = 0; i < plsc->ncol0; i++ ) in c_plscmap0()
479 plscmap0n( ncol0 ); in c_plscmap0a()
942 c_plscmap0n( PLINT ncol0 ) in c_plscmap0n() argument
948 if ( ncol0 > 0 && plsc->ncol0 == ncol0 ) in c_plscmap0n()
953 if ( plsc->ncol0 <= 0 && ncol0 <= 0 ) in c_plscmap0n()
955 else if ( ncol0 <= 0 ) in c_plscmap0n()
956 ncol = plsc->ncol0; in c_plscmap0n()
958 ncol = ncol0; in c_plscmap0n()
979 imin = plsc->ncol0; in c_plscmap0n()
[all …]
/dports/math/plplot/plplot-5.15.0/bindings/ocaml/
H A Dplplot_h.inc88 …0)] void c_plscmap0 ( [size_is(ncol0), in] int * r, [size_is(ncol0), in] int * g, [size_is(ncol0),…
89 …a ( [size_is(ncol0), in] int * r, [size_is(ncol0), in] int * g, [size_is(ncol0), in] int * b, [siz…
90 [mlname(plscmap0n)] void c_plscmap0n ( int ncol0 );
/dports/math/plplot-ada/plplot-5.15.0/bindings/ocaml/
H A Dplplot_h.inc88 …0)] void c_plscmap0 ( [size_is(ncol0), in] int * r, [size_is(ncol0), in] int * g, [size_is(ncol0),…
89 …a ( [size_is(ncol0), in] int * r, [size_is(ncol0), in] int * g, [size_is(ncol0), in] int * b, [siz…
90 [mlname(plscmap0n)] void c_plscmap0n ( int ncol0 );
/dports/math/plplot-ada/plplot-5.15.0/utils/
H A Dplrender.c1042 U_SHORT ncol0; in plr_state() local
1043 plm_rd( pdf_rd_2bytes( pdfs, &ncol0 ) ); in plr_state()
1044 plscmap0n( ncol0 ); in plr_state()
1048 U_CHAR ncol0; in plr_state() local
1049 plm_rd( pdf_rd_1byte( pdfs, &ncol0 ) ); in plr_state()
1050 plscmap0n( ncol0 ); in plr_state()
1052 for ( i = 0; i < plsc->ncol0; i++ ) in plr_state()
/dports/math/plplot/plplot-5.15.0/utils/
H A Dplrender.c1042 U_SHORT ncol0; in plr_state() local
1043 plm_rd( pdf_rd_2bytes( pdfs, &ncol0 ) ); in plr_state()
1044 plscmap0n( ncol0 ); in plr_state()
1048 U_CHAR ncol0; in plr_state() local
1049 plm_rd( pdf_rd_1byte( pdfs, &ncol0 ) ); in plr_state()
1050 plscmap0n( ncol0 ); in plr_state()
1052 for ( i = 0; i < plsc->ncol0; i++ ) in plr_state()
/dports/math/plplot-ada/plplot-5.15.0/include/
H A Dplxwd.h54 int ncol0; // Number of cmap 0 colors member

1234