Ignore:
Timestamp:
Jun 30, 2008, 10:13:07 AM (13 years ago)
Author:
Eugene Romanenko
Message:

PDF plugin: poppler library updated to version 0.8.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/poppler/mypoppler/splash/SplashPattern.cc

    r2 r250  
    3939  splashColorCopy(c, color);
    4040}
    41 
    42 //------------------------------------------------------------------------
    43 // SplashHalftone
    44 //------------------------------------------------------------------------
    45 
    46 SplashHalftone::SplashHalftone(SplashColorPtr color0A, SplashColorPtr color1A,
    47                                SplashScreen *screenA, SplashCoord valueA) {
    48   splashColorCopy(color0, color0A);
    49   splashColorCopy(color1, color1A);
    50   screen = screenA;
    51   value = valueA;
    52 }
    53 
    54 SplashPattern *SplashHalftone::copy() {
    55   return new SplashHalftone(color0, color1, screen->copy(), value);
    56 }
    57 
    58 SplashHalftone::~SplashHalftone() {
    59   delete screen;
    60 }
    61 
    62 void SplashHalftone::getColor(int x, int y, SplashColorPtr c) {
    63   splashColorCopy(c, screen->test(x, y, value) ? color1 : color0);
    64 }
    65 
    66 GBool SplashHalftone::isStatic() {
    67   return screen->isStatic(value);
    68 }
Note: See TracChangeset for help on using the changeset viewer.