Home | History | Annotate | Download | only in fpdf_render

Lines Matching refs:clip_box

843     FX_RECT clip_box = m_pDevice->GetClipBox();

844 rect.Intersect(clip_box);
907 FX_RECT clip_box = m_pDevice->GetClipBox();
908 if (clip_box.IsEmpty()) {
915 clip_box.right = clip_box.left + (FX_INT32)FXSYS_ceil(clip_box.Width() * sa);
916 clip_box.bottom = clip_box.top + (FX_INT32)FXSYS_ceil(clip_box.Height() * sd);
939 CFX_FloatRect clip_box_p(clip_box);
945 if (width > clip_box.Width() || height > clip_box.Height() || width * height > clip_box.Width() * clip_box.Height()) {
978 min_col = (clip_box.left - orig_x) / width;
979 if (clip_box.left < orig_x) {
982 max_col = (clip_box.right - orig_x) / width;
983 if (clip_box.right <= orig_x) {
986 min_row = (clip_box.top - orig_y) / height;
987 if (clip_box.top < orig_y) {
990 max_row = (clip_box.bottom - orig_y) / height;
991 if (clip_box.bottom <= orig_y) {
1013 int clip_width = clip_box.right - clip_box.left;
1014 int clip_height = clip_box.bottom - clip_box.top;
1025 start_x = FXSYS_round(mtPattern2Device.e) + col * width - clip_box.left;
1026 start_y = FXSYS_round(mtPattern2Device.f) + row * height - clip_box.top;
1031 start_x = FXSYS_round(orig_x + left_offset) - clip_box.left;
1032 start_y = FXSYS_round(orig_y + top_offset) - clip_box.top;
1035 if (start_x < 0 || start_x >= clip_box.Width() || start_y < 0 || start_y >= clip_box.Height()) {
1053 CompositeDIBitmap(&screen, clip_box.left, clip_box.top, 0, 255, FXDIB_BLEND_NORMAL, FALSE);