forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 22 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: "Wrapper" for an Edit Box (%eb)
Smib

Replies: 2
Views: 2755

PostForum: ClearWin+   Posted: Mon Dec 14, 2020 3:01 am   Subject: Re: "Wrapper" for an Edit Box (%eb)
Bill,
Have you tried %re with the no_hscroll option?
Brian
  Topic: Procedure to display images
Smib

Replies: 21
Views: 19167

PostForum: General   Posted: Thu Oct 10, 2019 11:00 pm   Subject:
Think you need curly brackets. Try

i=IMPORT_IMAGE@('{file.jpg}',0,0)
  Topic: Procedure to display images
Smib

Replies: 21
Views: 19167

PostForum: General   Posted: Sat Oct 05, 2019 7:40 am   Subject:
Eric,

This is some F77 style code I used several years ago to add a logo defined in a resource file to a plot. I found it necessary to plot the image (in my case a bmp) offscreen and then copy it t ...
  Topic: Is this my computer fault?
Smib

Replies: 6
Views: 5821

PostForum: Support   Posted: Tue May 19, 2015 6:07 am   Subject:
ok for me too! - Win 8.1/intel i5 - 4570

Brian
  Topic: %lv edit_cells
Smib

Replies: 64
Views: 69936

PostForum: ClearWin+   Posted: Mon Sep 02, 2013 2:40 am   Subject:
This is what I do:



.
.
.
.
c initial array set up
info(1)='|Depth (m)|Variable A (MPa)|Variable B (kPa)'
view=1 ...
  Topic: How to resize bitmaps
Smib

Replies: 14
Views: 13453

PostForum: ClearWin+   Posted: Sun Jul 07, 2013 2:45 am   Subject:
Johannes

I added

call export_image@('test.jpg')

to the end of my code and it produced a jpg file equal in size to my screen image

Brian
  Topic: How to resize bitmaps
Smib

Replies: 14
Views: 13453

PostForum: ClearWin+   Posted: Sat Jul 06, 2013 2:02 pm   Subject:
Johannes

attached is the bit of code that does the scaling. I wrote it over 10 years ago in fortran77 as a means of learning how I could plot data on windows plotters and it probably is not the mos ...
  Topic: How to resize bitmaps
Smib

Replies: 14
Views: 13453

PostForum: ClearWin+   Posted: Sat Jul 06, 2013 9:35 am   Subject:
Johannes,

I had a printer that did not scale images contained in a gr surface (printer driver bug). To overcome this I painted the image to an off screen surface using:

call select_gra ...
  Topic: Hello ClearWin+
Smib

Replies: 47
Views: 43069

PostForum: ClearWin+   Posted: Mon Jan 17, 2011 12:28 pm   Subject:
One way is o use a button to call a print function


i=winio@('%^bt[ Hard copy output ]&','PRINTER_OPEN',7,Print_func


integer function print_func() ...
  Topic: Graphics Region to Printer
Smib

Replies: 10
Views: 11976

PostForum: ClearWin+   Posted: Sat Dec 11, 2010 5:51 am   Subject:
Bill,

I think that the problem maybe the printer driver not being able to scale the graphic. I had a similar problem once that I overcame by copying (and scaling) the graphics image to an offscreen ...
  Topic: Using _dib_block@
Smib

Replies: 4
Views: 8859

PostForum: ClearWin+   Posted: Thu Jan 07, 2010 11:30 pm   Subject:
John, Eddie

Playing around last night came up with another way of resizing. Full code would need to copy from an off screen plotting surface rather than back to same surface as indicated below:

...
  Topic: Using _dib_block@
Smib

Replies: 4
Views: 8859

PostForum: ClearWin+   Posted: Thu Jan 07, 2010 11:29 pm   Subject:
John, Eddie

Playing around last night came up with another way of resizing. Full code would need to copy from an off screen plotting surface rather than back to same surface as indicated below:

...
  Topic: Using _dib_block@
Smib

Replies: 4
Views: 8859

PostForum: ClearWin+   Posted: Thu Jan 07, 2010 2:56 am   Subject:
John

I finally dug out a piece of code that I created when I was trying to resize a photograph. I used a simpe pixel averaging approach (in one direction only) that was adequate for my needs. It ma ...
  Topic: Using DRAW_FILLED_POLYGON@ to plot a mesh
Smib

Replies: 17
Views: 22491

PostForum: ClearWin+   Posted: Tue Jan 05, 2010 6:39 am   Subject:
oops

ignore '[quote]'
  Topic: Using DRAW_FILLED_POLYGON@ to plot a mesh
Smib

Replies: 17
Views: 22491

PostForum: ClearWin+   Posted: Tue Jan 05, 2010 6:38 am   Subject:
John,

you can use this to clip

integer*4 ixtop,ixbot,iytop,iybot

ijhndl=clearwin_info@('GRAPHICS_HDC')
ihdr=CreateRectRgn(ixtop,iytop,ixbot,iybot) ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group