mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-03 00:16:15 +00:00
all: fix spelling errors
Signed-off-by: Walter Werner SCHNEIDER <contact@schnwalter.eu> Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
committed by
Elias Naur
parent
83d23ab507
commit
fd2d96adfc
@@ -57,7 +57,7 @@ func finishBenchmark(b *testing.B, w *headless.Window) {
|
||||
}
|
||||
|
||||
func BenchmarkDrawUICached(b *testing.B) {
|
||||
// As BecnhmarkDraw but the same op.Ops every time that is not reset - this
|
||||
// As BenchmarkDraw but the same op.Ops every time that is not reset - this
|
||||
// should thus allow for maximal cache usage.
|
||||
gtx, w, th := setupBenchmark(b)
|
||||
drawCore(gtx, th)
|
||||
|
||||
@@ -59,7 +59,7 @@ func TestPaintClippedBorder(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
func TestPaintClippedCirle(t *testing.T) {
|
||||
func TestPaintClippedCircle(t *testing.T) {
|
||||
run(t, func(o *op.Ops) {
|
||||
r := float32(10)
|
||||
clip.RRect{Rect: f32.Rect(20, 20, 40, 40), SE: r, SW: r, NW: r, NE: r}.Add(o)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 571 B |
@@ -85,7 +85,7 @@ func TestRepeatedPaintsZ(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestNoClipFromPaint(t *testing.T) {
|
||||
// ensure that a paint operation does not polute the state
|
||||
// ensure that a paint operation does not pollute the state
|
||||
// by leaving any clip paths in place.
|
||||
run(t, func(o *op.Ops) {
|
||||
a := f32.Affine2D{}.Rotate(f32.Pt(20, 20), math.Pi/4)
|
||||
|
||||
Reference in New Issue
Block a user