File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -624,7 +624,9 @@ class QgsSymbolV2RenderContext
624
624
QgsSymbolV2::OutputUnit outputUnit() const;
625
625
void setOutputUnit( QgsSymbolV2::OutputUnit u );
626
626
627
+ //! Get alpha transparency 1 for opaque, 0 for invisible
627
628
qreal alpha() const;
629
+ //! Set alpha transparency 1 for opaque, 0 for invisible
628
630
void setAlpha( qreal alpha );
629
631
630
632
bool selected() const;
Original file line number Diff line number Diff line change @@ -92,7 +92,9 @@ class CORE_EXPORT QgsSymbolV2
92
92
OutputUnit outputUnit () const { return mOutputUnit ; }
93
93
void setOutputUnit ( OutputUnit u ) { mOutputUnit = u; }
94
94
95
+ // ! Get alpha transparency 1 for opaque, 0 for invisible
95
96
qreal alpha () const { return mAlpha ; }
97
+ // ! Set alpha transparency 1 for opaque, 0 for invisible
96
98
void setAlpha ( qreal alpha ) { mAlpha = alpha; }
97
99
98
100
// ! @note added in 1.5
@@ -137,7 +139,9 @@ class CORE_EXPORT QgsSymbolV2RenderContext
137
139
QgsSymbolV2::OutputUnit outputUnit () const { return mOutputUnit ; }
138
140
void setOutputUnit ( QgsSymbolV2::OutputUnit u ) { mOutputUnit = u; }
139
141
142
+ // ! Get alpha transparency 1 for opaque, 0 for invisible
140
143
qreal alpha () const { return mAlpha ; }
144
+ // ! Set alpha transparency 1 for opaque, 0 for invisible
141
145
void setAlpha ( qreal alpha ) { mAlpha = alpha; }
142
146
143
147
bool selected () const { return mSelected ; }
You can’t perform that action at this time.
0 commit comments