dev #364

Merged
ysCha merged 18 commits from dev into dev-deploy 2025-09-29 11:40:03 +09:00
2 changed files with 20 additions and 1 deletions
Showing only changes of commit 8c153430cd - Show all commits

View File

@ -330,7 +330,6 @@ export const QPolygon = fabric.util.createClass(fabric.Polygon, {
} else if (isGableRoof(types)) {
// A형, B형 박공 지붕
console.log('패턴 지붕')
isGableRoof(types)
} else if (isShedRoof(types, this.lines)) {
console.log('한쪽흐름 지붕')
drawShedRoof(this.id, this.canvas, textMode)

View File

@ -489,6 +489,26 @@ export const isSamePoint = (a, b) => {
return Math.abs(Math.round(a.x) - Math.round(b.x)) <= 2 && Math.abs(Math.round(a.y) - Math.round(b.y)) <= 2
}
/**
* 용마루 지붕
* @param roofId
* @param canvas
* @param textMode
*/
export const drawEavesRoof = (roofId, canvas, textMode) => {
}
/**
* 박공지붕(A,B 패턴)
* @param roofId
* @param canvas
* @param textMode
*/
export const drawGableRoof = (roofId, canvas, textMode) => {
}
/**
* 한쪽흐름 지붕
* @param roofId