/[public]/psiconv/trunk/formats/psion/Sketch_Section.psi
ViewVC logotype

Diff of /psiconv/trunk/formats/psion/Sketch_Section.psi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 45 Revision 46
17mþŸU£n  17mþŸU}
2Ä 
2dÈ"Times New RomanN1 ð 3dÈ"Times New RomanN1 ð
3< *Koptekst 2Lð ð 4< *Koptekst 2Lð ð
4< *Koptekst 3L *OpsomtekenO³•Swissÿÿÿÿh3r h3r ÐР efdefLdý‚.ÆA­[Sketch Section]Sketch SectionThis section contains the description of a picture. Its actual data is found in the embedded «Paint Data Section».Offset Size Nornak Object0000 W Total X size of form X size as displayed0002 W Total Y size of form Y size as displayed0004 W X offset within form Always 00 00?0006 W Y offset within form Always 00 00?0008 W Always 00 00? X offset in form000A W Always 00 00? Yoffset in form000C W Always 00 00? Total X size of form000E W Always 00 00? Total Y size of form 0010 W Always 00 00?«Paint Data Section» W X magnification W Y magnification L Left cut L Right cut L Top cut L Bottom cutThe first 10 bytes can have two different meanings, depending on the fact whether the picture is standalone or an embedded object. Everything in it is counted in dots.The magnification factors determine whether the picture should be compressed or expanded. 03E8 (1000 decimal) is normal size; lower numbers compress, higher numbers expand. So 01F4 would mean halfsize.The cuts determine whether a portion of the picture should be hidden, on one of its four sides. Cuts are in fractions of C*Size. So 0000 means do no cut, and 0600 would hide half of a picture 0100 dots large.ðð"Times New Roman " Courier News"Arial @"Arialð"Times New Roman  " Courier Newð"Times New RomanÐð"Times New Roman"Word.app C"y퉖 5< *Koptekst 3L *OpsomtekenO³•Swissÿÿÿÿh3r h3r ÐР efdefLdý‚.ÆAketch Section]Sketch SectionThis section contains the description of a picture. Its actual data is found i n the embedded «Paint Data Section».Offset Size Nornak Object0000 W Xsize as displayed (form size for normal pics)0002 W Y size as displayed (form size for normal pics)0004 W X offset of picture within displayed area0006 W Y offset of picture within displayed area0008 W Xoffset within circumventing area000A W Yoffset within circumventing area000C W X size of circumventing area (0000 if not applicable)000E W Y size of circumventing area (0000 if not applicable)0010 W Always 00 00?«Paint Data Section» W X magnification W Y magnification L Left cut L Right cut L Top cut L Bottom cutEverything within the first 12 bytes is counted in dots. For normal pictures, only the displayed size and offset is set; for objects, the circumventing (form) size and offset are also set.The magnification factors determine whether the picture should be compressed or expanded. 03E8 (1000 decimal) is normal size; lower numbers compress, higher numbers expand. So 01F4 would mean halfsize. They just tell how the picture should be displayed, and changing the magnification factor will not change any of the other values. Note that the Sketch program does not read these values; they are only used for sketch objects.The cuts determine whether a portion of the picture should be hidden, on one of its four sides. Cuts are in fractions of C*Size. So 0000 means do no cut, and 0600 would hide half of a picture 0100 dots large. The displayed size (offset 0 and 2) is taken as a basis for this. Note that the Sketch program does not read these values; they are only used for sketch objects.ðð"Times New Roman " Courier Newts @"Arial @"Arialð"Times New Roman  " Courier Newð"Times New Romanrð"Times New Roman"Word.app C"yljp
6

Legend:
Removed from v.45  
changed lines
  Added in v.46

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26