summaryrefslogtreecommitdiff
path: root/fxbarcode/BC_Writer.h
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-09-17 22:22:36 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-09-17 22:22:36 +0000
commit4c3b4aa6d1df54fe02912fed04a08adc6826310f (patch)
tree29294bd608b815d503abaa218ca940c4f5a562df /fxbarcode/BC_Writer.h
parentc397a9003207f14e02a09d611d91a6d14a2de771 (diff)
downloadpdfium-4c3b4aa6d1df54fe02912fed04a08adc6826310f.tar.xz
Make CBC_CodeBase::SetWideNarrowRatio() not virtual.
Make CBC_Writer::SetWideNarrowRatio() virtual instead. Do the same for SetStartChar(), SetEndChar(), and SetErrorCorrectionLevel(). Change-Id: I70e87c0e9f8b772331105e57dd26075db3cfcb95 Reviewed-on: https://pdfium-review.googlesource.com/42602 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'fxbarcode/BC_Writer.h')
-rw-r--r--fxbarcode/BC_Writer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/fxbarcode/BC_Writer.h b/fxbarcode/BC_Writer.h
index 3751b93457..7435807c8d 100644
--- a/fxbarcode/BC_Writer.h
+++ b/fxbarcode/BC_Writer.h
@@ -25,6 +25,10 @@ class CBC_Writer {
virtual void SetBackgroundColor(FX_ARGB backgroundColor);
virtual void SetBarcodeColor(FX_ARGB foregroundColor);
virtual bool SetTextLocation(BC_TEXT_LOC location);
+ virtual bool SetWideNarrowRatio(int8_t ratio);
+ virtual bool SetStartChar(char start);
+ virtual bool SetEndChar(char end);
+ virtual bool SetErrorCorrectionLevel(int32_t level);
protected:
RetainPtr<CFX_DIBitmap> CreateDIBitmap(int32_t width, int32_t height);