/dports/graphics/opendx/dx-4.4.4/src/exec/libdx/ |
H A D | zclip.h | 18 if (fcolors) {\ 20 xfc->r = fcolors->r;\ 21 xfc->g = fcolors->g;\ 22 xfc->b = fcolors->b;\ 28 c1 = ((RGBColor *)fcolors) + v1;\ 29 c2 = ((RGBColor *)fcolors) + v2;\ 98 if (fcolors) {\ 99 if (fcst) *xfc = *fcolors;\ 101 else *xfc = fcolors[i];\ 131 if (fcolors) {\ [all …]
|
H A D | xfield.c | 413 if (!xf->fcolors) in _dxf_XColors() 423 if (!xf->fcolors) in _dxf_XColors() 432 xf->fcolors = NULL; in _dxf_XColors() 435 if (!xf->fcolors) in _dxf_XColors() 487 check(fcolors, "colors", TYPE_UBYTE, 1); in _dxf_XColors() 493 check(fcolors, "colors", TYPE_UBYTE, 3); in _dxf_XColors() 507 xf->fcolors = (Pointer)&xf->fbuf; in _dxf_XColors() 512 if (!xf->fcolors) in _dxf_XColors() 520 if (!xf->fcolors) in _dxf_XColors() 526 xf->fcolors = NULL; in _dxf_XColors() [all …]
|
H A D | zclipT.c | 42 RGBColor *fcolors = xf->fcolors; in _dxf_zclip_triangles() 103 xx->fcolors = fcolors? (Pointer)xfcolors : NULL; in _dxf_zclip_triangles()
|
H A D | quad.Z | 40 fcolors = (Pointer)vcolors; $\ 44 xf->fcolors, xf->bcolors, xf->cmap, $\ 47 fcolors, bcolors, 4, fcst, bcst, ncst, $\ 157 if (xf->fcolors) { $\ 254 Pointer fcolors = xf->fcolors; $\ 374 Pointer fcolors = xf->fcolors; 441 Pointer fcolors, $\ 517 Pointer fcolors, 541 fcolors, bcolors, opacities, 545 fcolors, bcolors, opacities, [all …]
|
H A D | triangle.Z | 41 fcolors = (Pointer)vcolors; $\ 45 xf->fcolors, xf->bcolors, xf->cmap, $\ 48 fcolors, bcolors, 3, fcst, bcst, ncst, $\ 179 Pointer fcolors = xf->fcolors; $\ 316 Pointer fcolors, $\ 395 Pointer fcolors, 414 xx.indices, xx.fcolors, xx.bcolors, xx.opacities, 423 fcolors, bcolors, opacities, 427 fcolors, bcolors, opacities, 431 fcolors, bcolors, opacities, [all …]
|
H A D | zclipQ.c | 37 RGBColor *fcolors = xf->fcolors; in _dxf_zclip_quads() local 113 xx->fcolors = fcolors? (Pointer)xfcolors : NULL; in _dxf_zclip_quads()
|
/dports/databases/grass7/grass-7.8.6/raster/r.geomorphon/ |
H A D | memory.c | 132 FCOLORS fcolors[9] = { /* colors for positive openness */ in write_contrast_colors() local 148 Rast_add_d_color_rule(&fcolors[i].cat, fcolors[i].r, fcolors[i].g, in write_contrast_colors() 149 fcolors[i].b, &fcolors[i + 1].cat, in write_contrast_colors() 150 fcolors[i + 1].r, fcolors[i + 1].g, in write_contrast_colors() 151 fcolors[i + 1].b, &colors); in write_contrast_colors()
|
/dports/graphics/opendx/dx-4.4.4/src/exec/hwrender/xgl/ |
H A D | hwMeshDraw.c.h | 201 RGBColor *fcolors, *color_map ; in tdmMeshDraw() local 226 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in tdmMeshDraw() 260 CLAMP(&fcolors[0],&fcolors[0]) ; in tdmMeshDraw() 267 XGL_CTX_LINE_COLOR, &fcolors[0], in tdmMeshDraw() 275 XGL_CTX_SURF_FRONT_COLOR, &fcolors[0], in tdmMeshDraw() 282 XGL_CTX_SURF_FRONT_COLOR, &fcolors[0], in tdmMeshDraw() 388 if (fcolors && xf->colorsDep != dep_field) in tdmMeshDraw() 487 &color_map[((unsigned char *)fcolors)[pntIdx[i]]]); in tdmMeshDraw() 490 CLAMP((clist+dV),&fcolors[pntIdx[i]] ) ; in tdmMeshDraw() 517 &color_map[((char *)fcolors)[pntIdx[i]]]) ; in tdmMeshDraw() [all …]
|
H A D | hwPlineDraw.c | 76 (int)fcolors, (int)color_map, xf->fcolorsDep == dep_positions) ; \ 143 RGBColor *fcolors, *color_map ; in _dxfPlineDraw() local 169 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in _dxfPlineDraw() 171 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array) ; in _dxfPlineDraw() 192 CLAMP(&fcolors[0],&fcolors[0]) ; in _dxfPlineDraw() 198 XGL_CTX_LINE_COLOR, &fcolors[0], in _dxfPlineDraw() 268 if (fcolors && xf->colorsDep != dep_field) { in _dxfPlineDraw() 332 &color_map[((char *)fcolors)[pntIdx[i]]]); in _dxfPlineDraw() 335 CLAMP((clist+dV),&fcolors[pntIdx[i]] ) ; in _dxfPlineDraw()
|
H A D | hwLineDraw.c | 39 RGBColor *fcolors, RGBColor *color_map, \ 47 fcolors, color_map, is_2d 123 char *color_index = (char *)fcolors ; in tdmCdfLineDraw() 197 CLAMP(&cpf_color,&fcolors[0]) ; in tdmCdfLineDraw() 290 char *color_index = (char *)fcolors ; in tdmCdcLineDraw() 296 CLAMP(&pt_color_f3d[p].color,&fcolors[ol]) ; in tdmCdcLineDraw() 297 CLAMP(&pt_color_f3d[q].color,&fcolors[ol]) ; in tdmCdcLineDraw() 430 char *color_index = (char *)fcolors ; in tdmCdpLineDraw() 438 CLAMP(&pt_color_f3d[p].color,&fcolors[line[ol].p]) ; in tdmCdpLineDraw() 475 RGBColor *fcolors, *color_map ; in _dxfLineDraw() local [all …]
|
H A D | hwPolyhedraDrawXGL.c.h | 91 RGBColor *fcolors, RGBColor *color_map, \ 98 fcolors, color_map, \ 177 char *color_index = (char *)fcolors ; in CdfDraw() 223 CLAMP(&cdf_color, &fcolors[0]) ; in CdfDraw() 263 CLAMP(&pt_f3d[dp].color, &fcolors[i]) ; in CdcDraw() 309 char *color_index = (char *)fcolors ; in CdcDraw() 399 CLAMP(&pt_f3d[dp].color, &fcolors[connections[op]]) ; in CdpDraw() 445 char *color_index = (char *)fcolors ; in CdpDraw() 504 RGBColor *fcolors, *color_map ; in _dxfPolyhedraDraw() local 522 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in _dxfPolyhedraDraw() [all …]
|
H A D | hwPolylineDraw.c | 39 RGBColor *fcolors, RGBColor *color_map, \ 47 fcolors, color_map, is_2d 123 char *color_index = (char *)fcolors ; in tdmCdfPolylineDraw() 212 CLAMP(&cpf_color,&fcolors[0]) ; in tdmCdfPolylineDraw() 322 char *color_index = (char *)fcolors ; in tdmCdcPolylineDraw() 328 CLAMP(&pt_color_f3d[nextpt].color, &fcolors[i]) ; in tdmCdcPolylineDraw() 477 char *color_index = (char *)fcolors ; in tdmCdpPolylineDraw() 483 CLAMP(&pt_color_f3d[nextpt].color, &fcolors[e]) ; in tdmCdpPolylineDraw() 518 RGBColor *fcolors, *color_map ; in _dxfPolylineDraw() local 550 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in _dxfPolylineDraw() [all …]
|
H A D | hwUnconPointDraw.c | 110 CLAMP(&pt->color, &fcolors[ol]) ; 120 RGBColor *fcolors, *color_map ; in _dxfUnconnectedPointDraw() local 140 fcolors = (Pointer) DXGetArrayEntry (xf->fcolors, 0, NULL) ; in _dxfUnconnectedPointDraw() 142 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array) ; in _dxfUnconnectedPointDraw() 145 color_index = (char *) fcolors ; in _dxfUnconnectedPointDraw() 157 CLAMP(marker_color, fcolors) ; in _dxfUnconnectedPointDraw()
|
/dports/graphics/opendx/dx-4.4.4/src/exec/hwrender/starbase/ |
H A D | hwLineDrawSB.c | 82 register RGBColor *fcolors, *color_map ; in _dxfLineDraw() local 124 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in _dxfLineDraw() 126 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array) ; in _dxfLineDraw() 204 color_map[((char *)fcolors)[connections[2*k + i]]] ; in _dxfLineDraw() 208 fcolors[connections[2*k + i]] ; in _dxfLineDraw() 215 color_map[((char *)fcolors)[k]] ; in _dxfLineDraw() 218 *(RGBColor *)(clist+dV) = fcolors[k] ; in _dxfLineDraw() 280 color_map[((char *)fcolors)[connections[2*k + i]]]; in _dxfLineDraw() 284 fcolors[connections[2*k + i]] ; in _dxfLineDraw() 291 color_map[((char *)fcolors)[k]] ; in _dxfLineDraw() [all …]
|
H A D | hwPortSB.h | 98 CLAMP(fcolors[i].r), \ 99 CLAMP(fcolors[i].g), \ 100 CLAMP(fcolors[i].b))) 102 CLAMP(color_map[((char *)fcolors)[i]].r), \ 103 CLAMP(color_map[((char *)fcolors)[i]].g), \ 104 CLAMP(color_map[((char *)fcolors)[i]].b)))
|
H A D | hwPolyhedraDrawSB.c.h | 62 (int)fcolors, (int)color_map, xf->colorsDep == dep_positions) ; \ 99 RGBColor *fcolors, *color_map ; local 115 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; 117 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array) ; 173 if (fcolors && xf->colorsDep == dep_positions) 202 *(RGBColor *)(clist+dV) = color_map[((char *)fcolors)[i]] ; 205 *(RGBColor *)(clist+dV) = fcolors[i] ; 249 if (fcolors && xf->colorsDep == dep_connections) 349 *(RGBColor *)(clist) = color_map[((char *)fcolors)[v]] ; 351 *(RGBColor *)(clist) = fcolors[v] ;
|
H A D | hwPolylineDrawSB.c | 76 register RGBColor *fcolors, *color_map; in _dxfPolylineDraw() local 110 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL); in _dxfPolylineDraw() 112 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array); in _dxfPolylineDraw() 194 color_map[((char *)fcolors)[edges[i]]]; in _dxfPolylineDraw() 197 *(RGBColor *)(clist+dV) = fcolors[edges[i]]; in _dxfPolylineDraw() 204 color_map[((char *)fcolors)[k]]; in _dxfPolylineDraw() 207 *(RGBColor *)(clist+dV) = fcolors[k]; in _dxfPolylineDraw()
|
H A D | hwPlineDrawSB.c | 101 (int)fcolors, (int)color_map, xf->fcolorsDep == dep_positions) ; \ 124 RGBColor *fcolors, *color_map ; in _dxfPlineDraw() local 164 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in _dxfPlineDraw() 166 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array) ; in _dxfPlineDraw() 246 if (fcolors && xf->colorsDep != dep_field) in _dxfPlineDraw() 329 color_map[((char *)fcolors)[pntIdx[i]]] ; in _dxfPlineDraw() 332 *(RGBColor *)(clist+dV) = fcolors[pntIdx[i]] ; in _dxfPlineDraw()
|
H A D | hwMeshDrawSB.c.h | 111 (int)fcolors, (int)color_map, xf->fcolorsDep == dep_positions) ; \ 134 RGBColor *fcolors, *color_map ; in tdmMeshDraw() local 171 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in tdmMeshDraw() 173 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array) ; in tdmMeshDraw() 317 if (fcolors && xf->colorsDep != dep_field) in tdmMeshDraw() 411 color_map[((unsigned char *)fcolors)[pntIdx[i]]] ; in tdmMeshDraw() 414 *(RGBColor *)(clist+dV) = fcolors[pntIdx[i]] ; in tdmMeshDraw()
|
H A D | hwUnconPointDrawSB.c | 31 register RGBColor *fcolors, *color_map ; in _dxfUnconnectedPointDraw() local 54 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in _dxfUnconnectedPointDraw() 56 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array) ; in _dxfUnconnectedPointDraw()
|
H A D | hwPolygonDrawSB.c.h | 79 (int)fcolors, (int)color_map, xf->colorsDep == dep_positions) ; \ 137 RGBColor *fcolors, *color_map ; in tdmPolygonDraw() local 165 fcolors = (Pointer) DXGetArrayEntry(xf->fcolors, 0, NULL) ; in tdmPolygonDraw() 167 fcolors = (Pointer) DXGetArrayData(xf->fcolors_array) ; in tdmPolygonDraw() 314 if (fcolors && xf->colorsDep != dep_field) in tdmPolygonDraw() 508 color_map[((char *)fcolors)[connections[v]]] ; in tdmPolygonDraw() 510 *(RGBColor *)(clist) = fcolors[connections[v]] ; in tdmPolygonDraw()
|
/dports/graphics/p5-Imager/Imager-1.012/t/100-base/ |
H A D | 010-introvert.t | 399 my @fcolors = Imager::i_glinf($im, 0, 10, 0); 401 [ map $_->rgba, @fcolors ], 403 my $fcolors = Imager::i_glinf($im, 0, 10, 0); 405 [ unpack "d*", $fcolors ], 731 my @fcolors = ( $f_red, $f_blue, $f_black, $f_green ); 732 is($im->setscanline('y'=>4, 'x'=>3, pixels=>\@fcolors), 4, 734 is_deeply([ map [ $_->rgba ], @fcolors ], 738 my $packed_fcolors = pack "d*", map $_->rgba, @fcolors; 741 is_deeply([ map [ $_->rgba ], @fcolors ], 754 [ map { ($_->rgba)[1,3] } @fcolors ], [all …]
|
/dports/math/cgal/CGAL-5.3/demo/Polyhedron/ |
H A D | Scene_polygon_soup_item.cpp | 190 if(!soup->fcolors.empty()) in triangulate_polygon() 191 color = soup->fcolors[polygon_id]; in triangulate_polygon() 197 if(!soup->fcolors.empty()) in triangulate_polygon() 263 if(!soup->fcolors.empty()) in compute_normals_and_vertices() 265 const CGAL::IO::Color color = soup->fcolors[nb]; in compute_normals_and_vertices() 368 d->soup->fcolors.resize(0); in init_polygon_soup() 549 if(d->soup->fcolors.empty()) in draw() 692 const std::vector<CGAL::IO::Color>& fcolors, in load() argument 697 d->soup->fcolors.reserve (fcolors.size()); in load() 698 std::copy (fcolors.begin(), fcolors.end(), std::back_inserter (d->soup->fcolors)); in load() [all …]
|
/dports/math/polymake/polymake-4.5/apps/common/perllib/ |
H A D | TikZ.pm | 586 … my ($fcolortext,$fcolors) = $self->uniqueColors("FacetColor",new RGB("0 0 0"),$nfacets); 601 if (is_code($fcolors) || is_code($transparency)) { 605 my $colid = is_code($fcolors) ? $fcolors->($i) : $fcolors; 615 $optionstring .= "fill=$fcolors, fill opacity=$transparency";
|
/dports/math/cgal/CGAL-5.3/include/CGAL/Surface_mesh/IO/ |
H A D | OFF.h | 130 FCM fcolors = choose_parameter(get_parameter(np, internal_np::face_color_map), fcm); in read_OFF_with_or_without_fcolors() local 131 return CGAL::IO::internal::read_OFF_BGL(is, sm, np.face_color_map(fcolors)); in read_OFF_with_or_without_fcolors() 431 typename Mesh::template Property_map<Face_index, Color> fcolors; in write_OFF_with_or_without_fcolors() local 433 …std::tie(fcolors, has_internal_fcolors) = sm.template property_map<Face_index, CGAL::IO::Color>("f… in write_OFF_with_or_without_fcolors() 435 if(!has_fcolors && has_internal_fcolors && std::distance(fcolors.begin(), fcolors.end()) > 0) in write_OFF_with_or_without_fcolors() 436 return write_OFF_BGL(os, sm, np.face_color_map(fcolors)); in write_OFF_with_or_without_fcolors()
|