Search found 9 matches

by damn
Sun Aug 06, 2023 10:02 pm
Forum: Coding Questions
Topic: How to determine cross-platform OS architecture?
Replies: 5
Views: 866

Re: How to determine cross-platform OS architecture?

Sorry for my English =(.

For example:


Procedure.a is64()
Protected Info.SYSTEM_INFO

GetNativeSystemInfo(Info)

If info\wProcessorArchitecture
ProcedureReturn #True
EndIf

ProcedureReturn #False
EndProcedure


This code work fine for Windows OS, but I need some code like this for other ...
by damn
Sun Aug 06, 2023 4:55 pm
Forum: Coding Questions
Topic: How to determine cross-platform OS architecture?
Replies: 5
Views: 866

Re: How to determine cross-platform OS architecture?

I know how separate code for each platform with compiler conditions. But I need a methods for linux and mac. This is problem for me.
by damn
Sun Aug 06, 2023 11:32 am
Forum: Coding Questions
Topic: How to determine cross-platform OS architecture?
Replies: 5
Views: 866

How to determine cross-platform OS architecture?

I know how to do it on Windows OS, but not on Linux and MacOS.
by damn
Fri Mar 10, 2023 1:12 pm
Forum: Coding Questions
Topic: Intel RealSense help
Replies: 4
Views: 974

Re: Intel RealSense help

I'd never writing wrappers for C-libs. Where I can read about it (some tutorials will be ok)?
by damn
Fri Mar 10, 2023 9:49 am
Forum: Coding Questions
Topic: Intel RealSense help
Replies: 4
Views: 974

Re: Intel RealSense help

Do you make this thing?
by damn
Wed May 25, 2022 5:01 pm
Forum: Coding Questions
Topic: Transparent linear gradient for image?
Replies: 3
Views: 683

Re: Transparent linear gradient for image?

Great! Some little revision and it is what it need. Thx!
by damn
Wed May 25, 2022 10:36 am
Forum: Coding Questions
Topic: Transparent linear gradient for image?
Replies: 3
Views: 683

Transparent linear gradient for image?

Hi all!

I have a some problem.

I need to set transparent linear gradient on image, from solid to transparent. This is possible? And if it, how I can do this?
by damn
Wed Mar 07, 2018 12:17 pm
Forum: Coding Questions
Topic: DrawVectorText(), DrawVectorParagraph() is different result
Replies: 11
Views: 2697

Re: DrawVectorText(), DrawVectorParagraph() is different res

Simple code for tests


EnableExplicit

Enumeration
#window
#canvas
#font
EndEnumeration

Define string.s = "The quick brown fox jumped over the lazy doc"

If OpenWindow(#window, 0, 0, 320, 240, "Test window", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)

CanvasGadget(#canvas, 0, 0, 320 ...
by damn
Wed Mar 07, 2018 11:25 am
Forum: Coding Questions
Topic: DrawVectorText(), DrawVectorParagraph() is different result
Replies: 11
Views: 2697

DrawVectorText(), DrawVectorParagraph() is different result

Hi all.

I'm having a trouble on use DrawVectorText() and DrawVectorParagraph() for drawing some text on CanvasGadget. On attached screenshot you can see different quality at result ("Push the button..." and following text paragraph). If use DrawVectorParagraph() - quality is fine, but if use ...