/reactos/sdk/lib/3rdparty/freetype/src/psaux/ |
H A D | t1decode.c | 734 decoder->top = top; in t1_decoder_parse_charstrings() 968 top[0] = ADD_LONG( top[0], top[1] ); in t1_decoder_parse_charstrings() 979 top[0] = SUB_LONG( top[0], top[1] ); in t1_decoder_parse_charstrings() 990 top[0] = FT_MulFix( top[0], top[1] ); in t1_decoder_parse_charstrings() 1001 top[0] = FT_DivFix( top[0], top[1] ); in t1_decoder_parse_charstrings() 1065 if ( top[2] > top[3] ) in t1_decoder_parse_charstrings() 1066 top[0] = top[1]; in t1_decoder_parse_charstrings() 1114 decoder->top = top; in t1_decoder_parse_charstrings() 1407 *top = FT_DivFix( top[0], top[1] ); in t1_decoder_parse_charstrings() 1618 decoder->top = top; in t1_decoder_parse_charstrings() [all …]
|
H A D | psstack.c | 116 stack->top->u.i = val; in cf2_stack_pushInt() 118 stack->top++; in cf2_stack_pushInt() 132 stack->top->u.r = val; in cf2_stack_pushFixed() 134 stack->top++; in cf2_stack_pushFixed() 153 stack->top--; in cf2_stack_popInt() 155 return stack->top->u.i; in cf2_stack_popInt() 170 stack->top--; in cf2_stack_popFixed() 172 switch ( stack->top->type ) in cf2_stack_popFixed() 179 return stack->top->u.r; in cf2_stack_popFixed() 237 stack->top -= num; in cf2_stack_pop() [all …]
|
/reactos/win32ss/gdi/eng/ |
H A D | stretchblt.c | 220 InputRect.top = 0; in EngStretchBltROP() 237 if (OutputRect.top < ClipRegion->rclBounds.top) in EngStretchBltROP() 239 InputRect.top += ClipRegion->rclBounds.top - OutputRect.top; in EngStretchBltROP() 240 OutputRect.top = ClipRegion->rclBounds.top; in EngStretchBltROP() 321 ClipRect.top = ClipRegion->rclBounds.top + Translate.y; in EngStretchBltROP() 325 …InputToCombinedRect.top = InputRect.top + (CombinedRect.top - OutputRect.top) * SrcHeight / DstHei… in EngStretchBltROP() 360 if (OutputRect.top < InputRect.top) in EngStretchBltROP() 384 ClipRect.top = RectEnum.arcl[i].top + Translate.y; in EngStretchBltROP() 388 …InputToCombinedRect.top = InputRect.top + (CombinedRect.top - OutputRect.top) * SrcHeight / DstHei… in EngStretchBltROP() 698 DestRect->top++; in IntEngStretchBlt() [all …]
|
H A D | transblt.c | 46 InputRect.top += Translate.y; in EngTransparentBlt() 73 if (OutputRect.top < Clip->rclBounds.top) in EngTransparentBlt() 75 InputRect.top += Clip->rclBounds.top - OutputRect.top; in EngTransparentBlt() 76 OutputRect.top = Clip->rclBounds.top; in EngTransparentBlt() 101 OutputRect.top = DestRect->top + Translate.y; in EngTransparentBlt() 125 ClipRect.top = Clip->rclBounds.top + Translate.y; in EngTransparentBlt() 129 …InputToCombinedRect.top = InputRect.top + (CombinedRect.top - OutputRect.top) * SrcHeight / DstHei… in EngTransparentBlt() 146 if (OutputRect.top < InputRect.top) in EngTransparentBlt() 171 ClipRect.top = RectEnum.arcl[i].top + Translate.y; in EngTransparentBlt() 175 …InputToCombinedRect.top = InputRect.top + (CombinedRect.top - OutputRect.top) * SrcHeight / DstHei… in EngTransparentBlt() [all …]
|
H A D | bitblt.c | 461 if (OutputRect.top < pco->rclBounds.top) in EngBitBlt() 463 InputRect.top += pco->rclBounds.top - OutputRect.top; in EngBitBlt() 465 OutputRect.top = pco->rclBounds.top; in EngBitBlt() 568 ClipRect.top = pco->rclBounds.top; in EngBitBlt() 622 ClipRect.top = RectEnum.arcl[i].top; in EngBitBlt() 723 rclSrc.top = pptlSrc->y + rclClipped.top - prclTrg->top; in IntEngBitBlt() 736 rclClipped.top += (rclSrcClipped.top - rclSrc.top); in IntEngBitBlt() 952 if (OutputRect.top < ClipRegion->rclBounds.top) in EngMaskBitBlt() 954 InputRect.top += ClipRegion->rclBounds.top - OutputRect.top; in EngMaskBitBlt() 988 OutputRect.top = DestRect->top + Translate.y; in EngMaskBitBlt() [all …]
|
H A D | alphablend.c | 60 if ( (InputRect.top < 0) || (InputRect.bottom < 0) || in EngAlphaBlend() 71 OutputRect.top >= SourceRect->bottom || InputRect.top >= OutputRect.bottom)) in EngAlphaBlend() 96 ClipRegion->rclBounds.top >= ClipRegion->rclBounds.bottom)) in EngAlphaBlend() 109 InputRect.top += Translate.y; in EngAlphaBlend() 119 OutputRect.top += Translate.y; in EngAlphaBlend() 137 ClipRect.top = ClipRegion->rclBounds.top + Translate.y; in EngAlphaBlend() 144 …Rect.top = InputRect.top + (CombinedRect.top - OutputRect.top) * (InputRect.bottom - InputRect.top… in EngAlphaBlend() 145 …m - OutputRect.bottom) * (InputRect.bottom - InputRect.top) / (OutputRect.bottom - OutputRect.top); in EngAlphaBlend() 165 ClipRect.top = RectEnum.arcl[i].top + Translate.y; in EngAlphaBlend() 172 …Rect.top = InputRect.top + (CombinedRect.top - OutputRect.top) * (InputRect.bottom - InputRect.top… in EngAlphaBlend() [all …]
|
H A D | copybits.c | 46 if (DestRect->top > DestRect->bottom) in EngCopyBits() 49 lTmp = DestRect->top; in EngCopyBits() 50 DestRect->top = DestRect->bottom; in EngCopyBits() 69 if (psoSource->sizlBitmap.cy - ptlSrc.y < rclDest.bottom - rclDest.top) in EngCopyBits() 148 lTmp = BltInfo.DestRect.top; in EngCopyBits() 149 BltInfo.DestRect.top = BltInfo.DestRect.bottom; in EngCopyBits() 162 BltInfo.SourcePoint.y = SourcePoint->y + BltInfo.DestRect.top - DestRect->top; in EngCopyBits() 167 lTmp = BltInfo.DestRect.top; in EngCopyBits() 168 BltInfo.DestRect.top = BltInfo.DestRect.bottom; in EngCopyBits() 193 … BltInfo.SourcePoint.y = SourcePoint->y + BltInfo.DestRect.top - DestRect->top; in EngCopyBits() [all …]
|
/reactos/win32ss/gdi/gdi32/wine/ |
H A D | emfdrv.c | 66 vport_rect.top = temp; in emfdrv_update_bounds() 77 bounds->top = min( bounds->top, vport_rect.top ); in emfdrv_update_bounds() 92 bounds.top = min( y, pt.y ); in EMFDRV_LineTo() 107 bounds.top = min( top, bottom ); in EMFDRV_RoundRect() 132 if (top > bottom) { temp = top; top = bottom; bottom = temp; } in EMFDRV_ArcChordPie() 143 emr.rclBox.top = top; in EMFDRV_ArcChordPie() 194 bounds.top = top; in EMFDRV_ArcChordPie() 210 if (bounds.top > y_centre) bounds.top = y_centre; in EMFDRV_ArcChordPie() 219 bounds.top = min( bounds.top, pt.y ); in EMFDRV_ArcChordPie() 262 bounds.top = min( top, bottom ); in EMFDRV_Ellipse() [all …]
|
/reactos/win32ss/user/user32/windows/ |
H A D | rect.c | 58 return (lprc1->left == lprc2->left) && (lprc1->top == lprc2->top) && in EqualRect() 76 rect->top -= dy; in InflateRect() 99 lprcSrc1->top >= lprcSrc2->bottom || in IntersectRect() 100 lprcSrc2->top >= lprcSrc1->bottom) in IntersectRect() 108 lprcDst->top = max(lprcSrc1->top, lprcSrc2->top); in IntersectRect() 142 rect->top += dy; in OffsetRect() 177 lprc->top = yTop; in SetRect() 229 if (lprcDst->top == tempRect.top && lprcDst->bottom == tempRect.bottom) in SubtractRect() 238 if (lprcDst->top == tempRect.top) in SubtractRect() 239 lprcDst->top = tempRect.bottom; in SubtractRect() [all …]
|
/reactos/modules/rostests/apitests/shell32/ |
H A D | SHAppBarMessage.cpp | 982 ok_long(rc1.top, s_rcWorkArea.top); in DoAction() 999 ok_long(rc2.top, s_rcWorkArea.top); in DoAction() 1012 ok_long(rc2.top, s_rcWorkArea.top); in DoAction() 1015 ok_long(rcWork.top, s_rcWorkArea.top); in DoAction() 1024 ok_long(rc2.top, s_rcWorkArea.top); in DoAction() 1037 ok_long(rc2.top, s_rcWorkArea.top); in DoAction() 1040 ok_long(rcWork.top, s_rcWorkArea.top); in DoAction() 1062 ok_long(rc2.top, s_rcWorkArea.top); in DoAction() 1065 ok_long(rcWork.top, s_rcWorkArea.top); in DoAction() 1087 ok_long(rc2.top, s_rcWorkArea.top); in DoAction() [all …]
|
/reactos/dll/opengl/glu32/src/libnurbs/internals/ |
H A D | coveandtiler.cc | 80 long ustart = (top.ustart >= bot.ustart) ? top.ustart : bot.ustart; in coveAndTile() 81 long uend = (top.uend <= bot.uend) ? top.uend : bot.uend; in coveAndTile() 84 if( top.ustart >= bot.ustart ) in coveAndTile() 89 if( top.uend <= bot.uend ) in coveAndTile() 147 brrv.set( top.uend+1, bot.vindex ); in coveAndTile() 162 trrv.set( bot.uend+1, top.vindex ); in coveAndTile() 199 GridVertex tgv( top.uend, top.vindex ); in coveUpperRight() 261 GridVertex tgv( top.ustart, top.vindex ); in coveUpperLeft() 355 if( gv.prevu() <= top.ustart ) { in coveLL() 416 if( gv.nextu() >= top.uend ) { in coveLR() [all …]
|
H A D | slicer.cc | 149 Arc_ptr top; in monoTriangulationLoop() local 151 top = bot = loop; in monoTriangulationLoop() 167 top = temp; in monoTriangulationLoop() 328 top = loop; in triangulateRect() 349 left = top->next; in triangulateRect() 397 evalLineNOGE(top->pts, top->npts, backend); in triangulateRectAux() 433 OPT_OUTVERT(top->pts[top->npts-2], backend); in triangulateRectAux() 443 OPT_OUTVERT(top->pts[top->npts-2], backend); in triangulateRectAux() 455 OPT_OUTVERT(top->pts[top->npts-2], backend); in triangulateRectAux() 515 OPT_OUTVERT(top->pts[top->npts-2], backend); in triangulateRectAux() [all …]
|
/reactos/win32ss/gdi/gdi32/objects/ |
H A D | region.c | 18 ( ((r).top <= y)) ) 41 if ( pRect[a].top != pRect[b].top ) break; in SortRects() 183 prgnattr->Rect.top = yTop; in IntSetRectRgn() 359 if ((prngattrSrc1->Rect.top == prngattrSrc2->Rect.top) && in CombineRgn() 393 min(prngattrSrc1->Rect.top, prngattrSrc2->Rect.top), in CombineRgn() 423 if ((prngattrSrc1->Rect.top == prngattrSrc2->Rect.top) && in CombineRgn() 477 (prngattrSrc1->Rect.top <= prngattrSrc2->Rect.top) && in CombineRgn() 492 (prngattrSrc2->Rect.top <= prngattrSrc1->Rect.top) && in CombineRgn() 828 prcOut->top = 0; in GetRgnBox() 922 (rc.top & MIN_COORD && ((rc.top & MIN_COORD) != MIN_COORD)) || in OffsetRgn() [all …]
|
/reactos/base/applications/mspaint/ |
H A D | sizebox.cpp | 36 prc->top = prcBase->top; in getSizeBoxRect() 40 prc->top = prcBase->top; in getSizeBoxRect() 44 prc->top = prcBase->top; in getSizeBoxRect() 48 prc->top = (prcBase->top + prcBase->bottom - GRIP_SIZE) / 2; in getSizeBoxRect() 52 prc->top = (prcBase->top + prcBase->bottom - GRIP_SIZE) / 2; in getSizeBoxRect() 56 prc->top = prcBase->bottom - GRIP_SIZE; in getSizeBoxRect() 60 prc->top = prcBase->bottom - GRIP_SIZE; in getSizeBoxRect() 64 prc->top = prcBase->bottom - GRIP_SIZE; in getSizeBoxRect() 76 prc->bottom = prc->top + GRIP_SIZE; in getSizeBoxRect() 119 ::Rectangle(hdc, rc.left, rc.top, rc.right, rc.bottom); in drawSizeBoxes()
|
/reactos/win32ss/gdi/ntgdi/ |
H A D | region.c | 487 prcl->top = top; in REGION_vAddRect() 646 pExtents->top = pRect->top; in REGION_SetExtents() 751 rpr->top = max(lpr->top, rect->top); in REGION_CropRegion() 763 if (rpr->top < top) top = rpr->top; in REGION_CropRegion() 776 rgnDst->rdh.rcBound.top = top; in REGION_CropRegion() 1055 if (r1->top < r2->top) in REGION_RegionOp() 1057 top = max(r1->top,ybot); in REGION_RegionOp() 1067 else if (r2->top < r1->top) in REGION_RegionOp() 1884 arcl[i].top = prclSrc->top; in REGION_bMakeSimpleFrameRgn() 2624 rc.top = rect->top; in REGION_RectInRegion() [all …]
|
H A D | rect.c | 44 prclDst->top = min(prcl1->top, prcl2->top); in RECTL_bUnionRect() 65 prclDst->top = max(prcl1->top, prcl2->top); in RECTL_bIntersectRect() 68 if (prclDst->top < prclDst->bottom) in RECTL_bIntersectRect() 91 if (prcl->top > prcl->bottom) in RECTL_vMakeWellOrdered() 93 lTmp = prcl->top; in RECTL_vMakeWellOrdered() 94 prcl->top = prcl->bottom; in RECTL_vMakeWellOrdered() 107 rect->top -= dy; in RECTL_vInflateRect()
|
/reactos/win32ss/user/ntuser/ |
H A D | nonclient.c | 79 rect->top = rect->left = 0; in NC_GetInsideRect() 359 …mouseRect.top = max( mouseRect.top, sizingRect.bottom-maxTrack.y+capturePoint.y-sizingRect.top … in DefWndDoSizeMove() 364 …mouseRect.top = max( mouseRect.top, sizingRect.top+minTrack.y+capturePoint.y-sizingRect.bottom … in DefWndDoSizeMove() 509 pr->top = mouseRect.top; in DefWndDoSizeMove() 831 TempRect.top += 2; in UserDrawCaptionButton() 850 TempRect.top += 2; in UserDrawCaptionButton() 875 TempRect.top += 2; in UserDrawCaptionButton() 1364 CliRect.top -= OrigRect.top; in NC_HandleNCCalcSize() 1410 Rect->bottom = Rect->top; in NC_HandleNCCalcSize() 1941 TempRect.top = TempRect2.top; [all …]
|
H A D | draw.c | 188 epy = rc->top-1; in IntDrawDiagEdge() 229 Points[1].y = rc->top; in IntDrawDiagEdge() 269 Points[1].y = rc->top; in IntDrawDiagEdge() 284 Points[1].y = rc->top; in IntDrawDiagEdge() 328 rc->top += add; in IntDrawDiagEdge() 552 InnerRect.top += add; in IntDrawRectEdge() 657 r->top += 2; in UITOOLS95_DFC_ButtonPush() 821 myr.top += 1; in UITOOLS95_DrawFrameCaption() 925 myr.top += 1; in UITOOLS95_DrawFrameScroll() 1046 NtGdiPatBlt(hDC, r.left, r.top, 1, r.bottom - r.top, PATCOPY); in FrameRect() [all …]
|
/reactos/base/applications/rapps/include/ |
H A D | rosui.h | 151 top = t; in CUiRect() 272 parentRect.top += m_Margin.top; in ComputeRect() 308 currentRect.top = parentRect.top + (szParent.cy - szCurrent.cy) / 2; in ComputeRect() 510 rect->top = min(rect->top, r.top); in ComputeContentBounds() 539 NULL, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, in OnParentSize() 650 rect->top = min(rect->top, r.top); in ComputeContentBounds() 686 growth.cy = (parentRect.bottom - parentRect.top) - (oldRect.bottom - oldRect.top); in OnParentSize() 712 if (m_Pos < rect.top) in OnParentSize() 713 m_Pos = rect.top; in OnParentSize() 715 splitter.top = m_Pos; in OnParentSize() [all …]
|
/reactos/modules/rostests/apitests/user32/ |
H A D | DM_REPOSITION.c | 28 cy = rc.bottom - rc.top; in OnInitDialog() 36 ok_long(rc.top, rcWork.top - 80); in OnInitDialog() 38 ok_long(rc.bottom, rc.top + cy); in OnInitDialog() 44 ok_long(rc.top, rcWork.top); in OnInitDialog() 46 ok_long(rc.bottom, rc.top + cy); in OnInitDialog() 55 ok_long(rc.top, rcWork.bottom - cy + 80); in OnInitDialog() 57 ok_long(rc.bottom, rc.top + cy); in OnInitDialog() 63 ok_long(rc.top, rcWork.bottom - cy - 4); in OnInitDialog() 65 ok_long(rc.bottom, rc.top + cy); in OnInitDialog() 88 ok_long(rc.bottom, rc.top + cy); in OnInitDialog() [all …]
|
/reactos/win32ss/gdi/gdi32/wine/enhmfdrv/ |
H A D | graphics.c | 242 if(top > bottom) {temp = top; top = bottom; bottom = temp;} 255 emr.rclBox.top = top; 307 bounds.top = top; 322 if(bounds.top > yCentre) bounds.top = yCentre; 422 if(top > bottom) {temp = top; top = bottom; bottom = temp;} 435 emr.rclBox.top = top; 461 if(top > bottom) {temp = top; top = bottom; bottom = temp;} 474 emr.rclBox.top = top; 499 if(top > bottom) {temp = top; top = bottom; bottom = temp;} 512 emr.rclBox.top = top; [all …]
|
/reactos/dll/cpl/desk/ |
H A D | draw.c | 183 InnerRect.top += add; in MyIntDrawRectEdge() 265 myr.top += 1; in MyDrawFrameCaption() 336 myr.top += 1; in MyDrawFrameScroll() 399 rc3.top = lpRect->top + 2; in MyDrawCaptionButtons() 408 rc4.top = rc3.top; in MyDrawCaptionButtons() 415 rc5.top = rc4.top; in MyDrawCaptionButtons() 435 rcTop.top = rc->top; in MyDrawScrollbar() 440 rcMiddle.top = rc->top + width; in MyDrawScrollbar() 484 vert[0].y = rect->top; in MyDrawCaptionTemp() 516 rc.top = rect->top; in MyDrawCaptionTemp() [all …]
|
/reactos/base/applications/taskmgr/ |
H A D | graph.c | 190 rcBarLeft.top = rcBarRight.top = 5; in Graph_DrawCpuUsageGraph() 210 rcBarLeft.top += 3; in Graph_DrawCpuUsageGraph() 213 rcBarRight.top += 3; in Graph_DrawCpuUsageGraph() 246 rcBarLeft.top += 3; in Graph_DrawCpuUsageGraph() 257 rcBarLeft.top -=3; in Graph_DrawCpuUsageGraph() 260 rcBarRight.top -=3; in Graph_DrawCpuUsageGraph() 268 rcBarLeft.top -=3; in Graph_DrawCpuUsageGraph() 271 rcBarRight.top -=3; in Graph_DrawCpuUsageGraph() 348 rcBarLeft.top = rcBarRight.top = 5; in Graph_DrawMemUsageGraph() 359 rcBarLeft.top += 3; in Graph_DrawMemUsageGraph() [all …]
|
/reactos/win32ss/gdi/dib/ |
H A D | dib24bpp.c | 261 if (BltInfo->DestRect.top < BltInfo->SourcePoint.y) in DIB_24BPP_BitBltSrcCopy() 385 sy = BltInfo->DestRect.top; in DIB_24BPP_BitBltSrcCopy() 502 BltInfo->DestRect.top * BltInfo->DestSurface->lDelta); in DIB_24BPP_BitBlt() 673 DstHeight = DestRect->bottom - DestRect->top; in DIB_24BPP_TransparentBlt() 675 SrcHeight = SourceRect->bottom - SourceRect->top; in DIB_24BPP_TransparentBlt() 680 DestRect->top * DestSurf->lDelta); in DIB_24BPP_TransparentBlt() 683 for(Y = DestRect->top; Y < DestRect->bottom; Y++) in DIB_24BPP_TransparentBlt() 685 SourceY = SourceRect->top+(Y - DestRect->top) * SrcHeight / DstHeight; in DIB_24BPP_TransparentBlt() 768 SrcY = SourceRect->top; in DIB_24BPP_AlphaBlend() 769 while (++Rows <= DestRect->bottom - DestRect->top) in DIB_24BPP_AlphaBlend() [all …]
|
H A D | dib16bpp.c | 350 BltInfo->DestRect.top - 1) * in DIB_16BPP_BitBltSrcCopy() 360 BltInfo->DestRect.top <= j; j--) in DIB_16BPP_BitBltSrcCopy() 408 BltInfo->DestRect.top - 1) * in DIB_16BPP_BitBltSrcCopy() 743 DestRect->top * DestSurf->lDelta); in DIB_16BPP_TransparentBlt() 748 SourceY = SourceRect->top+(Y - DestRect->top) * SrcHeight / DstHeight; in DIB_16BPP_TransparentBlt() 902 SrcY = SourceRect->top; in DIB_16BPP_AlphaBlend() 903 DstY = DestRect->top; in DIB_16BPP_AlphaBlend() 939 SrcY = SourceRect->top + ((DstY-DestRect->top)*(SourceRect->bottom - SourceRect->top)) in DIB_16BPP_AlphaBlend() 948 SrcY = SourceRect->top; in DIB_16BPP_AlphaBlend() 949 DstY = DestRect->top; in DIB_16BPP_AlphaBlend() [all …]
|