Home
last modified time | relevance | path

Searched refs:pen_y (Results 1 – 25 of 57) sorted by relevance

123

/dports/deskutils/sowon/sowon-0d43de4af5a430052aee2c2691fafe21ad80a83d/
H A Dmain.c75 size_t wiggle_index, int *pen_x, int *pen_y, float user_scale, float fit_scale) in render_digit_at() argument
88 *pen_y, in render_digit_at()
96 void initial_pen(SDL_Window *window, int *pen_x, int *pen_y, float user_scale, float *fit_scale) in initial_pen() argument
112 *pen_y = h / 2 - effective_digit_height / 2; in initial_pen()
252 int pen_x, pen_y; in main() local
254 initial_pen(window, &pen_x, &pen_y, user_scale, &fit_scale); in main()
259 …enderer, digits, hours / 10, wiggle_index % WIGGLE_COUNT, &pen_x, &pen_y, user_scale, fit_s… in main()
260 …enderer, digits, hours % 10, (wiggle_index + 1) % WIGGLE_COUNT, &pen_x, &pen_y, user_scale, fit_s… in main()
261 …enderer, digits, COLON_INDEX, wiggle_index % WIGGLE_COUNT, &pen_x, &pen_y, user_scale, fit_s… in main()
264 …nderer, digits, minutes / 10, (wiggle_index + 2) % WIGGLE_COUNT, &pen_x, &pen_y, user_scale, fit_s… in main()
[all …]
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libcore/
H A DGeometry.cpp162 float pen_x, pen_y; in pointTest() local
202 pen_y = next_pen_y; in pointTest()
214 if (edg.ap.y == pen_y) in pointTest()
219 if ( ((pen_y <= y) && (edg.ap.y >= y)) in pointTest()
220 || ((pen_y >= y) && (edg.ap.y <= y)) ) in pointTest()
225 (y - pen_y) / (edg.ap.y - pen_y); in pointTest()
227 if (pen_y > edg.ap.y) in pointTest()
243 curve_x_crossings<float>(pen_x, pen_y, edg.ap.x, edg.ap.y, in pointTest()
245 dir1 = pen_y > y ? -1 : +1; in pointTest()
/dports/graphics/blender/blender-2.91.0/source/blender/blenfont/intern/
H A Dblf_font.c412 int pen_y) in blf_font_draw_ex() argument
522 int pen_x = 0, pen_y = 0; in blf_font_draw_mono() local
611 pen_y < buf_info->dims[1]) { in blf_font_draw_buffer_ex()
625 if (pen_y < 0) { in blf_font_draw_buffer_ex()
626 yb_start += (g->pitch < 0) ? -pen_y : pen_y; in blf_font_draw_buffer_ex()
627 height_clip += pen_y; in blf_font_draw_buffer_ex()
628 pen_y = 0; in blf_font_draw_buffer_ex()
843 int pen_y) in blf_font_boundbox_ex() argument
948 int pen_x = 0, pen_y = 0; in blf_font_wrap_apply() local
1018 pen_y -= gc->glyph_height_max; in blf_font_wrap_apply()
[all …]
/dports/x11/mlterm/mlterm-3.9.1/tool/registobmp/
H A Dmain.c29 static int pen_y; variable
255 if ((*y = atoi(ystr) + pen_y) < 0) { in parse_coordinate()
486 rect.y = pen_y; in command_text()
535 pen_y = new_y; in command_position()
556 pen_y = new_y; in command_vector()
561 pen_y_stack[pen_stack_count] = pen_y; in command_vector()
578 pen_y = pen_y_stack[pen_stack_count]; in command_vector()
600 r = abs(y - pen_y); in command_circle()
601 } else if (y == pen_y) { in command_circle()
758 pen_y = 200; in test_parse_coordinate()
[all …]
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/gtk3/
H A Duimachinewindow.c169 int pen_y = (motion->y - canvas->screen_origin_y) * render_h / canvas->screen_display_h; in event_box_motion_cb() local
170 if (pen_x < 0 || pen_y < 0 || pen_x >= render_w || pen_y >= render_h) { in event_box_motion_cb()
173 canvas->pen_y = -1; in event_box_motion_cb()
177 canvas->pen_y = pen_y; in event_box_motion_cb()
184 (pen_y-last_mouse_y) * canvas->videoconfig->scaley); in event_box_motion_cb()
198 last_mouse_y = pen_y; in event_box_motion_cb()
481 canvas->pen_y = -1; in event_box_cross_cb()
H A Dvideoarch.h82 int pen_y; member
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dimage_gen.c367 int pen_x, pen_y; in checker_board_text() local
388 pen_y = y + 44; in checker_board_text()
393 BLF_position(mono, pen_x - outline, pen_y, 0.0); in checker_board_text()
395 BLF_position(mono, pen_x + outline, pen_y, 0.0); in checker_board_text()
397 BLF_position(mono, pen_x, pen_y - outline, 0.0); in checker_board_text()
399 BLF_position(mono, pen_x, pen_y + outline, 0.0); in checker_board_text()
402 BLF_position(mono, pen_x - outline, pen_y - outline, 0.0); in checker_board_text()
404 BLF_position(mono, pen_x + outline, pen_y + outline, 0.0); in checker_board_text()
406 BLF_position(mono, pen_x - outline, pen_y + outline, 0.0); in checker_board_text()
408 BLF_position(mono, pen_x + outline, pen_y - outline, 0.0); in checker_board_text()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/agi/
H A Dpicture.cpp214 int pen_y = y; in plotPattern() local
241 pen_y = pen_y - pen_size; in plotPattern()
242 if (pen_y < 0) pen_y = 0; in plotPattern()
245 if (pen_y >= temp16) in plotPattern()
246 pen_y = temp16; in plotPattern()
248 pen_final_y = pen_y; // used in plotrelated in plotPattern()
276 for (; pen_y < pen_final_y; pen_y++) { in plotPattern()
290 putVirtPixel(pen_x, pen_y); in plotPattern()
/dports/games/scummvm/scummvm-2.5.1/engines/agi/
H A Dpicture.cpp214 int pen_y = y; in plotPattern() local
240 pen_y = pen_y - pen_size; in plotPattern()
241 if (pen_y < 0) pen_y = 0; in plotPattern()
244 if (pen_y >= temp16) in plotPattern()
245 pen_y = temp16; in plotPattern()
247 pen_final_y = pen_y; // used in plotrelated in plotPattern()
275 for (; pen_y < pen_final_y; pen_y++) { in plotPattern()
289 putVirtPixel(pen_x, pen_y); in plotPattern()
/dports/emulators/vice/vice-3.5/src/arch/gtk3/
H A Duimachinewindow.c305 int pen_y = (motion->y - canvas->screen_origin_y) * render_h / canvas->screen_display_h; in event_box_motion_cb() local
307 if (pen_x < 0 || pen_y < 0 || pen_x >= render_w || pen_y >= render_h) { in event_box_motion_cb()
310 canvas->pen_y = -1; in event_box_motion_cb()
314 canvas->pen_y = pen_y; in event_box_motion_cb()
576 canvas->pen_y = -1; in event_box_cross_cb()
H A Dvideoarch.h106 int pen_y; member
/dports/graphics/freetype-gl/freetype-gl-647b062/demos/
H A Dembedded-font.c22 void print_at( int pen_x, int pen_y, char *text ) in print_at() argument
41 int y = pen_y + glyph->offset_y; in print_at()
55 pen_y += glyph->advance_y; in print_at()
/dports/deskutils/xfce4-tumbler/tumbler-4.16.0/plugins/font-thumbnailer/
H A Dfont-thumbnailer.c145 gint *pen_y) in render_glyph() argument
170 off_y = *pen_y - slot->bitmap_top; in render_glyph()
383 gint pen_y; in generate_pixbuf() local
407 pen_y = height; in generate_pixbuf()
410 *error = render_glyph (pixbuf, face, glyph1, &pen_x, &pen_y); in generate_pixbuf()
415 *error = render_glyph (pixbuf, face, glyph2, &pen_x, &pen_y); in generate_pixbuf()
/dports/math/vtk6/VTK-6.2.0/Rendering/FreeType/
H A DvtkFreeTypeUtilities.cxx979 int pen_y = y + bitmap_glyph->top - 1; in GetBoundingBox() local
988 pen_y += kerning_delta.y >> 6; in GetBoundingBox()
999 if (pen_y > bbox[3]) in GetBoundingBox()
1001 bbox[3] = pen_y; in GetBoundingBox()
1006 pen_y -= bitmap->rows; in GetBoundingBox()
1012 if (pen_y < bbox[2]) in GetBoundingBox()
1014 bbox[2] = pen_y; in GetBoundingBox()
1216 int pen_y = y + bitmap_glyph->top - 1; in PopulateImageData() local
1224 pen_y += kerning_delta.y >> 6; in PopulateImageData()
1231 static_cast<unsigned char *>(data->GetScalarPointer(pen_x, pen_y, 0)); in PopulateImageData()
/dports/graphics/imlib2/imlib2-1.7.0/src/lib/
H A Dfont_draw.c282 int pen_x, pen_y; in __imlib_font_draw() local
334 pen_y = y << 8; in __imlib_font_draw()
362 chr_y = (pen_y + (fg->glyph_out->top << 8)) >> 8; in __imlib_font_draw()
/dports/games/foobillard/foobillard-3.0a/src/
H A Dfont.c107 int pen_x, pen_y, n,i,w,h, error, w1,h1; in getStringPixmapFT() local
149 pen_y = 0; in getStringPixmapFT()
197pen_y + font_height*face->ascender/(face->ascender-face->descender) - face->glyph->bitmap_top, in getStringPixmapFT()
530 int pen_x, pen_y, n,i,w,h, error, w1,h1; in getStringGLListFT() local
/dports/graphics/libwmf/libwmf-0.2.12/src/extra/gd/
H A DReadme.wmf15 gdft_draw_bitmap(gdImage *im, int fg, FT_Bitmap bitmap, int pen_x, int pen_y) {
/dports/graphics/libwmf-nox11/libwmf-0.2.12/src/extra/gd/
H A DReadme.wmf15 gdft_draw_bitmap(gdImage *im, int fg, FT_Bitmap bitmap, int pen_x, int pen_y) {
/dports/astro/xplanet/xplanet-1.3.1/src/libdisplay/
H A DTextRendererFT2.cpp177 int pen_y = 0; in SetText() local
204 pos[numGlyphs_].y = pen_y; in SetText()
/dports/databases/sqlitebrowser/sqlitebrowser-3.12.1/libs/qscintilla/Qt4Qt5/
H A DPlatQt.cpp227 int pen_x, pen_y; member in Scintilla::SurfaceImpl
237 pen_y(0) in SurfaceImpl()
317 pen_y = y_; in MoveTo()
324 painter->drawLine(pen_x, pen_y, x_, y_); in LineTo()
327 pen_y = y_; in LineTo()
/dports/devel/qscintilla2-qt5/QScintilla_src-2.13.0/src/
H A DPlatQt.cpp216 int pen_x, pen_y; member in Scintilla::SurfaceImpl
226 pen_y(0) in SurfaceImpl()
301 pen_y = y_; in MoveTo()
308 painter->drawLine(pen_x, pen_y, x_, y_); in LineTo()
311 pen_y = y_; in LineTo()
/dports/devel/qscintilla2-designerplugin-qt5/QScintilla_src-2.13.0/src/
H A DPlatQt.cpp216 int pen_x, pen_y; member in Scintilla::SurfaceImpl
226 pen_y(0) in SurfaceImpl()
301 pen_y = y_; in MoveTo()
308 painter->drawLine(pen_x, pen_y, x_, y_); in LineTo()
311 pen_y = y_; in LineTo()
/dports/devel/py-qt5-qscintilla2/QScintilla_src-2.13.0/src/
H A DPlatQt.cpp216 int pen_x, pen_y; member in Scintilla::SurfaceImpl
226 pen_y(0) in SurfaceImpl()
301 pen_y = y_; in MoveTo()
308 painter->drawLine(pen_x, pen_y, x_, y_); in LineTo()
311 pen_y = y_; in LineTo()
/dports/russian/gd/libgd-2.3.1/src/
H A Dgdft.c728 FT_Bitmap bitmap, int pen_x, int pen_y) in gdft_draw_bitmap() argument
746 y = pen_y + row; in gdft_draw_bitmap()
819 y = pen_y + row; in gdft_draw_bitmap()
1560 FT_Pos pen_y = penf.y - info[i].y_offset; in gdImageStringFTEx() local
1562 (int)(x + (pen_x * cos_a + pen_y * sin_a)*hdpi/(METRIC_RES*64) + bm->left), in gdImageStringFTEx()
1563 (int)(y - (pen_x * sin_a - pen_y * cos_a)*vdpi/(METRIC_RES*64) - bm->top)); in gdImageStringFTEx()
/dports/ukrainian/gd/libgd-2.3.1/src/
H A Dgdft.c728 FT_Bitmap bitmap, int pen_x, int pen_y) in gdft_draw_bitmap() argument
746 y = pen_y + row; in gdft_draw_bitmap()
819 y = pen_y + row; in gdft_draw_bitmap()
1560 FT_Pos pen_y = penf.y - info[i].y_offset; in gdImageStringFTEx() local
1562 (int)(x + (pen_x * cos_a + pen_y * sin_a)*hdpi/(METRIC_RES*64) + bm->left), in gdImageStringFTEx()
1563 (int)(y - (pen_x * sin_a - pen_y * cos_a)*vdpi/(METRIC_RES*64) - bm->top)); in gdImageStringFTEx()

123