[PATCH] d2d1: Support text clipping with D2D1_DRAW_TEXT_OPTIONS_CLIP
Henri Verbeet
hverbeet at gmail.com
Mon Apr 3 01:06:51 CDT 2017
On 1 April 2017 at 21:01, Nikolay Sivov <nsivov at codeweavers.com> wrote:
> + clip_rect.left = origin.x + layout_metrics.left;
> + clip_rect.top = origin.y + layout_metrics.top;
> + clip_rect.right = clip_rect.left + layout_metrics.layoutWidth;
> + clip_rect.bottom = clip_rect.top + layout_metrics.layoutHeight;
> + ID2D1RenderTarget_PushAxisAlignedClip(iface, &clip_rect, D2D1_ANTIALIAS_MODE_ALIASED);
Does this do the right thing wrt. rendertarget transforms?
More information about the wine-devel
mailing list