Changeset View
Changeset View
Standalone View
Standalone View
kstars/skyqpainter.cpp
Context not available. | |||||
774 | 774 | | |||
---|---|---|---|---|---|
775 | case 5: //Gaseous Nebula | 775 | case 5: //Gaseous Nebula | ||
776 | case 15: // Dark Nebula | 776 | case 15: // Dark Nebula | ||
777 | if (size < 2.) | | |||
778 | size = 2.; | | |||
779 | save(); | 777 | save(); | ||
780 | translate(x, y); | 778 | translate(x, y); | ||
781 | rotate(positionAngle); //rotate the coordinate system | 779 | rotate(positionAngle); //rotate the coordinate system | ||
Context not available. | |||||
801 | restore(); //reset coordinate system | 799 | restore(); //reset coordinate system | ||
802 | break; | 800 | break; | ||
803 | case 7: //Supernova remnant // FIXME: Why is SNR drawn different from a gaseous nebula? | 801 | case 7: //Supernova remnant // FIXME: Why is SNR drawn different from a gaseous nebula? | ||
804 | if (size < 2) | | |||
805 | size = 2; | | |||
806 | save(); | 802 | save(); | ||
807 | translate(x, y); | 803 | translate(x, y); | ||
808 | rotate(positionAngle); //rotate the coordinate system | 804 | rotate(positionAngle); //rotate the coordinate system | ||
Context not available. | |||||
837 | { | 833 | { | ||
838 | tempBrush = brush(); | 834 | tempBrush = brush(); | ||
839 | setBrush(QBrush()); | 835 | setBrush(QBrush()); | ||
840 | psize = 1.; | | |||
841 | if (size > 50.) | | |||
842 | psize *= 2.; | | |||
843 | color = pen().color().name(); | 836 | color = pen().color().name(); | ||
844 | save(); | 837 | save(); | ||
845 | translate(x, y); | 838 | translate(x, y); | ||
Context not available. |