/dports/graphics/okular/okular-21.12.3/generators/dvi/ |
H A D | simplePageSize.h | 38 pageWidth.setLength_in_mm(0.0); in SimplePageSize() 52 pageWidth = width; in SimplePageSize() 70 pageWidth = width; in setPageSize() 77 return pageWidth; in width() 92 return isValid() ? (pageWidth / pageHeight) : 1.0; in aspectRatio() 154 return ((pageWidth.getLength_in_mm() > 1.0) && (pageHeight.getLength_in_mm() > 1.0)); in isValid() 163 return (pageWidth.getLength_in_mm() * pageHeight.getLength_in_mm() < 1.0); in isSmall() 175 … return (pageWidth.isNearlyEqual(size.pageWidth) && pageHeight.isNearlyEqual(size.pageHeight)); in isNearlyEqual() 184 return (pageHeight >= pageWidth); in isPortrait() 194 return SimplePageSize(pageHeight, pageWidth); in rotate90() [all …]
|
H A D | pageSize.cpp | 52 pageWidth = s.width(); in pageSize() 83 pageWidth.setLength_in_mm(pageWidth_tmp); in setPageSize() 125 pageWidth.setLength_in_mm(width); in setPageSize() 146 pageWidth.setLength_in_mm(w); in setPageSize() 148 pageWidth.setLength_in_cm(w); in setPageSize() 150 pageWidth.setLength_in_inch(w); in setPageSize() 173 if (pageWidth.getLength_in_mm() < 50) in rectifySizes() 174 pageWidth.setLength_in_mm(50.0); in rectifySizes() 175 if (pageWidth.getLength_in_mm() > 1200) in rectifySizes() 176 pageWidth.setLength_in_mm(1200); in rectifySizes() [all …]
|
/dports/devel/itext/itext-4.2.0/rtf/com/lowagie/text/rtf/document/ |
H A D | RtfPageSetting.java | 315 return pageWidth; in getPageWidth() 324 this.pageWidth = pageWidth; in setPageWidth() 357 pageWidth = 16837; in guessFormat() 363 pageWidth = 11907; in guessFormat() 369 pageWidth = 8391; in guessFormat() 375 pageWidth = 5959; in guessFormat() 381 pageWidth = 14570; in guessFormat() 387 pageWidth = 10319; in guessFormat() 393 pageWidth = 7927; in guessFormat() 399 pageWidth = 12242; in guessFormat() [all …]
|
/dports/graphics/libboard/libboard-5b38274/src/ |
H A D | Transforms.cpp | 98 const double pageWidth, in setBoundingBox() argument 107 _scale = pageWidth * ppmm / rect.width; in setBoundingBox() 117 const double w = pageWidth - 2 * margin; in setBoundingBox() 124 _deltaX = 0.5 * pageWidth * ppmm - _scale * c.x; in setBoundingBox() 129 pageWidth * ppmm, in setBoundingBox() 176 const double pageWidth, in setBoundingBox() argument 187 _scale = pageWidth * fig_ppmm / rect.width; in setBoundingBox() 195 const double w = pageWidth - 2 * margin; in setBoundingBox() 265 _scale = pageWidth * ppmm / rect.width; in setBoundingBox() 271 const double w = pageWidth - 2 * margin; in setBoundingBox() [all …]
|
/dports/print/py-reportlab/reportlab-3.5.68/tools/docco/ |
H A D | rltemplate.py | 16 self.pageWidth = pageSize[0] 20 self.pageWidth - 2*inch, 42 self.pageWidth = pageSize[0] 46 self.pageWidth - 2*inch, 57 canvas.line(inch, y, self.pageWidth - inch, y) 63 self.pageWidth = pageSize[0] 67 self.pageWidth - 2*inch, 78 canvas.line(inch, y, self.pageWidth - inch, y) 84 self.pageWidth = pageSize[0] 86 colWidth = 0.5 * (self.pageWidth - 2.25*inch) [all …]
|
/dports/deskutils/griffith/griffith-a593201179695efe93829d9c9a70962ef29dd109/lib/ |
H A D | cover.py | 78 pageWidth = 842 82 pos_x=(pageWidth-cover_x)/2; 88 (pageWidth, pageHeight)) 101 c.rect((pageWidth/2)-13, 520, 26, 70, fill=1, stroke=0) 104 c.drawCentredString(pageWidth/2, 530, number) 146 pageWidth = 842 150 pos_x=(pageWidth-cover_x)/2; 169 c.drawCentredString(pageWidth/2, 530, number) 173 c.drawString(60, (-pageWidth/2)-8, movie.o_title.encode('utf-8')) 182 textObject.setTextOrigin(pageWidth-cover_x, 300) [all …]
|
/dports/math/wxmaxima/wxmaxima-Version-20.04.0/src/ |
H A D | Printout.cpp | 81 int pageWidth, pageHeight; in OnPrintPage() local 83 GetPageSizePixels(&pageWidth, &pageHeight); in OnPrintPage() 148 int pageWidth, pageHeight; in BreakPages() local 153 GetPageSizePixels(&pageWidth, &pageHeight); in BreakPages() 227 int pageWidth, pageHeight; in SetupData() local 229 GetPageSizePixels(&pageWidth, &pageHeight); in SetupData() 232 (*m_configuration)->SetClientWidth(pageWidth - 2 * marginX in SetupData() 287 int pageWidth, pageHeight; in PrintHeader() local 290 GetPageSizePixels(&pageWidth, &pageHeight); in PrintHeader() 316 int pageWidth, pageHeight; in Recalculate() local [all …]
|
/dports/deskutils/coolreader/coolreader-cr3.2.55/android/src/org/coolreader/crengine/ |
H A D | PositionProperties.java | 8 public int pageWidth; field in PositionProperties 22 pageWidth = v.pageWidth; in PositionProperties() 61 + y + ", pageHeight=" + pageHeight + ", pageWidth=" + pageWidth in toString() 73 result = prime * result + pageWidth; in hashCode() 97 if (pageWidth != other.pageWidth) in equals()
|
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/tags/splix-2.0.0/src/ |
H A D | compress.cpp | 54 unsigned long index=0, pageHeight, pageWidth, lineWidthInB, bandHeight; in _compressBandedPage() local 66 pageWidth = page->width(); in _compressBandedPage() 68 page->setWidth(pageWidth); in _compressBandedPage() 70 lineWidthInB = (pageWidth + 7) / 8; in _compressBandedPage() 153 plane = algo->compress(request, band, pageWidth, bandHeight); in _compressBandedPage() 165 plane = algo->compress(request, band, pageWidth, bandHeight); in _compressBandedPage() 171 current = new Band(bandNumber, pageWidth, bandHeight); in _compressBandedPage() 193 unsigned long pageWidth, bandHeight, planeHeight, pageHeight, index; in _compressWholePage() local 204 pageWidth = page->width() - hardMarginX * 2; in _compressWholePage() 206 page->setWidth(pageWidth); in _compressWholePage() [all …]
|
H A D | document.cpp | 70 unsigned long pageWidth, pageWidthInB, pageHeight, clippingX=0, clippingY=0; in getNextRawPage() local 99 pageWidth = ((unsigned long)ceil(page->convertToXResolution(request. in getNextRawPage() 100 printer()->pageWidth())) + 7) & ~7; in getNextRawPage() 105 pageWidthInB = (pageWidth + 7) / 8; in getNextRawPage() 107 page->setWidth(pageWidth); in getNextRawPage() 136 DEBUGMSG(_("Page width=%lu (%lu) height=%lu"), pageWidth, pageWidthInB, pageHeight); in getNextRawPage()
|
/dports/graphics/xournalpp/xournalpp-1.1.0/src/control/settings/ |
H A D | PageTemplateSettings.cpp | 14 pageWidth(595.275591), in PageTemplateSettings() 32 auto PageTemplateSettings::getPageWidth() const -> double { return this->pageWidth; } in getPageWidth() 34 void PageTemplateSettings::setPageWidth(double pageWidth) { this->pageWidth = pageWidth; } in setPageWidth() argument 88 pageWidth = std::stod(value.substr(0, pos)); in parse() 110 str += string("size=") + std::to_string(pageWidth) + "x" + std::to_string(pageHeight) + "\n"; in toString()
|
/dports/science/jmol/jmol-14.32.7/src/javajs/img/ |
H A D | PdfEncoder.java | 55 int pageWidth = 8 * 72; in generate() local 58 pdf.newDocument(pageWidth, pageHeight, isLandscape); // A4 or Letter in generate() 59 addMyImage(pageWidth, pageHeight); in generate() 76 private void addMyImage(int pageWidth, int pageHeight) { in addMyImage() argument 78 int w = (isLandscape ? pageHeight : pageWidth); in addMyImage() 79 int h = (isLandscape ? pageWidth : pageHeight); in addMyImage()
|
/dports/audio/musescore/MuseScore-3.6.1/mscore/ |
H A D | pagesettings.cpp | 65 connect(pageWidth, SIGNAL(valueChanged(double)), SLOT(pageWidthChanged(double))); in PageSettings() 125 pageWidth, pageHeight } ) in blockSignals() 180 double w = score->styleD(Sid::pageWidth); in updateValues() 197 pageWidth->setValue(w * f); in updateValues() 256 qreal w = preview->score()->styleD(Sid::pageWidth); in orientationClicked() 259 preview->score()->style().set(Sid::pageWidth, h); in orientationClicked() 329 s->undoChangeStyleVal(Sid::pageWidth, pageWidth->value() * f); in applyToScore() 370 s->style().set(Sid::pageWidth, sz.width()); in pageFormatSelected() 548 double val2 = pageWidth->value(); in pageHeightChanged() 555 preview->score()->style().set(Sid::pageWidth, val2); in pageHeightChanged() [all …]
|
/dports/graphics/xournalpp/xournalpp-1.1.0/src/gui/dialog/ |
H A D | LatexDialog.cpp | 54 double pageWidth = 0; in setTempRender() local 56 poppler_page_get_size(page, &pageWidth, &pageHeight); in setTempRender() 58 if ((pageWidth * zoom) > 1200) { in setTempRender() 59 zoom = 1200 / pageWidth; in setTempRender() 62 …this->scaledRender = cairo_image_surface_create(CAIRO_FORMAT_ARGB32, static_cast<int>(pageWidth * … in setTempRender()
|
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/splix/src/ |
H A D | compress.cpp | 55 unsigned long index=0, pageHeight, pageWidth, lineWidthInB, bandHeight; in _compressBandedPage() local 67 pageWidth = page->width(); in _compressBandedPage() 69 page->setWidth(pageWidth); in _compressBandedPage() 71 lineWidthInB = (pageWidth + 7) / 8; in _compressBandedPage() 154 plane = algo->compress(request, band, pageWidth, bandHeight); in _compressBandedPage() 166 plane = algo->compress(request, band, pageWidth, bandHeight); in _compressBandedPage() 172 current = new Band(bandNumber, pageWidth, bandHeight); in _compressBandedPage() 302 unsigned long pageWidth, bandHeight, planeHeight, pageHeight, index; in _compressWholePage() local 313 pageWidth = page->width() - hardMarginX * 2; in _compressWholePage() 315 page->setWidth(pageWidth); in _compressWholePage() [all …]
|
H A D | document.cpp | 70 unsigned long pageWidth, pageWidthInB, pageHeight, clippingX=0, clippingY=0; in getNextRawPage() local 99 pageWidth = ((unsigned long)ceil(page->convertToXResolution(request. in getNextRawPage() 100 printer()->pageWidth())) + 7) & ~7; in getNextRawPage() 105 pageWidthInB = (pageWidth + 7) / 8; in getNextRawPage() 107 page->setWidth(pageWidth); in getNextRawPage() 136 DEBUGMSG(_("Page width=%lu (%lu) height=%lu"), pageWidth, pageWidthInB, pageHeight); in getNextRawPage()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/page/ |
H A D | PrintContext.cpp | 83 float pageWidth; in computePageRects() local 86 pageWidth = view->docWidth(); in computePageRects() 92 pageHeight = floorf(pageWidth * ratio); in computePageRects() 99 pageWidth = floorf(pageHeight * ratio); in computePageRects() 128 int pageWidth = pageSizeInPixels.width(); in computePageRectsWithPageSizeInternal() local 134 int pageLogicalHeight = isHorizontal ? pageHeight : pageWidth; in computePageRectsWithPageSizeInternal() 135 int pageLogicalWidth = isHorizontal ? pageWidth : pageHeight; in computePageRectsWithPageSizeInternal() 366 const float pageWidth = pageSizeInPixels.width(); in spoolAllPagesWithBoundaries() local 372 graphicsContext.fillRect(FloatRect(0, 0, pageWidth, totalHeight)); in spoolAllPagesWithBoundaries() 386 IntPoint(pageWidth, currentHeight)); in spoolAllPagesWithBoundaries() [all …]
|
/dports/graphics/libboard/libboard-5b38274/include/board/ |
H A D | Transforms.h | 56 const double pageWidth, 78 const double pageWidth, 100 const double pageWidth, 122 const double pageWidth,
|
/dports/print/scribus-devel/scribus-1.5.7/scribus/ui/ |
H A D | marginpresetlayout.cpp | 24 MarginStruct PresetLayout::getMargins(int index, double pageWidth, double pageHeight, double leftMa… in getMargins() argument 37 double ratio = pageHeight / pageWidth; in getMargins() 57 ret.setLeft(pageWidth / 9.0); in getMargins() 59 ret.setRight(pageWidth / 9.0 * 2.0); in getMargins()
|
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/branches/branche-2.0/src/ |
H A D | document.cpp | 69 unsigned long pageWidth, pageWidthInB, pageHeight, clippingX=0, clippingY=0; in getNextRawPage() local 98 pageWidth = ceill(page->convertToXResolution(header.PageSize[0])); in getNextRawPage() 102 pageWidth = (pageWidth + 7) & ~7; in getNextRawPage() 103 pageWidthInB = (pageWidth + 7) / 8; in getNextRawPage() 105 page->setWidth(pageWidth); in getNextRawPage()
|
/dports/lang/spidermonkey60/firefox-60.9.0/widget/android/fennec/ |
H A D | ThumbnailHelper.h | 227 float pageLeft = 0.0f, pageTop = 0.0f, pageWidth = 0.0f, pageHeight = 0.0f; in RequestThumbnail() local 232 NS_FAILED(rect->GetWidth(&pageWidth)) || in RequestThumbnail() 233 NS_FAILED(rect->GetHeight(&pageHeight)) || int32_t(pageWidth) == 0 || in RequestThumbnail() 241 if (pageWidth / aspectRatio < pageHeight) { in RequestThumbnail() 242 pageHeight = pageWidth / aspectRatio; in RequestThumbnail() 244 pageWidth = pageHeight * aspectRatio; in RequestThumbnail() 249 CSSRect(pageLeft, pageTop, pageWidth, pageHeight), in RequestThumbnail()
|
/dports/graphics/megapov/megapov-1.2.1/libraries/tiff/tools/ |
H A D | fax2ps.c | 47 float pageWidth = 0; /* image page width (inches) */ variable 214 if (pageWidth == 0) in printTIF() 215 pageWidth = w / xres; in printTIF() 228 (int)(pageWidth * points), (int)(pageHeight * points)); /* XXX */ in printTIF() 241 scale = pageHeight / (h/yres) < pageWidth / (w/xres) ? in printTIF() 242 pageHeight / (h/yres) : pageWidth / (w/xres); in printTIF() 244 points * (pageWidth - scale*w/xres) * half, in printTIF() 329 pageWidth = atof(optarg); in main()
|
/dports/graphics/povray36/povray-3.6.1/libraries/tiff/tools/ |
H A D | fax2ps.c | 47 float pageWidth = 0; /* image page width (inches) */ variable 214 if (pageWidth == 0) in printTIF() 215 pageWidth = w / xres; in printTIF() 228 (int)(pageWidth * points), (int)(pageHeight * points)); /* XXX */ in printTIF() 241 scale = pageHeight / (h/yres) < pageWidth / (w/xres) ? in printTIF() 242 pageHeight / (h/yres) : pageWidth / (w/xres); in printTIF() 244 points * (pageWidth - scale*w/xres) * half, in printTIF() 329 pageWidth = atof(optarg); in main()
|
/dports/graphics/libboard/libboard-5b38274/include/ |
H A D | Board.h | 730 …void save(const char * filename, double pageWidth, double pageHeight, double margin = 0.0, Unit un… 768 …void saveEPS( std::ostream & out, double pageWidth, double pageHeight, double margin = 0.0, Unit u… 781 …void saveEPS( const char * filename, double pageWidth, double pageHeight, double margin = 0.0, Uni… 816 …void saveFIG( const char * filename, double pageWidth, double pageHeight, double margin = 0.0, Uni… 829 …void saveFIG( std::ostream & out, double pageWidth, double pageHeight, double margin = 0.0, Unit u… 864 …void saveSVG( const char * filename, double pageWidth, double pageHeight, double margin = 0.0, Uni… 877 …void saveSVG( std::ostream & out, double pageWidth, double pageHeight, double margin = 0.0, Unit u… 909 …void saveTikZ( const char * filename, double pageWidth, double pageHeight, double margin = 0.0 ) c… 921 …void saveTikZ( std::ostream & out, double pageWidth, double pageHeight, double margin = 0.0 ) cons…
|
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/apps/ |
H A D | FopFactoryBuilder.java | 270 public FopFactoryBuilder setPageWidth(String pageWidth) { in setPageWidth() argument 271 fopFactoryConfigBuilder.setPageWidth(pageWidth); in setPageWidth() 364 private String pageWidth = FopFactoryConfig.DEFAULT_PAGE_WIDTH; field in FopFactoryBuilder.FopFactoryConfigImpl 457 return pageWidth; in getPageWidth() 530 void setPageWidth(String pageWidth); in setPageWidth() argument 601 public void setPageWidth(String pageWidth) { in setPageWidth() argument 688 public void setPageWidth(String pageWidth) { in setPageWidth() argument 689 config.pageWidth = pageWidth; in setPageWidth()
|