Lines Matching defs:Colors
1923 \param Count Number of entries in Colors
1924 \param Colors Array of ARGB values
1928 U_PSEUDO_OBJ *U_PMF_ARGBN_set(uint32_t Count, U_PMF_ARGB *Colors){
1931 {Colors, 4, Count, U_XE},
2004 \return Pointer to PseudoObject, NULL on Positions and Colors
2005 \param Elements number of elements in Positions, must agree with the number of Colors.
2007 \param Colors U_PSEUDO_OBJ containing an array of U_PMF_ARGB objects: object colors at positions on gradient line
2011 U_PSEUDO_OBJ *U_PMF_BLENDCOLORS_set(uint32_t Elements, const U_FLOAT *Positions, const U_PSEUDO_OBJ *Colors){
2012 if(!Colors || !Positions || Colors->Type != (U_PMF_ARGB_OID | U_PMF_ARRAY_OID)){ return(NULL); }
2013 uint32_t CElements = (Colors->Used - 4)/4;
2018 {Colors->Data + 4, Colors->Used - 4, 1, U_XE}, /* omit Elements part of this PseudoObject */
2044 U_PMF_ARGB *Colors;
2050 pC = Colors = (U_PMF_ARGB *)malloc(Elements *sizeof(U_PMF_ARGB));
2051 if(!Colors){
2074 U_PSEUDO_OBJ *poColors = U_PMF_ARGBN_set(Elements, Colors);
2078 free(Colors);
5675 \param Colors Color part of U_PMF_PALETTE object
5682 int U_PMF_BITMAPDATA_get(const char *contents, U_PMF_PALETTE *Ps, const char **Colors, const char **Data, const char *blimit){
5683 if(!contents || !Ps || !Colors || !Data || !blimit){ return(0); }
5687 U_PMF_PTRSAV_SHIFT(Colors, &contents, Ps->Elements * sizeof(U_PMF_ARGB));
5697 \param Elements Number of members in Positions and Colors
5699 \param Colors Caller must NOT free memory, Pointer to memory holding colors at positions on gradient line.
5703 int U_PMF_BLENDCOLORS_get(const char *contents, uint32_t *Elements, U_FLOAT **Positions, const char **Colors, const char *blimit){
5704 if(!contents || !Positions || !Colors || !blimit){ return(0); }
5709 U_PMF_PTRSAV_SHIFT(Colors, &contents, 0);
6231 \param Colors Palette data (array of colors)
6236 int U_PMF_PALETTE_get(const char *contents, uint32_t *Flags, uint32_t *Elements, const char **Colors, const char *blimit){
6237 if(!contents || !Flags || !Elements || !Colors || !blimit){ return(0); }
6242 U_PMF_PTRSAV_SHIFT(Colors, &contents, 0);