소스 검색

* fixed small mistake in clipping

master
Bergmann89 8 년 전
부모
커밋
5e27aaea10
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      utsTextBlock.pas

+ 2
- 2
utsTextBlock.pas 파일 보기

@@ -744,9 +744,9 @@ var
// check vertical clipping
case Clipping of
tsClipCharBorder, tsClipWordBorder:
draw := (y + line^.meta.Height > r.Top) and (y < r.Bottom);
draw := (y + line^.meta.Height >= r.Top) and (y <= r.Bottom);
tsClipCharComplete, tsClipWordComplete:
draw := (y > r.Top) and (y + line^.meta.Height < r.Bottom);
draw := (y >= r.Top) and (y + line^.meta.Height <= r.Bottom);
else
draw := true;
end;


불러오는 중...
취소
저장