Back to index

scribus-ng  1.3.4.dfsg+svn20071115
scimagestructs.cpp
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 #include "scimagestructs.h"
00008 
00009 ExifValues::ExifValues(void)
00010 {
00011        init();
00012 }
00013 
00014 void ExifValues::init(void)
00015 {
00016        width = 0;
00017        height = 0;
00018        ExposureTime = 0;
00019        ApertureFNumber = 0;
00020        ISOequivalent = 0;
00021        cameraName.setLength(0);
00022        cameraVendor.setLength(0);
00023        comment.setLength(0);
00024        userComment.setLength(0);
00025        artist.setLength(0);
00026        copyright.setLength(0);
00027        dateTime.setLength(0);
00028        thumbnail = QImage();
00029 }
00030 
00031 ImageInfoRecord::ImageInfoRecord(void)
00032 {
00033        init();
00034 }
00035 
00036 void ImageInfoRecord::init(void)
00037 {
00038        type = 0;     /* 0 = jpg, 1 = tiff, 2 = psd, 3 = eps/ps, 4 = pdf, 5 = jpg2000, 6 = other */
00039        xres = 72;
00040        yres = 72;
00041        BBoxX = 0;
00042        BBoxH = 0;
00043        colorspace = 0; /* 0 = RGB  1 = CMYK  2 = Grayscale 3 = Duotone */
00044        valid = false;
00045        isRequest = false;
00046        progressive = false;
00047        isEmbedded = false;
00048        exifDataValid = false;
00049        lowResType = 1; /* 0 = full Resolution, 1 = 72 dpi, 2 = 36 dpi */
00050        lowResScale = 1.0;
00051        PDSpathData.clear();
00052        RequestProps.clear();
00053        clipPath.setLength(0);
00054        usedPath.setLength(0);
00055        profileName.setLength(0);
00056        layerInfo.clear();
00057        duotoneColors.clear();
00058        exifInfo.init();
00059 }