Skip to content

Commit

Permalink
PATCH: add rotate icon (#324)
Browse files Browse the repository at this point in the history
  • Loading branch information
LrxGaelle committed Nov 7, 2023
1 parent 77ed8ad commit 405f324
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<template>
<Icon
:fill="fill"
:fillColor="fillColor"
:color="color"
:class="classes"
:style="style"
>
<Rotate />
</Icon>
</template>

<script>
import Rotate from "../BIMDataLibraryIcons/Rotate.vue";
import makeIcon from "./iconFactory.js";
export default makeIcon("Rotate", Rotate);
</script>

<style scoped lang="scss" src="../_BIMDataIcon.scss"></style>
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export { default as BIMDataIconReprocessIfc } from "./BIMDataIconReprocessIfc.vu
export { default as BIMDataIconReset } from "./BIMDataIconReset.vue";
export { default as BIMDataIconRestore } from "./BIMDataIconRestore.vue";
export { default as BIMDataIconRight } from "./BIMDataIconRight.vue";
export { default as BIMDataIconRotate } from "./BIMDataIconRotate.vue";
export { default as BIMDataIconRules } from "./BIMDataIconRules.vue";
export { default as BIMDataIconSandglass } from "./BIMDataIconSandglass.vue";
export { default as BIMDataIconSave } from "./BIMDataIconSave.vue";
Expand Down
21 changes: 21 additions & 0 deletions src/BIMDataComponents/BIMDataIcon/BIMDataLibraryIcons/Rotate.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<template>
<g>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M0 10.6467L6.93668 3.70998L13.8734 10.6467L6.93668 17.5834L0 10.6467ZM1.59334 10.6467L6.93668 15.99L12.28 10.6467L6.93668 5.30332L1.59334 10.6467Z"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M15.1134 1.9234L11.7334 4.74005L15.1134 7.5567V5.55645C16.0724 5.63287 17.008 5.90383 17.8623 6.35499C18.8831 6.89413 19.7569 7.67431 20.4078 8.62779C21.0587 9.58127 21.467 10.6792 21.5973 11.8263C21.7275 12.9734 21.5758 14.135 21.1553 15.2101C20.7348 16.2853 20.0582 17.2415 19.1843 17.9959C18.3104 18.7502 17.2655 19.2798 16.1404 19.5387C15.0154 19.7976 13.8441 19.7779 12.7284 19.4814C11.6126 19.1849 10.5861 18.6205 9.738 17.8373L8.81714 18.8344C9.82758 19.7676 11.0505 20.4399 12.3798 20.7932C13.709 21.1464 15.1044 21.1698 16.4448 20.8614C17.7852 20.553 19.03 19.922 20.0712 19.0234C21.1124 18.1247 21.9184 16.9854 22.4194 15.7045C22.9204 14.4236 23.1011 13.0398 22.9459 11.6732C22.7907 10.3065 22.3043 8.99848 21.5288 7.86253C20.7534 6.72658 19.7123 5.7971 18.4961 5.15478C17.4464 4.60039 16.2936 4.27439 15.1134 4.19552V1.9234Z"
/>
<rect
x="6.89673"
y="4.31342"
width="8.57002"
height="8.76336"
transform="rotate(45 6.89673 4.31342)"
/>
</g>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ import reprocessIfc from "./ReprocessIfc.vue";
import reset from "./Reset.vue";
import restore from "./Restore.vue";
import right from "./Right.vue";
import rotate from "./Rotate.vue";
import rules from "./Rules.vue";
import sandglass from "./Sandglass.vue";
import save from "./Save.vue";
Expand Down Expand Up @@ -258,6 +259,7 @@ export default {
reset,
restore,
right,
rotate,
rules,
sandglass,
save,
Expand Down

0 comments on commit 405f324

Please sign in to comment.