Commit fee488c9 authored by Carlos Garcia Campos's avatar Carlos Garcia Campos

[annots] Add AnnotMarkup::setOpacity

parent d15a355e
......@@ -1527,6 +1527,14 @@ void AnnotMarkup::setPopup(AnnotPopup *new_popup) {
}
}
void AnnotMarkup::setOpacity(double opacityA) {
Object obj1;
opacity = opacityA;
obj1.initReal(opacity);
update ("CA", &obj1);
}
//------------------------------------------------------------------------
// AnnotText
//------------------------------------------------------------------------
......
......@@ -635,6 +635,7 @@ public:
// The annotation takes the ownership of new_popup
void setPopup(AnnotPopup *new_popup);
void setLabel(GooString *new_label);
void setOpacity(double opacityA);
protected:
GooString *label; // T (Default autor)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment