diff options
author | ztenghui <ztenghui@google.com> | 2014-11-12 16:19:03 -0800 |
---|---|---|
committer | ztenghui <ztenghui@google.com> | 2014-11-13 12:55:16 -0800 |
commit | 5e7a29f6774f0672a51761297e5c6dbdbc8f794d (patch) | |
tree | 03916f39958791bcbc8eee03ece64f7b94cfbf14 /tests/VectorDrawableTest/res | |
parent | 521ca5f8fba355f526e82dc3a8fc6520e4379874 (diff) | |
download | frameworks_base-5e7a29f6774f0672a51761297e5c6dbdbc8f794d.zip frameworks_base-5e7a29f6774f0672a51761297e5c6dbdbc8f794d.tar.gz frameworks_base-5e7a29f6774f0672a51761297e5c6dbdbc8f794d.tar.bz2 |
Fix the starting pen's position when a path close.
We have to cache the starting point for the latest "move", then apply it after
we close the path.
b/18214929
Change-Id: I8e8e5c810d720a1c194b8f59d74867a0efbb7662
Diffstat (limited to 'tests/VectorDrawableTest/res')
-rw-r--r-- | tests/VectorDrawableTest/res/drawable/vector_drawable30.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/VectorDrawableTest/res/drawable/vector_drawable30.xml b/tests/VectorDrawableTest/res/drawable/vector_drawable30.xml new file mode 100644 index 0000000..3dff196 --- /dev/null +++ b/tests/VectorDrawableTest/res/drawable/vector_drawable30.xml @@ -0,0 +1,28 @@ +<!-- + Copyright (C) 2014 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:height="48dp" + android:width="48dp" + android:viewportHeight="48" + android:viewportWidth="48" > + + <group> + <path + android:name="plus1" + android:pathData="M20 16h-4v8h-8v4h8v8h4v-8h8v-4h-8zm9-3.84v3.64l5-1v21.2h4v-26z" + android:fillColor="#ff00ff00"/> + </group> +</vector> |