/dports/graphics/graphviz/graphviz-2.44.1/lib/common/ |
H A D | geom.h | 59 #define POINTS_PER_INCH 72 macro 60 #define POINTS_PER_PC ((double)POINTS_PER_INCH / 6) 61 #define POINTS_PER_CM ((double)POINTS_PER_INCH * 0.393700787) 62 #define POINTS_PER_MM ((double)POINTS_PER_INCH * 0.0393700787) 64 #define POINTS(a_inches) (ROUND((a_inches)*POINTS_PER_INCH)) 65 #define INCH2PS(a_inches) ((a_inches)*(double)POINTS_PER_INCH) 66 #define PS2INCH(a_points) ((a_points)/(double)POINTS_PER_INCH)
|
/dports/graphics/tumble/tumble-0.36/ |
H A D | tumble_jpeg.c | 150 image_info->width_points = ((image_info->width_samples * POINTS_PER_INCH) / in get_jpeg_image_info() 152 image_info->height_points = ((image_info->height_samples * POINTS_PER_INCH) / in get_jpeg_image_info() 158 image_info->width_points = (image_info->width_samples * POINTS_PER_INCH) / 300.0; in get_jpeg_image_info() 159 image_info->height_points = (image_info->height_samples * POINTS_PER_INCH) / 300.0; in get_jpeg_image_info()
|
H A D | tumble_png.c | 183 image_info->width_points = ((image_info->width_samples * POINTS_PER_INCH) / in get_png_image_info() 185 image_info->height_points = ((image_info->height_samples * POINTS_PER_INCH) / in get_png_image_info() 190 image_info->width_points = (image_info->width_samples * POINTS_PER_INCH) / 300.0; in get_png_image_info() 191 …image_info->height_points = ((double) yppu * image_info->height_samples * POINTS_PER_INCH) / ( 300… in get_png_image_info()
|
H A D | tumble_blank.c | 82 image_info->width_points = input_attributes.page_size.width * POINTS_PER_INCH; in get_blank_image_info() 83 image_info->height_points = input_attributes.page_size.height * POINTS_PER_INCH; in get_blank_image_info()
|
H A D | pdf.h | 56 #define POINTS_PER_INCH 72.0 macro 61 #define PAGE_MAX_POINTS (PAGE_MAX_INCHES * POINTS_PER_INCH)
|
H A D | tumble_pbm.c | 135 image_info->width_points = (image_info->width_samples / dest_x_resolution) * POINTS_PER_INCH; in get_pbm_image_info() 136 image_info->height_points = (image_info->height_samples / dest_y_resolution) * POINTS_PER_INCH; in get_pbm_image_info()
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/gtk/ |
H A D | gtkprintutils.c | 36 return len * (MM_PER_INCH / POINTS_PER_INCH); in _gtk_print_convert_to_mm() 55 return len / (MM_PER_INCH / POINTS_PER_INCH); in _gtk_print_convert_from_mm()
|
/dports/x11-toolkits/gtk40/gtk-4.4.1/gtk/ |
H A D | gtkprintutils.c | 37 return len * (MM_PER_INCH / POINTS_PER_INCH); in _gtk_print_convert_to_mm() 57 return len / (MM_PER_INCH / POINTS_PER_INCH); in _gtk_print_convert_from_mm()
|
H A D | gtkprintutils.h | 28 #define POINTS_PER_INCH 72 macro
|
H A D | gtkprintcontext.c | 105 #define POINTS_PER_INCH 72 macro 220 context->pixels_per_unit_x = dpi_x / POINTS_PER_INCH; in gtk_print_context_set_cairo_context() 221 context->pixels_per_unit_y = dpi_y / POINTS_PER_INCH; in gtk_print_context_set_cairo_context()
|
/dports/x11-toolkits/gtk20/gtk+-2.24.33/gtk/ |
H A D | gtkprintutils.c | 40 return len * (MM_PER_INCH / POINTS_PER_INCH); in _gtk_print_convert_to_mm() 60 return len / (MM_PER_INCH / POINTS_PER_INCH); in _gtk_print_convert_from_mm()
|
H A D | gtkprintcontext.c | 32 #define POINTS_PER_INCH 72 macro 149 context->pixels_per_unit_x = dpi_x / POINTS_PER_INCH; in gtk_print_context_set_cairo_context() 150 context->pixels_per_unit_y = dpi_y / POINTS_PER_INCH; in gtk_print_context_set_cairo_context()
|
/dports/graphics/librsvg2-rust/librsvg-2.52.8/src/ |
H A D | length.rs | 252 pub const POINTS_PER_INCH: f64 = 72.0; const 392 / POINTS_PER_INCH in to_user() 425 LengthUnit::In => self.length * POINTS_PER_INCH, in to_points() 427 LengthUnit::Cm => self.length / CM_PER_INCH * POINTS_PER_INCH, in to_points() 429 LengthUnit::Mm => self.length / MM_PER_INCH * POINTS_PER_INCH, in to_points() 433 LengthUnit::Pc => self.length / PICA_PER_INCH * POINTS_PER_INCH, in to_points() 438 self.to_points(params) / POINTS_PER_INCH in to_inches() 471 LengthUnit::Pt => v.length * Both::normalize(dpi.x, dpi.y) / POINTS_PER_INCH, in font_size_from_values() 666 400.0 / POINTS_PER_INCH in normalize_absolute_units_works()
|
/dports/textproc/pdfoutline/fntsample-release-5.4/src/ |
H A D | fntsample.c | 45 #define POINTS_PER_INCH 72 macro 47 #define A4_WIDTH (8.3 * POINTS_PER_INCH) 48 #define A4_HEIGHT (11.7 * POINTS_PER_INCH) 50 #define xmin_border (POINTS_PER_INCH / 1.5) 51 #define ymin_border POINTS_PER_INCH 530 cairo_move_to(cr, x_min, POINTS_PER_INCH + i * table_height/16); in draw_grid() 531 cairo_line_to(cr, x_max, POINTS_PER_INCH + i * table_height/16); in draw_grid() 553 … POINTS_PER_INCH + (i+0.5) * table_height/16 + pango_units_to_double(PANGO_DESCENT(r))/2); in draw_grid() 556 … POINTS_PER_INCH + (i+0.5) * table_height/16 + pango_units_to_double(PANGO_DESCENT(r))/2); in draw_grid() 816 pango_cairo_font_map_set_resolution(map, POINTS_PER_INCH); in init_table_fonts()
|
/dports/x11-fonts/fntsample/fntsample-release-5.4/src/ |
H A D | fntsample.c | 45 #define POINTS_PER_INCH 72 macro 47 #define A4_WIDTH (8.3 * POINTS_PER_INCH) 48 #define A4_HEIGHT (11.7 * POINTS_PER_INCH) 50 #define xmin_border (POINTS_PER_INCH / 1.5) 51 #define ymin_border POINTS_PER_INCH 530 cairo_move_to(cr, x_min, POINTS_PER_INCH + i * table_height/16); in draw_grid() 531 cairo_line_to(cr, x_max, POINTS_PER_INCH + i * table_height/16); in draw_grid() 553 … POINTS_PER_INCH + (i+0.5) * table_height/16 + pango_units_to_double(PANGO_DESCENT(r))/2); in draw_grid() 556 … POINTS_PER_INCH + (i+0.5) * table_height/16 + pango_units_to_double(PANGO_DESCENT(r))/2); in draw_grid() 816 pango_cairo_font_map_set_resolution(map, POINTS_PER_INCH); in init_table_fonts()
|
/dports/graphics/diffpdf/diffpdf-2.1.3/ |
H A D | generic.cpp | 26 if (dpi == POINTS_PER_INCH) in scaleRect() 33 qreal factor = dpi / static_cast<qreal>(POINTS_PER_INCH); in scaleRect() 45 return qRound(inches * POINTS_PER_INCH); in pointValueForPixelOffset() 51 const double inches = pt / static_cast<double>(POINTS_PER_INCH); in pixelOffsetForPointValue()
|
/dports/editors/libreoffice/libreoffice-7.2.6.2/lotuswordpro/inc/ |
H A D | lwptools.hxx | 78 const double POINTS_PER_INCH = 72.27; variable 80 const double TWIPS_PER_INCH = TWIPS_PER_POINT * POINTS_PER_INCH;
|
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/selection-to-path/ |
H A D | global.h | 70 #define POINTS_PER_INCH 72.27 macro 74 #define PIXELS_TO_POINTS(v, dpi) (POINTS_PER_INCH * (v) / (dpi)) 75 #define POINTS_TO_REAL_PIXELS(v, dpi) ((v) * (dpi) / POINTS_PER_INCH)
|
/dports/editors/libreoffice6/libreoffice-6.4.7.2/lotuswordpro/inc/ |
H A D | lwptools.hxx | 78 const double POINTS_PER_INCH = 72.27; variable 80 const double TWIPS_PER_INCH = TWIPS_PER_POINT * POINTS_PER_INCH;
|
/dports/math/xgraph/xgraph/ |
H A D | ps.c | 22 #define POINTS_PER_INCH 72.0 macro 141 ui->baseWidth = rd( VDPI / POINTS_PER_INCH * BASE_WIDTH ); 257 pnt_width = ((double) width) / MICRONS_PER_INCH * POINTS_PER_INCH; 258 pnt_height = ((double) height) / MICRONS_PER_INCH * POINTS_PER_INCH; 294 factor = POINTS_PER_INCH / VDPI;
|
/dports/deskutils/glabels/glabels-3.4.1/libglabels/ |
H A D | lgl-units.c | 37 #define POINTS_PER_INCH 72.0 macro 66 /* [LGL_UNITS_INCH] */ {"in", N_("inches"), POINTS_PER_INCH},
|
/dports/graphics/librsvg2/librsvg-2.40.21/tests/ |
H A D | styles.c | 78 #define POINTS_PER_INCH (72.0) macro 79 #define POINTS_LENGTH(x) ((x) / POINTS_PER_INCH)
|
/dports/graphics/graphviz/graphviz-2.44.1/lib/fdpgen/ |
H A D | dbg.c | 316 minx *= POINTS_PER_INCH; in pswrite() 317 miny *= POINTS_PER_INCH; in pswrite() 318 maxx *= POINTS_PER_INCH; in pswrite() 319 maxy *= POINTS_PER_INCH; in pswrite()
|
/dports/graphics/graphviz/graphviz-2.44.1/lib/gvc/ |
H A D | gvusershape.c | 155 return ROUND(n * POINTS_PER_INCH); in svg_units_convert() 157 return ROUND(n * POINTS_PER_INCH / 96); in svg_units_convert() 159 return ROUND(n * POINTS_PER_INCH / 6); in svg_units_convert() 720 rv.x = us->w * POINTS_PER_INCH / dpi.x; in gvusershape_size_dpi() 721 rv.y = us->h * POINTS_PER_INCH / dpi.y; in gvusershape_size_dpi()
|
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/ |
H A D | distance.cpp | 50 #define POINTS_PER_INCH (72.0) macro 52 #define POINTS_PER_METER (POINTS_PER_INCH*INCHES_PER_METER)
|