コード例 #1
0
ファイル: Pts.cs プロジェクト: JianwenSun/cc
 internal static unsafe extern int FsTransformBbox(
     uint fswdirIn,                          // IN:  
     ref FSRECT rectPage,                    // IN:  
     ref FSBBOX bboxTransform,
     uint fswdirOut,
     out FSBBOX bboxOut); 
コード例 #2
0
ファイル: Pts.cs プロジェクト: JianwenSun/cc
                    LONG*);             /* OUT: lim index used by this subtrack         */




FSERR FSAPI FsShiftSubtrackVertical(
                    PFSCONTEXT,         /* IN: ptr to FS context                        */
                    PFSSUBTRACK,        /* IN: ptr to subtrack                          */
                    PCFSSHIFT,          /* IN: shift handle                             */
                    FSWDIR,             /* IN: fswdir for bbox                          */
                    FSBBOX*);           /* OUT: subtrack bbox                           */
コード例 #3
0
ファイル: Pts.cs プロジェクト: JianwenSun/cc
 internal static extern int FsUpdateBottomlessSubtrack(
     IntPtr pfsContext,                  // IN:  ptr to FS context
     IntPtr pfsSubtrack,                 // IN:  ptr to subtrack
     IntPtr fsnmSegment,                 // IN:  name of the segment to start from
     int iArea,                          // IN:  column-span area index
     IntPtr pfsGeom,                     // IN:  parent geometry
     int fSuppressTopSpace,              // IN:
     uint fswdir,                        // IN:  direction
     int ur,                             // IN:  ur of subtrack
     int dur,                            // IN:  dur of subtrack
     int vr,                             // IN:  vr of subtrack
     IntPtr pfsMcsClientIn,              // IN:  input margin collapsing state
     FSKCLEAR fsKClearIn,                // IN:  clear property that must be satisfied
     int fCanBeInterruptedIn,            // IN:  can be interrupted?
     out FSFMTRBL pfsfmtrbl,             // OUT: why formatting was stopped
     out int pdvrUsed,                   // OUT: dvrUsed
     out FSBBOX pfsBBox,                 // OUT: subtrack bbox
     out IntPtr ppfsMcsClientOut,        // OUT: margin collapsing state at the bottom
     out FSKCLEAR pfsKClearOut,          // OUT: ClearIn for the next paragraph
     out int pTopSpace,                  // OUT: top space due to collapsed margin
     out int pfCanBeInterruptedOut);     // OUT: interruption is prohibited from now on
コード例 #4
0
ファイル: Pts.cs プロジェクト: JianwenSun/cc
        internal static extern int FsFormatSubtrackFinite(
            IntPtr pfsContext,                  // IN:  ptr to FS context
            IntPtr pfsBRSubtackIn,              // IN:  ptr to brk record of subtrack
            int fFromPreviousPage,              // IN:  break record was created on previous page
            IntPtr fsnmSegment,                 // IN:  name of the segment to start from - if pointer to break rec is NULL
            int iArea,                          // IN:  column-span area index
            IntPtr pfsFtnRej,                   // IN:
            IntPtr pfsGeom,                     // IN:  geometry
            int fEmptyOk,                       // IN:  fEmptyOK
            int fSuppressTopSpace,              // IN:  fSuppressTopSpace
            uint fswdir,                        // IN:  direction
            [In] ref FSRECT fsRectToFill,       // IN:  rectangle to fill
            IntPtr pfsMcsClientIn,              // IN:  input margin collapsing state
            FSKCLEAR fsKClearIn,                // IN:  clear property that must be satisfied
            FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstpara,

            out FSFMTR pfsfmtr,                 // OUT: why formatting was stopped
            out IntPtr ppfsSubtrack,            // OUT: ptr to the subtrack
            out IntPtr pfsBRSubtrackOut,        // OUT: break record of the subtrack
            out int pdvrUsed,                   // OUT: dvrUsed
            out FSBBOX pfsBBox,                 // OUT: subtrack bbox
            out IntPtr ppfsMcsClientOut,        // OUT: margin collapsing state at the bottom
            out FSKCLEAR pfsKClearOut,          // OUT: ClearIn for the next paragraph
            out int pTopSpace);                 // OUT: top space due to collapsed margin
