569
edits
mNo edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
attribute unsigned long height; | attribute unsigned long height; | ||
/* scaling */ | /* type of scaling */ | ||
const unsigned long SCALE_BAD = 0; | |||
const unsigned long SCALE_NORMAL = 1; | |||
const unsigned long SCALE_GOOD = 2; | |||
attribute unsigned long scaling; | |||
}; | }; | ||
You would create one by doing: | You would create one by doing: | ||
createInstance("@mozilla.org/image/encoder;2?type=image/png"); | createInstance("@mozilla.org/image/encoder;2?type=image/png"); |
edits