Searched refs:gCpalette (Results 1 – 1 of 1) sorted by relevance
35 static unsigned char gCpalette[PETSC_DRAW_MAXCOLOR][3]; variable54 gCpalette[i][0] = (unsigned char)(colordef.red >> 8); in PetscDrawSetUpColormap_Shared()55 gCpalette[i][1] = (unsigned char)(colordef.green >> 8); in PetscDrawSetUpColormap_Shared()56 gCpalette[i][2] = (unsigned char)(colordef.blue >> 8); in PetscDrawSetUpColormap_Shared()70 gCpalette[k][0] = R[i]; in PetscDrawSetUpColormap_Shared()71 gCpalette[k][1] = G[i]; in PetscDrawSetUpColormap_Shared()72 gCpalette[k][2] = B[i]; in PetscDrawSetUpColormap_Shared()121 gCpalette[i][0] = (unsigned char)(colordef.red >> 8); in PetscDrawSetUpColormap_Private()122 gCpalette[i][1] = (unsigned char)(colordef.green >> 8); in PetscDrawSetUpColormap_Private()123 gCpalette[i][2] = (unsigned char)(colordef.blue >> 8); in PetscDrawSetUpColormap_Private()[all …]