コード例 #5
0
ファイル: Pts.cs プロジェクト: JianwenSun/cc
 internal static unsafe extern int FsUpdateBottomlessSubpage(
     IntPtr pfsContext,                  // IN:  ptr to FS context
     IntPtr pfsSubpage,                  // IN:  ptr to the subpage
     IntPtr nmSeg,                       // IN:  name of the segment to start from
     int fSuppressTopSpace,              // IN:  suppress top space?
     uint fswdir,                        // IN:  fswdir
     int lWidth,                         // IN:  width of subpage
     int urMargin,                       // IN:  ur of margin
     int durMargin,                      // IN:  dur of margin
     int vrMargin,                       // IN:  vr of margin
     int cColumns,                       // IN:  number of columns
     FSCOLUMNINFO* rgColumnInfo,         // IN:  array of column info
     int cSegmentAreas,                  // IN:  number of segment-defined colspan areas
     IntPtr* rgnSegmentForArea,          // IN:  array of segment names for colspan areas
     int* rgSpanForSegmentArea,          // IN:  array of columns spanned for segment-defined areas
     int cHeightAreas,                   // IN:  number of height-defined colspan areas
     int* rgHeightForArea,               // IN:  array of heights for height-defined colspan areas
     int* rgSpanForHeightArea,           // IN:  array of columns spanned for height-defined areas
     int fINterrruptible,                // IN:  can be interrupted?
     out FSFMTRBL pfsfmtr,               // OUT: why formatting was stopped
     out int pdvrUsed,                   // OUT: dvrUsed
     out FSBBOX pfsBBox,                 // OUT: subpage bbox
     out IntPtr pfsMcsClient,            // OUT: margin collapsing state at the bottom
     out int pTopSpace,                  // OUT: top space due to collapsed margins
     out int fPageBecomesUninterruptible);// OUT: interruption is prohibited from now on
コード例 #6
0
ファイル: Pts.cs プロジェクト: JianwenSun/cc
        internal static extern unsafe int FsCreateSubpageFinite(
            IntPtr pfsContext,                  // IN:  ptr to FS context
            IntPtr pBRSubPageStart,             // IN: ptr to brk record of subpage
            int fFromPreviousPage,              // IN:  break record was created on previous page
            IntPtr nSeg,                        // IN:  name of the segment to start from-if pointer to break rec is NULL
            IntPtr pFtnRej,                     // IN:  pftnrej
            int fEmptyOk,                       // IN:  fEmptyOK
            int fSuppressTopSpace,              // IN:  fSuppressTopSpace
            uint fswdir,                        // IN:  fswdir
            int lWidth,                         // IN:  width of subpage
            int lHeight,                        // IN:  height of subpage
            ref FSRECT rcMargin,                // IN:  rectangle within subpage margins
            int cColumns,                       // IN:  number of columns
            FSCOLUMNINFO* rgColumnInfo,         // IN:  array of column info
            int fApplyColumnBalancing,          // IN:  apply column balancing?
            int cSegmentAreas,                  // IN:  number of segment-defined colspan areas
            IntPtr* rgnSegmentForArea,          // IN:  array of segment names for colspan areas
            int* rgSpanForSegmentArea,          // IN:  array of columns spanned for segment-defined areas
            int cHeightAreas,                   // IN:  number of height-defined colspan areas
            int* rgHeightForArea,               // IN:  array of heights for height-defined colspan areas
            int* rgSpanForHeightArea,           // IN:  array of columns spanned for height-defined areas
            int fAllowOverhangBottom,           // IN:  allow overhang over bottom margin?
            FSKSUPPRESSHARDBREAKBEFOREFIRSTPARA fsksuppresshardbreakbeforefirstparaIn,

            out FSFMTR fsfmtr,                  // OUT: why formatting was stopped
            out IntPtr pSubPage,                // OUT: ptr to the subpage
            out IntPtr pBRSubPageOut,           // OUT: break record of the subpage
            out int dvrUsed,                    // OUT: dvrUsed
            out FSBBOX fsBBox,                  // OUT: subpage bbox
            out IntPtr pfsMcsClient,            // OUT: margin collapsing state at the bottom
            out int topSpace);                  // OUT: top space due to collapsed margins