FACT++  1.0
void MGImage::DrawColImg24 ( char *  d,
char *  s1,
char *  s2,
char *  e 
)
private

Definition at line 186 of file MGImage.cc.

Referenced by DrawColImg().

187 {
188  // d=destination, s1=source1, s2=source2, e=end
189  while (s1<e)
190  {
191  if (*s2)
192  {
193  *d++ = ((*s2>>4)&0x3)*85;
194  *d++ = ((*s2>>2)&0x3)*85;
195  *d++ = ((*s2++ )&0x3)*85;
196  d++;
197  s1++;
198  }
199  else
200  {
201  *d++ = *s1;
202  *d++ = *s1;
203  *d++ = *s1++;
204  d++;
205  s2++;
206  }
207  }
208 }

+ Here is the caller graph for this function: