|
Carbide.c++ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImageSource
Representation of a source image file with color information.
Method Summary | |
---|---|
IPath |
getDefaultMaskPath()
provide the default mask filepath |
int |
getDepth()
get the bit depth to convert to |
ImageFormat |
getImageFormat()
Get a copy of the image format parameters |
int |
getMaskDepth()
get the mask depth (usually 1,2,4,8 or 0 for none) NOTE: for SVG, if this is nonzero, it doesn't mean a mask file is present, merely that an enum will be generated. |
boolean |
isColor()
tell whether the image is kept in color |
boolean |
isValid()
tell if the entry is valid (e.g., initialized): path must be set and depth must be nonzero, and if in color, depth must be 4, 8, 16, or 24, else 1, 2, 4, or 8 |
boolean |
isValidDepth(int depth)
Tell if the depth is valid for the color/grayscale flag |
void |
setColor(boolean color)
set the color conversion flag |
void |
setDepth(int depth)
set the bit depth to convert to |
void |
setFrom(IImageSourceReference ref)
Set shared fields from the reference. |
void |
setMaskDepth(int depth)
set the mask depth (usually 1,2,4,8 or 0 for none) NOTE: for SVG, if this is nonzero, it doesn't mean a mask file is present, merely that an enum will be generated. |
Methods inherited from interface com.nokia.carbide.cpp.epoc.engine.image.IImageSourceReference |
---|
copy, getDefaultMaskPath, getPath, setPath |
Method Detail |
---|
boolean isValid()
isValid
in interface IImageSourceReference
boolean isColor()
void setColor(boolean color)
int getDepth()
void setDepth(int depth)
depth
- generally 4,8,12,16,24,32 for color
or 1,2,4,8 for non-colorint getMaskDepth()
NOTE: for SVG, if this is nonzero, it doesn't mean a mask file is present, merely that an enum will be generated.
void setMaskDepth(int depth)
NOTE: for SVG, if this is nonzero, it doesn't mean a mask file is present, merely that an enum will be generated.
IPath getDefaultMaskPath()
boolean isValidDepth(int depth)
void setFrom(IImageSourceReference ref)
ref
- ImageFormat getImageFormat()
|
Carbide.c++ | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |