class WEL_DESKTOP_DC General cluster: wel.gdi description: "Desktop device context." create: make Ancestors WEL_DISPLAY_DC Queries background_color: WEL_COLOR_REF bitmap: WEL_BITMAP bitmap_selected: BOOLEAN brush: WEL_BRUSH brush_selected: BOOLEAN device_caps (capability: INTEGER): INTEGER di_bits (a_bitmap: WEL_BITMAP; start_scan, scan_lines: INTEGER; bitmap_info: WEL_BITMAP_INFO; usage: INTEGER): ARRAY [CHARACTER] draw_text_with_result (string: STRING; rect: WEL_RECT; format: INTEGER): INTEGER exists: BOOLEAN font: WEL_FONT font_selected: BOOLEAN height: INTEGER is_opaque: BOOLEAN is_transparent: BOOLEAN item: POINTER map_mode: INTEGER Mask_blt_supported: BOOLEAN object_id: INTEGER palette: WEL_PALETTE palette_selected: BOOLEAN pen: WEL_PEN pen_selected: BOOLEAN pixel_color (x, y: INTEGER): WEL_COLOR_REF polygon_fill_mode: INTEGER position: WEL_POINT reference_tracked: BOOLEAN references_count: INTEGER region: WEL_REGION region_selected: BOOLEAN rop2: INTEGER shared: BOOLEAN stretch_blt_mode: INTEGER string_height (s: STRING): INTEGER string_size (s: STRING): WEL_SIZE string_width (s: STRING): INTEGER tabbed_text_height (text: STRING): INTEGER tabbed_text_size (text: STRING): WEL_SIZE tabbed_text_size_with_tabulation (text: STRING; tabulations: ARRAY [INTEGER]): WEL_SIZE tabbed_text_width (text: STRING): INTEGER text_alignment: INTEGER text_color: WEL_COLOR_REF text_face: STRING to_integer: INTEGER valid_dib_colors_constant (c: INTEGER): BOOLEAN valid_extent_map_mode (mode: INTEGER): BOOLEAN valid_htext_alignment_constant (c: INTEGER): BOOLEAN valid_map_mode_constant (c: INTEGER): BOOLEAN valid_polygon_fill_mode_constant (c: INTEGER): BOOLEAN valid_rop2_constant (c: INTEGER): BOOLEAN valid_stretch_mode_constant (c: INTEGER): BOOLEAN valid_text_alignment_constant (c: INTEGER): BOOLEAN valid_vtext_alignment_constant (c: INTEGER): BOOLEAN viewport_extent: WEL_SIZE viewport_origin: WEL_POINT width: INTEGER window_extent: WEL_SIZE window_origin: WEL_POINT Commands arc (left, top, right, bottom, x_start_arc, y_start_arc, x_end_arc, y_end_arc: INTEGER) bit_blt (x_destination, y_destination, a_width, a_height: INTEGER; dc_source: WEL_DC; x_source, y_source, raster_operation: INTEGER) chord (left, top, right, bottom, x_start_line, y_start_line, x_end_line, y_end_line: INTEGER) copy_dc (dc_source: WEL_DC; rect: WEL_RECT) decrement_reference delete dispose draw_bitmap (a_bitmap: WEL_BITMAP; x, y, a_width, a_height: INTEGER) draw_centered_text (string: STRING; rect: WEL_RECT) draw_cursor (cursor: WEL_CURSOR; x, y: INTEGER) draw_disabled_text (string: STRING; rect: WEL_RECT; format: INTEGER) draw_edge (a_rect: WEL_RECT; edge_type, edge_border: INTEGER) draw_frame_control (a_rect: WEL_RECT; control_type, control_state: INTEGER) draw_icon (icon: WEL_ICON; x, y: INTEGER) draw_icon_ex (icon: WEL_ICON; x, y, icon_width, icon_height, frame_index: INTEGER; flicker_free_background: WEL_BRUSH; di_flags: INTEGER) draw_state_bitmap (a_brush: WEL_BRUSH; a_bitmap: WEL_BITMAP; x, y, format: INTEGER) draw_state_icon (a_brush: WEL_BRUSH; an_icon: WEL_GRAPHICAL_RESOURCE; x, y, format: INTEGER) draw_state_text (a_brush: WEL_BRUSH; string: STRING; x, y, format: INTEGER) draw_text (string: STRING; rect: WEL_RECT; format: INTEGER) ellipse (left, top, right, bottom: INTEGER) enable_reference_tracking fill_rect (a_rect: WEL_RECT; a_brush: WEL_BRUSH) fill_region (a_region: WEL_REGION; a_brush: WEL_BRUSH) flood_fill_border (x, y: INTEGER; color: WEL_COLOR_REF) flood_fill_surface (x, y: INTEGER; color: WEL_COLOR_REF) get increment_reference invert_rect (a_rect: WEL_RECT) invert_region (a_region: WEL_REGION) line (x1, y1, x2, y2: INTEGER) line_to (x, y: INTEGER) mask_blt (x_destination, y_destination, a_width, a_height: INTEGER; dc_source: WEL_DC; x_source, y_source: INTEGER; mask_bitmap: WEL_BITMAP; x_mask, y_mask, raster_operation: INTEGER) move_to (x, y: INTEGER) pat_blt (x_destination, y_destination, a_width, a_height, raster_operation: INTEGER) pie (left, top, right, bottom, x_start_point, y_start_point, x_end_point, y_end_point: INTEGER) poly_bezier (points: ARRAY [INTEGER]) poly_bezier_to (points: ARRAY [INTEGER]) polygon (points: ARRAY [INTEGER]) polyline (points: ARRAY [INTEGER]) quick_release realize_palette rectangle (left, top, right, bottom: INTEGER) release remove_clip_region round_rect (left, top, right, bottom, ellipse_width, ellipse_height: INTEGER) save_bitmap (a_bitmap: WEL_BITMAP; file: FILE_NAME) select_bitmap (a_bitmap: WEL_BITMAP) select_brush (a_brush: WEL_BRUSH) select_clip_region (a_region: WEL_REGION) select_font (a_font: WEL_FONT) select_palette (a_palette: WEL_PALETTE) select_pen (a_pen: WEL_PEN) select_region (a_region: WEL_REGION) set_background_color (color: WEL_COLOR_REF) set_background_opaque set_background_transparent set_hv_text_alignment (h, v: INTEGER) set_item (an_item: POINTER) set_map_mode (mode: INTEGER) set_pixel (x, y: INTEGER; color: WEL_COLOR_REF) set_polygon_fill_mode (mode: INTEGER) set_rop2 (a_rop2: INTEGER) set_shared set_stretch_blt_mode (a_mode: INTEGER) set_text_alignment (an_alignment: INTEGER) set_text_color (color: WEL_COLOR_REF) set_unshared set_viewport_extent (x_extent, y_extent: INTEGER) set_viewport_origin (x_origin, y_origin: INTEGER) set_window_extent (x_extent, y_extent: INTEGER) set_window_origin (x_origin, y_origin: INTEGER) stretch_blt (x_destination, y_destination, width_destination, height_destination: INTEGER; dc_source: WEL_DC; x_source, y_source, width_source, height_source, raster_operation: INTEGER) stretch_di_bits (x_destination, y_destination, a_width, a_height, x_source, y_source, dib_width, dib_height: INTEGER; dib: WEL_DIB; bitmap_info: WEL_BITMAP_INFO; rgb_mode, raster_operation: INTEGER) tabbed_text_out (x, y: INTEGER; string: STRING; tabulations: ARRAY [INTEGER]; tabulations_origin: INTEGER) text_out (x, y: INTEGER; string: STRING) unselect_all unselect_bitmap unselect_brush unselect_font unselect_palette unselect_pen unselect_region