/* * Copyright 2012 ZXing.Net authors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ using ZXing.Common; namespace ZXing.Rendering { #if !(WINDOWS_PHONE || WindowsCE) /// /// Interface for a class to convert a BitMatrix to an output image format /// public interface IBarcodeRenderer #else /// /// Interface for a class to convert a BitMatrix to an output image format /// public interface IBarcodeRenderer #endif { /// /// Renders the specified matrix to its graphically representation /// /// The matrix. /// The format. /// The encoded content of the barcode which should be included in the image. /// That can be the numbers below a 1D barcode or something other. /// TOutput Render(BitMatrix matrix, BarcodeFormat format, string content); /// /// Renders the specified matrix to its graphically representation /// /// The matrix. /// The format. /// The encoded content of the barcode which should be included in the image. /// That can be the numbers below a 1D barcode or something other. /// The options. /// TOutput Render(BitMatrix matrix, BarcodeFormat format, string content, EncodingOptions options); } }