프로젝트

일반

사용자정보

개정판 739d030a

ID739d030aefef293fb3c2595964f5950694cd3349
상위 ed9bb759
하위 cc86926a

백흠경이(가) 4년 이상 전에 추가함

issue #1054: 스트림 데이타 입력 세밀 조정

Change-Id: I2f8556a1e229d951973fbbe6c8f65bc90c2f5487

차이점 보기:

HYTOS/HYTOS/Shapes/EngineeringStreamlineItem.py
811 811

  
812 812
        return rect
813 813

  
814
    def shape(self):
815
        """return shape for non-rectangle shape"""
816
        path = None
817
        if self.isCreated:
818
            stroke = QPainterPathStroker()
819
            stroke.setWidth(10)
820
            return stroke.createStroke(self.path())
821
        else:
822
            polygon = QPolygon()
823
            for pt in self._vertices:
824
                polygon.append(QPointF(pt[0], pt[1]))
825
            path = QPainterPath()
826
            path.addPolygon(polygon)
827

  
828
        return path
829

  
830

  
814 831
    '''
815 832
        @brief      
816 833
        @author     humkyung

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)