summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2011-03-05 15:30:01 +0100
committerCarlos Garcia Campos <carlosgc@gnome.org>2011-03-05 15:30:01 +0100
commit2bf82f27bd9c8f97e5484ea97be661f65221163d (patch)
treedf4c22cdd0b0d1ec43d8701b31a03b1f4e2ea4be
parent128dcaf282f418d8c45cea4df6ad4d3167b3e39c (diff)
annots: Remove unused class AnnotBorderStyle
-rw-r--r--poppler/Annot.cc22
-rw-r--r--poppler/Annot.h36
2 files changed, 0 insertions, 58 deletions
diff --git a/poppler/Annot.cc b/poppler/Annot.cc
index 2a7e6d04..bcbe50c0 100644
--- a/poppler/Annot.cc
+++ b/poppler/Annot.cc
@@ -644,28 +644,6 @@ AnnotColor::AnnotColor(Array *array, int adjust) {
}
//------------------------------------------------------------------------
-// AnnotBorderStyle
-//------------------------------------------------------------------------
-
-AnnotBorderStyle::AnnotBorderStyle(AnnotBorderType typeA, double widthA,
- double *dashA, int dashLengthA,
- double rA, double gA, double bA) {
- type = typeA;
- width = widthA;
- dash = dashA;
- dashLength = dashLengthA;
- r = rA;
- g = gA;
- b = bA;
-}
-
-AnnotBorderStyle::~AnnotBorderStyle() {
- if (dash) {
- gfree(dash);
- }
-}
-
-//------------------------------------------------------------------------
// AnnotIconFit
//------------------------------------------------------------------------
diff --git a/poppler/Annot.h b/poppler/Annot.h
index dcdf9cea..3659abed 100644
--- a/poppler/Annot.h
+++ b/poppler/Annot.h
@@ -305,42 +305,6 @@ private:
};
//------------------------------------------------------------------------
-// AnnotBorderStyle
-//------------------------------------------------------------------------
-
-enum AnnotBorderType {
- annotBorderSolid,
- annotBorderDashed,
- annotBorderBeveled,
- annotBorderInset,
- annotBorderUnderlined
-};
-
-class AnnotBorderStyle {
-public:
-
- AnnotBorderStyle(AnnotBorderType typeA, double widthA,
- double *dashA, int dashLengthA,
- double rA, double gA, double bA);
- ~AnnotBorderStyle();
-
- AnnotBorderType getType() { return type; }
- double getWidth() { return width; }
- void getDash(double **dashA, int *dashLengthA)
- { *dashA = dash; *dashLengthA = dashLength; }
- void getColor(double *rA, double *gA, double *bA)
- { *rA = r; *gA = g; *bA = b; }
-
-private:
-
- AnnotBorderType type;
- double width;
- double *dash;
- int dashLength;
- double r, g, b;
-};
-
-//------------------------------------------------------------------------
// AnnotIconFit
//------------------------------------------------------------------------