Bug 100722 - The clip out operation does not work properly if the surface is smaller than the path for the clipping.
Summary: The clip out operation does not work properly if the surface is smaller than ...
Status: RESOLVED MOVED
Alias: None
Product: cairo
Classification: Unclassified
Component: image backend (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Chris Wilson
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-19 11:04 UTC by Gwang Yoon Hwang
Modified: 2018-08-25 13:58 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch includes test cases and expected results (9.45 KB, application/mbox)
2017-04-19 11:04 UTC, Gwang Yoon Hwang
Details

Description Gwang Yoon Hwang 2017-04-19 11:04:39 UTC
Created attachment 130915 [details]
Patch includes test cases and expected results

Whenever we are going to draw a text box with decorations, WebKit clips out the 
in side of the text box to prevent bleeding while filling patterns.

However, Cairo doesn't apply clips properly if the follwing conditions are satisfied:

(1) Creates and apply a path for the clipping out which is not rectanglar.
(2) Creates and apply a path for the cliping in after the clip out operation.
(3) The filling area of the clipping out and the filling area of the clipping in
does not intersect on the target surface.

I attached test cases for this bug and expected results.
Comment 1 GitLab Migration User 2018-08-25 13:58:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/cairo/cairo/issues/297.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.