--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/7fb6c0d1-02a7-4da5-acf0-88ccabc4f655%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/CAD%3DHvMt6R_jLNY89%2Boa%2BYsrd4fUQKMXfSEgq-ie%3Durk-g1OaMg%40mail.gmail.com.
... sorry, I'm trying to find the code that does this, but without luck. Might be related to the SkTreatAsSprite stuff in SkDraw? I specifically hit this when making a filtering GM that drew a black/white checkerboard at half-pixel offset. I had to include a scale (-1) and translation to trick it into not snapping to pixel centers.
On Thu, Apr 23, 2020 at 5:27 PM Brian Osman <brian...@google.com> wrote:
This is a "feature" of the raster backend. I consider it a bug. I had to work around it in GMs that I've created before.
On Thu, Apr 23, 2020 at 5:22 PM 'Mike Klein' via skia-discuss <skia-d...@googlegroups.com> wrote:
Can you reproduce your problem on fiddle.skia.org?
On Thu, Apr 23, 2020 at 4:21 PM Julijan Nikolic <julijannik...@gmail.com> wrote:
Hi, I am trying to draw the image with translation, but it seems that image is pixel snapping.--In this example text is an image that I am trying to draw and translate.I found that if I do small rotation, it seems that translation won't be pixel snapped. This looks like a hack, so I guess it must be a better way to do that?
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/skia-discuss/7fb6c0d1-02a7-4da5-acf0-88ccabc4f655%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.
Can you reproduce your problem on fiddle.skia.org?
On Thu, Apr 23, 2020 at 4:21 PM Julijan Nikolic <julijannik...@gmail.com> wrote:
Hi, I am trying to draw the image with translation, but it seems that image is pixel snapping.--In this example text is an image that I am trying to draw and translate.I found that if I do small rotation, it seems that translation won't be pixel snapped. This looks like a hack, so I guess it must be a better way to do that?
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-d...@googlegroups.com.