Questions tagged [quickdraw]

QuickDraw is the 2D graphics library and associated Application Programming Interface (API) which is a core part of the classic Apple Macintosh operating system.

QuickDraw is the 2D graphics library and associated Application Programming Interface (API) which is a core part of the classic Apple Macintosh operating system.

It was initially written by Bill Atkinson and Andy Hertzfeld. QuickDraw still exists as part of the libraries of Mac OS X, but has been largely superseded by the more modern Quartz graphics system. In Mac OS X v10.4, QuickDraw has been officially deprecated. In Mac OS X v10.5 applications using QuickDraw cannot make use of the added 64-bit support.

27 questions
4
votes
1 answer

python3 recursion animation in QuickDraw

I have a text file which has the planets and their corresponding moons/satellites along with their orbital radius and period and I would like to use this to create an animation in quickdraw similar to the one below: The text file is as…
Romulus
  • 138
  • 2
  • 12
3
votes
4 answers

Is there a non-deprecated raster graphics framework for Mac OS X?

I am looking for a raster graphics framework for Mac OS X. Specifically, I want some kind of view that I can manipulate (at least conceptually) like a matrix of pixels. My program will generate the pixel data programmatically. QuickDraw fits that…
sarnesjo
  • 6,054
  • 2
  • 20
  • 17
2
votes
1 answer

conversion from quickdraw to quartz 2D

I have an old code that uses, Rect r; GetPortBounds(some_bitmap,&r); PixMapHandle somehandle = GetGWorldPixMap(some_bitmap); if(LockPixels(somehandle)){ TPixel *data = (TPixel *) GetPixBaseAddr(somehandle); long row_bytes =…
Peter
  • 2,719
  • 4
  • 25
  • 55
2
votes
2 answers

Firefox 3.6 plugins fail on Mac?

I just upgraded my mac to Firefox 3.6, and now neither of my TIFF Viewing plugins work. in 3.5, If I had Quicktime on, then I'd get the tiff, viewed through quicktime. If I had Quicktime disabled, but my own plugin, AcellViewTIFF enabled, then I…
Brian Postow
  • 11,709
  • 17
  • 81
  • 125
2
votes
2 answers

Plotting a histogram using python and quickdraw

I need help writing a program that reads about 300 lines from a text file and takes the grades from a specific assignment (column A1) and then uses the grades from that assignment to plot a histogram in quickdraw. ID , Last, First, Lecture,…
tom smith
  • 71
  • 3
  • 11
1
vote
1 answer

How to arrange objects in rows and columns and export in .svg

I'm new to Python, and I am trying to access Google's QuickDraw Database and arrange an amount of images (vector lines) as per the user's input of columns and rows, then export in .svg file format. So far, I have only managed to save each image as…
1
vote
0 answers

Training quickdraw model using CudnnLSTM leads to CUDNN_STATUS_EXECUTION_FAILED

System setup: Ubuntu 16.04, Tesla V100 on AWS p3-2xlarge, Nvidia driver 396.54, Cuda 9.0.176_384.81, CuDNN 9.0 Tensorflow GPU 1.9.0, Python 3.6 using pyenv I was curious about the Google Quickdraw game and was doing some research on how they…
William
  • 11
  • 2
1
vote
2 answers

Tensorflow throw "model_dir should be non-empty"

I am going over tensorflow tutrial for RNN of drawings: https://www.tensorflow.org/versions/master/tutorials/recurrent_quickdraw But I stuck to executing the command: train_model.py \ …
1
vote
1 answer

Quickdraw on life support

I'm maintaining a piece of legacy software, written in C++, that uses QuickDraw when compiled on the Mac. I know Apple is doing their best to kill this thing. In a few months I hope to have time to give my program more modern underpinnings, probably…
Joymaker
  • 813
  • 1
  • 9
  • 23
1
vote
0 answers

python3 recursion animation

I need to animate a similar animation in quickdraw and I'm told to use recursion. I'm having a hard time with the orbits and this is the code I have for orbiting circle but I have no idea how to use recursion to create the above image. import…
Romulus
  • 138
  • 2
  • 12
0
votes
0 answers

TypeError: can't convert np.ndarray of type numpy.object_

So I am trying to write a RNN for the dataset from Quickdraw. My problem is, that the data, which is in ndjson, has multiple lists inside of it. So one row would look like this: {"word":"The Eiffel Tower","countrycode":"GB","timestamp":"2017-03-11…
SanSiro8
  • 1
  • 2
0
votes
1 answer

GetPictInfo replacement Api in quartz 2D

how to get pict info without using deprecated call to GetPictInfo ? Also, is there anyway to get pixmaphandle without using deprecated Api, i could not find any .
Peter
  • 2,719
  • 4
  • 25
  • 55
0
votes
0 answers

Quick, Draw dataset_ How to count the lines of the drawing

I am new in this field and I apologize from the start if there will be any mistakes, I hope I will be able to expose the problem. I want to use Quick's, draw! dataset for a project on Tableau. Each file contains elements: key_id, word, recognized,…
0
votes
0 answers

Currently trying to follow the steps to examine the quickdraw dataset, however, the "qd_read()" function keeps throwing an error. (R)

I am using the steps to install the packages as in https://github.com/huizezhang-sherry/quickdraw/ which has worked fine so far. However, as I try to use the qd_read() I keep getting an error octopus <- qd_read("octopus") Error in gsutil_binary()…
Angie
  • 183
  • 3
  • 13
0
votes
0 answers

Trying to install the quickdraw package in R

Currently I am trying to use the quickdraw package in R. So far I tried install.packages("quickdraw") but got a warning saying Warning in install.packages : package ‘quickdraw’ is not available (for R version 3.6.1). Anyone know what version of R…
Angie
  • 183
  • 3
  • 13
1
2